| 9 |
#include <TObjArray.h> |
#include <TObjArray.h> |
| 10 |
#include <TClonesArray.h> |
#include <TClonesArray.h> |
| 11 |
#include <TRefArray.h> |
#include <TRefArray.h> |
| 12 |
|
#include <TRef.h> |
| 13 |
|
|
| 14 |
#include <TrkStruct.h> |
#include <TrkStruct.h> |
| 15 |
|
#include <TrkLevel1.h> |
| 16 |
|
|
| 17 |
// z-coordinate of track state-vector reference-plane |
// z-coordinate of track state-vector reference-plane |
| 18 |
#define ZINI 23.5 |
#define ZINI 23.5 |
| 78 |
int seqno; ///<stored track sequential number |
int seqno; ///<stored track sequential number |
| 79 |
int image; ///<sequential number of track-image |
int image; ///<sequential number of track-image |
| 80 |
|
|
| 81 |
|
|
| 82 |
public: |
public: |
| 83 |
|
|
| 84 |
|
// TRef clx[6]; |
| 85 |
|
// TRef cly[6]; |
| 86 |
|
TRefArray *clx; |
| 87 |
|
TRefArray *cly; |
| 88 |
|
|
| 89 |
float al[5]; ///<TRACK STATE VECTOR |
float al[5]; ///<TRACK STATE VECTOR |
| 90 |
float coval[5][5]; ///<covariance matrix |
float coval[5][5]; ///<covariance matrix |
| 123 |
Float_t GetDeflection(); |
Float_t GetDeflection(); |
| 124 |
Float_t GetDEDX(); |
Float_t GetDEDX(); |
| 125 |
|
|
| 126 |
|
TrkCluster *GetClusterX(int ip){TrkCluster *pt = (TrkCluster*)(clx->At(ip)); return pt;}; |
| 127 |
|
TrkCluster *GetClusterY(int ip){TrkCluster *pt = (TrkCluster*)(cly->At(ip)); return pt;}; |
| 128 |
|
|
| 129 |
TrkTrack* GetTrkTrack(){return this;}; |
TrkTrack* GetTrkTrack(){return this;}; |
| 130 |
|
|
| 131 |
friend class TrkLevel2; |
friend class TrkLevel2; |
| 141 |
class TrkSinglet : public TObject { |
class TrkSinglet : public TObject { |
| 142 |
|
|
| 143 |
private: |
private: |
| 144 |
|
|
| 145 |
|
|
| 146 |
public: |
public: |
| 147 |
|
|
| 148 |
|
TRef cls; |
| 149 |
|
|
| 150 |
int plane; ///<plane |
int plane; ///<plane |
| 151 |
float coord[2]; ///<coordinate (on sensor 1 and 2) |
float coord[2]; ///<coordinate (on sensor 1 and 2) |
| 155 |
TrkSinglet(const TrkSinglet&); |
TrkSinglet(const TrkSinglet&); |
| 156 |
|
|
| 157 |
void Dump(); |
void Dump(); |
| 158 |
|
|
| 159 |
|
TrkCluster *GetCluster(){TrkCluster *pt = (TrkCluster*)cls.GetObject(); return pt;}; |
| 160 |
|
|
| 161 |
friend class TrkLevel2; |
friend class TrkLevel2; |
| 162 |
|
|
| 199 |
|
|
| 200 |
void Dump(); |
void Dump(); |
| 201 |
void SetFromLevel2Struct(cTrkLevel2 *); |
void SetFromLevel2Struct(cTrkLevel2 *); |
| 202 |
void GetLevel2Struct(cTrkLevel2 *) const; |
void SetFromLevel2Struct(cTrkLevel2 *, TrkLevel1 *); |
| 203 |
|
void GetLevel2Struct(cTrkLevel2 *) const; |
| 204 |
void Clear(); |
void Clear(); |
| 205 |
void LoadField(TString); |
void LoadField(TString); |
| 206 |
Float_t GetZTrk(Int_t); |
Float_t GetZTrk(Int_t); |
| 232 |
|
|
| 233 |
}; |
}; |
| 234 |
|
|
|
|
|
|
|
|
| 235 |
#endif |
#endif |