FEDRA emulsion software from the OPERA Collaboration
tscan_ds.h
Go to the documentation of this file.
1 #ifndef _TOTALSCAN_DATA_STRUCTURES_
2 #define _TOTALSCAN_DATA_STRUCTURES_
3 
4 #pragma pack(push)
5 #pragma pack(1)
6 
7 #include "id.h"
8 #include "Segment.h"
9 #include "TSTrack.h"
10 #include "TVectors.h"
11 
12 #define TS_LAYER_SECTION 1
13 #define TS_RAW_SECTION 2
14 #define TS_SEGMENT_SECTION 3
15 #define TS_TRACK_SECTION 4
16 #define TS_VERTEX_SECTION 5
17 #define TS_FULL_SECTION 9
18 
19 #define TS_DATA_BYTES 0x20
20 #define TS_HEADER_BYTES 0x40
21 
22 #define TS_HEADER_TYPE 0x200
23 #define TS_OLD_HEADER_TYPE 0x100
24 
25 typedef struct
26 {
30  int Reserved[32];
31  int TopSheet;
38 
39 typedef struct
40 {
41  int SheetId;
42  struct
43  {
44  float TopExt;
45  float TopInt;
46  float BottomInt;
47  float BottomExt;
48  } RelevantZs;
49  float RefDepth;
51  {
52  float DSlope[2];
53  float DShrink[2];
54  } GlobalSideAlign[2];
55 
57  {
58  struct t_PosAlign
59  {
60  double M[2][2];
61  double D[3];
62  double Reserved[4];
63  } PosAlign;
64  struct t_SlopeAlign
65  {
66  double DSlope[2];
67  double DShrink[2];
68  double Reserved[4];
69  } SlopeAlign;
70  } LocalSideAlign[4];
71 
72  int RTCount[2];
73  int SCount[2];
74  int Reserved[4];
75  TS_RawTrack *pRawTracks[2];
76  TS_Segment *pSegments[2];
77  void *pReserved[4];
78  } TS_LayerInfo;
79 
80 typedef struct
81 {
87 
88 #pragma pack(pop)
89 
90 #endif
Definition: id.h:13
Definition: tscan_ds.h:81
TS_LayerInfo * pLayers
Definition: tscan_ds.h:83
TS_Track * pTracks
Definition: tscan_ds.h:84
TS_Vertex * pVertices
Definition: tscan_ds.h:85
TS_TracksHeader Hdr
Definition: tscan_ds.h:82
Definition: AcqPlateChanger.h:31
Definition: tscan_ds.h:51
Definition: tscan_ds.h:57
Definition: tscan_ds.h:40
float BottomExt
Definition: tscan_ds.h:47
float BottomInt
Definition: tscan_ds.h:46
int SheetId
Definition: tscan_ds.h:41
float TopInt
Definition: tscan_ds.h:45
float TopExt
Definition: tscan_ds.h:44
float RefDepth
Definition: tscan_ds.h:49
Definition: Segment.h:10
Definition: Segment.h:23
Definition: TSTrack.h:19
Definition: tscan_ds.h:26
Identifier ID
Definition: tscan_ds.h:28
IO_Header Type
Definition: tscan_ds.h:27
int SheetsCount
Definition: tscan_ds.h:32
TVector Pos
Definition: tscan_ds.h:29
int VerticesCount
Definition: tscan_ds.h:34
TVector RefCenter
Definition: tscan_ds.h:36
int TSTracksCount
Definition: tscan_ds.h:33
int MaxTracksInSegment
Definition: tscan_ds.h:35
int TopSheet
Definition: tscan_ds.h:31
Definition: TVectors.h:8
Definition: TSTrack.h:50