14 |
// z-coordinate of track state-vector reference-plane |
// z-coordinate of track state-vector reference-plane |
15 |
#define ZINI 23.5 |
#define ZINI 23.5 |
16 |
// upper and lower (mechanical) z-coordinate of the tracker |
// upper and lower (mechanical) z-coordinate of the tracker |
17 |
#define ZTRKUP 22.29 |
//#define ZTRKUP 22.29 |
18 |
#define ZTRKDW -22.22 |
//#define ZTRKDW -22.22 |
19 |
|
// (mechanical) z-coordinate of the tracker planes |
20 |
|
#define ZTRK6 -22.23 |
21 |
|
#define ZTRK5 -13.32 |
22 |
|
#define ZTRK4 -4.42 |
23 |
|
#define ZTRK3 4.48 |
24 |
|
#define ZTRK2 13.38 |
25 |
|
#define ZTRK1 22.28 |
26 |
|
// (mechanical) x/y-coordinates of magnet cavity |
27 |
|
#define XTRKL -8.1 |
28 |
|
#define XTRKR 8.1 |
29 |
|
#define YTRKL -6.6 |
30 |
|
#define YTRKR 6.6 |
31 |
|
|
32 |
/** |
/** |
33 |
* \brief Class to describe, by points, a particle trajectory in the apparatus. |
* \brief Class to describe, by points, a particle trajectory in the apparatus. |
162 |
class TrkLevel2 : public TObject { |
class TrkLevel2 : public TObject { |
163 |
|
|
164 |
private: |
private: |
165 |
|
|
166 |
|
// TRefArray *PhysicalTrack; ///< physical tracks (no image) - |
167 |
|
|
168 |
public: |
public: |
169 |
|
|
|
|
|
|
|
|
170 |
Int_t good2; |
Int_t good2; |
171 |
Int_t crc[12]; |
Int_t crc[12]; |
172 |
|
|
177 |
TrkLevel2(); |
TrkLevel2(); |
178 |
// TrkLevel2(cTrkLevel2 *); |
// TrkLevel2(cTrkLevel2 *); |
179 |
|
|
180 |
int ntrk() {return Track->GetEntries();} ///< number of stored track |
int ntrk() {return Track->GetEntries();} ///< number of stored track |
181 |
int nclsx(){return SingletX->GetEntries();} ///< number of x singlets |
int nclsx(){return SingletX->GetEntries();} ///< number of x singlets |
182 |
int nclsy(){return SingletY->GetEntries();} ///< number of y singlets |
int nclsy(){return SingletY->GetEntries();} ///< number of y singlets |
183 |
|
|
185 |
void FillCommonVar(cTrkLevel2 *); |
void FillCommonVar(cTrkLevel2 *); |
186 |
void Clear(); |
void Clear(); |
187 |
void LoadField(TString); |
void LoadField(TString); |
188 |
|
Float_t GetZTrk(Int_t); |
189 |
TrkTrack *GetStoredTrack(int i); |
Float_t GetXTrkLeft(){return XTRKL;}; |
190 |
|
Float_t GetXTrkRight(){return XTRKR;}; |
191 |
|
Float_t GetYTrkLeft(){return YTRKL;}; |
192 |
|
Float_t GetYTrkRight(){return YTRKR;}; |
193 |
|
|
194 |
|
TrkSinglet *GetSingletX(int); |
195 |
|
TrkSinglet *GetSingletY(int); |
196 |
|
|
197 |
|
TrkTrack *GetStoredTrack(int i); |
198 |
Int_t GetSeqNo(Int_t i) {return (((TrkTrack *)Track->At(i))->seqno);}; ///< Returns track sequential number |
Int_t GetSeqNo(Int_t i) {return (((TrkTrack *)Track->At(i))->seqno);}; ///< Returns track sequential number |
199 |
TClonesArray *GetTracks_Chi2Sorted(); |
// TClonesArray *GetTracks_Chi2Sorted(); |
200 |
TClonesArray *GetTracks_NFitSorted(); |
TClonesArray *GetTracks_NFitSorted(); |
201 |
TClonesArray *GetTracks(); |
TClonesArray *GetTracks(); |
202 |
|
|
203 |
int GetNTracks(){return this->GetTracks()->GetEntries();} |
// int GetNTracks(){return this->GetTracks()->GetEntries();} |
204 |
TrkTrack* GetTrack(int i); |
Int_t GetNTracks(); |
205 |
|
TrkTrack* GetTrack(int i); |
206 |
TrkTrack* GetTrackImage(int i); |
TrkTrack* GetTrackImage(int i); |
207 |
|
|
208 |
TrkLevel2* GetTrkLevel2(){return this;} |
TrkLevel2* GetTrkLevel2(){return this;} |