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 |
19 |
// (mechanical) z-coordinate of the tracker planes |
// (mechanical) z-coordinate of the tracker planes |
20 |
#define ZTRK6 -22.23 |
#define ZTRK6 -22.22 |
21 |
#define ZTRK5 -13.32 |
#define ZTRK5 -13.31 |
22 |
#define ZTRK4 -4.42 |
#define ZTRK4 -4.41 |
23 |
#define ZTRK3 4.48 |
#define ZTRK3 4.49 |
24 |
#define ZTRK2 13.38 |
#define ZTRK2 13.39 |
25 |
#define ZTRK1 22.28 |
#define ZTRK1 22.29 |
26 |
|
// magnet cavity dimensions |
27 |
|
#define ZMAGNHIGH 21.83 |
28 |
|
#define ZMAGNLOW -21.83 |
29 |
|
#define XMAGNHIGH 8.07 |
30 |
|
#define XMAGNLOW -8.07 |
31 |
|
#define YMAGNHIGH 6.57 |
32 |
|
#define YMAGNLOW -6.57 |
33 |
// (mechanical) x/y-coordinates of magnet cavity |
// (mechanical) x/y-coordinates of magnet cavity |
34 |
#define XTRKL -8.1 |
#define XTRKL -8.1 |
35 |
#define XTRKR 8.1 |
#define XTRKR 8.1 |
144 |
Bool_t IsSaturated(); |
Bool_t IsSaturated(); |
145 |
Bool_t IsBad(int,int); |
Bool_t IsBad(int,int); |
146 |
Float_t GetDEDX(); |
Float_t GetDEDX(); |
147 |
Float_t GetDEDX(int); |
Float_t GetDEDX(int ip); |
148 |
Float_t GetDEDX(int,int); |
Float_t GetDEDX(int ip,int iv); |
149 |
Int_t GetLeverArmX(); |
Int_t GetLeverArmX(); |
150 |
Int_t GetLeverArmY(); |
Int_t GetLeverArmY(); |
151 |
|
|
161 |
void SetTrackingMode(int trackmode); |
void SetTrackingMode(int trackmode); |
162 |
void SetPrecisionFactor(double fact); |
void SetPrecisionFactor(double fact); |
163 |
void SetStepMin(int istepmin); |
void SetStepMin(int istepmin); |
164 |
|
Bool_t IsInsideCavity(); |
165 |
|
|
166 |
void EvaluateClusterPositions(); |
Bool_t EvaluateClusterPositions(); |
167 |
|
|
168 |
void FillMiniStruct(cMini2track&); |
void FillMiniStruct(cMini2track&); |
169 |
void SetFromMiniStruct(cMini2track*); |
void SetFromMiniStruct(cMini2track*); |
235 |
* Each track may have an "image", due to the ambiguity on the Y view, which is stored also. |
* Each track may have an "image", due to the ambiguity on the Y view, which is stored also. |
236 |
* Thus, the number of stored tracks ( ntrk() ) differs from the number of "physical" tracks ( GetNTracks() ). |
* Thus, the number of stored tracks ( ntrk() ) differs from the number of "physical" tracks ( GetNTracks() ). |
237 |
* Proper methods allow to sort tracks and select the physical ones ( GetTracks() ). |
* Proper methods allow to sort tracks and select the physical ones ( GetTracks() ). |
238 |
|
* |
239 |
|
* The event status indicates the processing status of data from each DSP, according to the following |
240 |
|
* notation: |
241 |
|
* |
242 |
|
* xxxx xxxx xxxx xxxx xxxx xxxx |
243 |
|
* |||| |||| |||| |||| |||| ||||_ 0 missing packet |
244 |
|
* |||| |||| |||| |||| |||| |||__ 1 CRC error |
245 |
|
* |||| |||| |||| |||| |||| ||___ 2 on-line software alarm (latch-up, timeout ecc...) |
246 |
|
* |||| |||| |||| |||| |||| |____ 3 jump in the trigger counter |
247 |
|
* |||| |||| |||| |||| ||||______ 4 decode error |
248 |
|
* |||| |||| |||| |||| |||_______ 5 n.clusters > maximum number (level1 processing) |
249 |
|
* |||| |||| |||| |||| ||________ 6 |
250 |
|
* |||| |||| |||| |||| |_________ 7 |
251 |
|
* |||| |||| |||| ||||___________ 8 n.clusters > maximum value (level2 processing) |
252 |
|
* |||| |||| |||| |||____________ 9 n.couples per plane > maximum values (vector dimention) |
253 |
|
* |||| |||| |||| ||_____________ 10 n.doublets > maximum values |
254 |
|
* |||| |||| |||| |______________ 11 n.triplets > maximum values |
255 |
|
* |||| |||| ||||________________ 12 n.yz-clouds > maximum values |
256 |
|
* |||| |||| |||_________________ 13 n.xz-clouds > maximum values |
257 |
|
* |||| |||| ||__________________ 14 n.candidate-tracks > maximum values |
258 |
|
* |||| |||| |___________________ 15 n.couples per plane > maximum values (for Hough transform) |
259 |
|
* |||| ||||_____________________ 16 |
260 |
|
* |
261 |
|
* |
262 |
|
* For all data processed before June 2007 the event status was coded according to |
263 |
|
* a different rule: |
264 |
|
* |
265 |
|
* Status of level1 processing |
266 |
|
* 0 -- OK |
267 |
|
* 1 -- missing packet |
268 |
|
* 2 -- 1 CRC error |
269 |
|
* 3 -- 2 on-line software alarm (latch-up flags asserted or n.transmitted-words = 0) |
270 |
|
* 4 -- 3 jump in the trigger counter |
271 |
|
* 10 -- 4 decode error |
272 |
|
* 11 -- 5 n.clusters > maximum number (for level1 processing) |
273 |
|
* Status of level2 processing |
274 |
|
* 21 -- 0 n.clusters > maximum value (for level2 processing) |
275 |
|
* 22 -- 1 n.couples per plane > maximum values (vector dimention) |
276 |
|
* 23 -- 2 n.doublets > maximum values |
277 |
|
* 24 -- 3 n.triplets > maximum values |
278 |
|
* 25 -- 4 n.yz-clouds > maximum values |
279 |
|
* 26 -- 5 n.xz-clouds > maximum values |
280 |
|
* 27 -- 6 n.candidate-tracks > maximum values |
281 |
|
* 28 -- 7 n.couples per plane > maximum values (for Hough transform) |
282 |
|
* |
283 |
|
* |
284 |
*/ |
*/ |
285 |
class TrkLevel2 : public TObject { |
class TrkLevel2 : public TObject { |
286 |
|
|
345 |
TrkLevel2* GetTrkLevel2(){return this;} |
TrkLevel2* GetTrkLevel2(){return this;} |
346 |
TClonesArray* GetTrackArray(){return Track;};///< returns pointer to the track array |
TClonesArray* GetTrackArray(){return Track;};///< returns pointer to the track array |
347 |
|
|
348 |
|
void StatusDump(int view); |
349 |
|
Bool_t StatusCheck(int view, int flagmask); |
350 |
|
|
351 |
ClassDef(TrkLevel2,3); |
ClassDef(TrkLevel2,3); |
352 |
|
|
353 |
}; |
}; |