FEDRA emulsion software from the OPERA Collaboration
TSTrack.h
Go to the documentation of this file.
1 #ifndef _SYSAL_TOTALSCAN_TRACKS_
2 #define _SYSAL_TOTALSCAN_TRACKS_
3 
4 #include "TVectors.h"
5 #include "Segment.h"
6 
7 #pragma pack(push)
8 #pragma pack(4)
9 
10 #ifdef USE_MIDL_INCOMPATIBLE_STRUCTS
11 struct t_TS_Vertex;
12 #endif
13 
14 #define TSTRACK_FLAG_NULL 0
15 #define TSTRACK_FLAG_PASSING_THROUGH 1
16 #define TSTRACK_FLAG_RECOVERED_BY_TOPOLOGY 2
17 
18 typedef struct
19 {
20  int Count;
21  TS_Segment *pTopEnd, *pBottomEnd;
22 #ifdef USE_MIDL_INCOMPATIBLE_STRUCTS
23  t_TS_Vertex *pTopVertex, *pBottomVertex;
24 #else
25  void *pTopVertex, *pBottomVertex;
26 #endif
27  unsigned Flags;
30  float Sigma;
31  float FirstZ, LastZ;
32 #ifdef USE_MIDL_INCOMPATIBLE_STRUCTS
33  union
34  {
35  int Reserved[8];
36  struct
37  {
38  struct
39  {
40  float X, Y;
41  } TopIntercept, TopSlope, BottomIntercept, BottomSlope;
42  };
43  };
44 #else
45  int Reserved[8];
46 #endif
47  } TS_Track;
48 
49 typedef struct t_TS_Vertex
50 {
52  float AvgDistance;
53  int Count;
55  {
57  boolean IsDownstream;
58  int Reserved[4];
60  int Reserved[4];
62 
63 #pragma pack(pop)
64 
65 #endif
struct t_TS_Vertex TS_Vertex
Double_t X
Definition: tlg2pattern.C:77
Double_t Y
Definition: tlg2pattern.C:77
Definition: Segment.h:23
Definition: TSTrack.h:19
int Count
Definition: TSTrack.h:20
void * pBottomVertex
Definition: TSTrack.h:25
TVector Slope
Definition: TSTrack.h:29
float FirstZ
Definition: TSTrack.h:31
TVector Intercept
Definition: TSTrack.h:28
TS_Segment * pBottomEnd
Definition: TSTrack.h:21
unsigned Flags
Definition: TSTrack.h:27
float Sigma
Definition: TSTrack.h:30
Definition: TVectors.h:8
Definition: TSTrack.h:55
int Reserved[4]
Definition: TSTrack.h:58
TS_Track * pTSTrack
Definition: TSTrack.h:56
boolean IsDownstream
Definition: TSTrack.h:57
Definition: TSTrack.h:50
int Reserved[4]
Definition: TSTrack.h:60
TVector Pos
Definition: TSTrack.h:51
int Count
Definition: TSTrack.h:53
float AvgDistance
Definition: TSTrack.h:52
struct t_TS_Vertex::t_VertexTSTrack * pTSTracks