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