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 |
|
Float_t GetChi2X(); |
152 |
|
Float_t GetChi2Y(); |
153 |
|
Float_t GetLnLX(); |
154 |
|
Float_t GetLnLY(); |
155 |
|
|
156 |
void SetMeasure(double *xmeas, double *ymeas, double *zmeas); |
void SetMeasure(double *xmeas, double *ymeas, double *zmeas); |
157 |
void SetResolution(double *rx, double *ry); |
void SetResolution(double *rx, double *ry); |
167 |
void SetStepMin(int istepmin); |
void SetStepMin(int istepmin); |
168 |
Bool_t IsInsideCavity(); |
Bool_t IsInsideCavity(); |
169 |
|
|
170 |
void EvaluateClusterPositions(); |
Bool_t EvaluateClusterPositions(); |
171 |
|
|
172 |
void FillMiniStruct(cMini2track&); |
void FillMiniStruct(cMini2track&); |
173 |
void SetFromMiniStruct(cMini2track*); |
void SetFromMiniStruct(cMini2track*); |
239 |
* 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. |
240 |
* 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() ). |
241 |
* Proper methods allow to sort tracks and select the physical ones ( GetTracks() ). |
* Proper methods allow to sort tracks and select the physical ones ( GetTracks() ). |
242 |
|
* |
243 |
|
* The event status indicates the processing status of data from each DSP, according to the following |
244 |
|
* notation: |
245 |
|
* |
246 |
|
* xxxx xxxx xxxx xxxx xxxx xxxx |
247 |
|
* |||| |||| |||| |||| |||| ||||_ 0 missing packet |
248 |
|
* |||| |||| |||| |||| |||| |||__ 1 CRC error |
249 |
|
* |||| |||| |||| |||| |||| ||___ 2 on-line software alarm (latch-up, timeout ecc...) |
250 |
|
* |||| |||| |||| |||| |||| |____ 3 jump in the trigger counter |
251 |
|
* |||| |||| |||| |||| ||||______ 4 decode error |
252 |
|
* |||| |||| |||| |||| |||_______ 5 n.clusters > maximum number (level1 processing) |
253 |
|
* |||| |||| |||| |||| ||________ 6 |
254 |
|
* |||| |||| |||| |||| |_________ 7 |
255 |
|
* |||| |||| |||| ||||___________ 8 n.clusters > maximum value (level2 processing) |
256 |
|
* |||| |||| |||| |||____________ 9 n.couples per plane > maximum values (vector dimention) |
257 |
|
* |||| |||| |||| ||_____________ 10 n.doublets > maximum values |
258 |
|
* |||| |||| |||| |______________ 11 n.triplets > maximum values |
259 |
|
* |||| |||| ||||________________ 12 n.yz-clouds > maximum values |
260 |
|
* |||| |||| |||_________________ 13 n.xz-clouds > maximum values |
261 |
|
* |||| |||| ||__________________ 14 n.candidate-tracks > maximum values |
262 |
|
* |||| |||| |___________________ 15 n.couples per plane > maximum values (for Hough transform) |
263 |
|
* |||| ||||_____________________ 16 |
264 |
|
* |
265 |
|
* |
266 |
|
* For all data processed before June 2007 the event status was coded according to |
267 |
|
* a different rule: |
268 |
|
* |
269 |
|
* Status of level1 processing |
270 |
|
* 0 -- OK |
271 |
|
* 1 -- missing packet |
272 |
|
* 2 -- 1 CRC error |
273 |
|
* 3 -- 2 on-line software alarm (latch-up flags asserted or n.transmitted-words = 0) |
274 |
|
* 4 -- 3 jump in the trigger counter |
275 |
|
* 10 -- 4 decode error |
276 |
|
* 11 -- 5 n.clusters > maximum number (for level1 processing) |
277 |
|
* Status of level2 processing |
278 |
|
* 21 -- 0 n.clusters > maximum value (for level2 processing) |
279 |
|
* 22 -- 1 n.couples per plane > maximum values (vector dimention) |
280 |
|
* 23 -- 2 n.doublets > maximum values |
281 |
|
* 24 -- 3 n.triplets > maximum values |
282 |
|
* 25 -- 4 n.yz-clouds > maximum values |
283 |
|
* 26 -- 5 n.xz-clouds > maximum values |
284 |
|
* 27 -- 6 n.candidate-tracks > maximum values |
285 |
|
* 28 -- 7 n.couples per plane > maximum values (for Hough transform) |
286 |
|
* |
287 |
|
* |
288 |
*/ |
*/ |
289 |
class TrkLevel2 : public TObject { |
class TrkLevel2 : public TObject { |
290 |
|
|
349 |
TrkLevel2* GetTrkLevel2(){return this;} |
TrkLevel2* GetTrkLevel2(){return this;} |
350 |
TClonesArray* GetTrackArray(){return Track;};///< returns pointer to the track array |
TClonesArray* GetTrackArray(){return Track;};///< returns pointer to the track array |
351 |
|
|
352 |
|
void StatusDump(int view); |
353 |
|
Bool_t StatusCheck(int view, int flagmask); |
354 |
|
|
355 |
ClassDef(TrkLevel2,3); |
ClassDef(TrkLevel2,3); |
356 |
|
|
357 |
}; |
}; |