202 |
Int_t GetSensor(int ip); |
Int_t GetSensor(int ip); |
203 |
Bool_t XGood(int ip){ return GetClusterX_ID(ip)!=-1; }; |
Bool_t XGood(int ip){ return GetClusterX_ID(ip)!=-1; }; |
204 |
Bool_t YGood(int ip){ return GetClusterY_ID(ip)!=-1; }; |
Bool_t YGood(int ip){ return GetClusterY_ID(ip)!=-1; }; |
205 |
void ResetXGood(int ip){ xgood[ip]=0; }; |
void ResetXGoo(int ip){ xgood[ip]=0; }; |
206 |
void ResetYGood(int ip){ ygood[ip]=0; }; |
void ResetYGood(int ip){ ygood[ip]=0; }; |
207 |
void SetXGood(int ip, int clid, int is); |
/* void SetXGood(int ip, int clid, int is); */ |
208 |
void SetYGood(int ip, int clid, int is); |
/* void SetYGood(int ip, int clid, int is); */ |
209 |
|
void SetXGood(int ip, int clid, int il, int is, bool bad); |
210 |
|
void SetYGood(int ip, int clid, int il, int is, bool bad); |
211 |
|
void SetXGood(int ip, int clid, int il, int is){ SetXGood(ip,clid,il,is,false); }; |
212 |
|
void SetYGood(int ip, int clid, int il, int is){ SetYGood(ip,clid,il,is,false); }; |
213 |
|
|
214 |
|
|
215 |
Bool_t BadClusterX(int ip){ return IsBad(ip,0); }; |
Bool_t BadClusterX(int ip){ return IsBad(ip,0); }; |
216 |
Bool_t BadClusterY(int ip){ return IsBad(ip,1); }; |
Bool_t BadClusterY(int ip){ return IsBad(ip,1); }; |
224 |
Int_t GetClusterY_MaxStrip(int ip){ return (Int_t)(multmaxy[ip]%10000); }; |
Int_t GetClusterY_MaxStrip(int ip){ return (Int_t)(multmaxy[ip]%10000); }; |
225 |
Float_t GetClusterX_Seed(int ip){ return seedx[ip]; }; |
Float_t GetClusterX_Seed(int ip){ return seedx[ip]; }; |
226 |
Float_t GetClusterY_Seed(int ip){ return seedy[ip]; }; |
Float_t GetClusterY_Seed(int ip){ return seedy[ip]; }; |
227 |
/* Float_t GetClusterX_CoordinatePU(int ip); */ |
/* Float_t GetClusterX_oordinatePU(int ip); */ |
228 |
/* Float_t GetClusterY_CoordinatePU(int ip); */ |
/* Float_t GetClusterY_CoordinatePU(int ip); */ |
229 |
|
|
230 |
Float_t GetYav(); |
Float_t GetYav(); |
243 |
Float_t GetResidual_max(int ip, int iv); |
Float_t GetResidual_max(int ip, int iv); |
244 |
Float_t GetResidual_max(int iv){ return GetResidual_max(-1,iv); }; |
Float_t GetResidual_max(int iv){ return GetResidual_max(-1,iv); }; |
245 |
Float_t GetResidual_max(){ return GetResidual_max(-1,-1); }; |
Float_t GetResidual_max(){ return GetResidual_max(-1,-1); }; |
246 |
|
Float_t GetResidual_av(int ip, int iv); |
247 |
|
Float_t GetResidual_av(int iv){ return GetResidual_av(-1,iv); }; |
248 |
|
Float_t GetResidual_av(){ return GetResidual_av(-1,-1); }; |
249 |
|
|
250 |
Int_t GetClusterX_Multiplicity_max(); |
Int_t GetClusterX_Multiplicity_max(); |
251 |
Int_t GetClusterX_Multiplicity_min(); |
Int_t GetClusterX_Multiplicity_min(); |
316 |
* notation: |
* notation: |
317 |
* |
* |
318 |
* LSB --> 0 missing packet |
* LSB --> 0 missing packet |
319 |
|
* |
320 |
* 1 CRC error |
* 1 CRC error |
321 |
|
* |
322 |
* 2 on-line software alarm (latch-up, timeout ecc...) |
* 2 on-line software alarm (latch-up, timeout ecc...) |
323 |
|
* |
324 |
* 3 jump in the trigger counter |
* 3 jump in the trigger counter |
325 |
|
* |
326 |
* 4 decode error |
* 4 decode error |
327 |
|
* |
328 |
* 5 n.clusters > maximum number (level1 processing) |
* 5 n.clusters > maximum number (level1 processing) |
329 |
|
* |
330 |
* 6 |
* 6 |
331 |
|
* |
332 |
* 7 |
* 7 |
333 |
|
* |
334 |
* 8 n.clusters > maximum value (level2 processing) |
* 8 n.clusters > maximum value (level2 processing) |
335 |
|
* |
336 |
* 9 n.couples per plane > maximum values (vector dimention) |
* 9 n.couples per plane > maximum values (vector dimention) |
337 |
|
* |
338 |
* 10 n.doublets > maximum values |
* 10 n.doublets > maximum values |
339 |
|
* |
340 |
* 11 n.triplets > maximum values |
* 11 n.triplets > maximum values |
341 |
|
* |
342 |
* 12 n.yz-clouds > maximum values |
* 12 n.yz-clouds > maximum values |
343 |
|
* |
344 |
* 13 n.xz-clouds > maximum values |
* 13 n.xz-clouds > maximum values |
345 |
|
* |
346 |
* 14 n.candidate-tracks > maximum values |
* 14 n.candidate-tracks > maximum values |
347 |
|
* |
348 |
* 15 n.couples per plane > maximum values (for Hough transform) |
* 15 n.couples per plane > maximum values (for Hough transform) |
349 |
|
* |
350 |
* MSB --> 16 |
* MSB --> 16 |
351 |
* |
* |
352 |
* |
* |
|
* For all data processed before June 2007 the event status was coded according to |
|
|
* a different rule: |
|
|
* |
|
|
* Status of level1 processing |
|
|
* 0 -- OK |
|
|
* 1 -- missing packet |
|
|
* 2 -- 1 CRC error |
|
|
* 3 -- 2 on-line software alarm (latch-up flags asserted or n.transmitted-words = 0) |
|
|
* 4 -- 3 jump in the trigger counter |
|
|
* 10 -- 4 decode error |
|
|
* 11 -- 5 n.clusters > maximum number (for level1 processing) |
|
|
* Status of level2 processing |
|
|
* 21 -- 0 n.clusters > maximum value (for level2 processing) |
|
|
* 22 -- 1 n.couples per plane > maximum values (vector dimention) |
|
|
* 23 -- 2 n.doublets > maximum values |
|
|
* 24 -- 3 n.triplets > maximum values |
|
|
* 25 -- 4 n.yz-clouds > maximum values |
|
|
* 26 -- 5 n.xz-clouds > maximum values |
|
|
* 27 -- 6 n.candidate-tracks > maximum values |
|
|
* 28 -- 7 n.couples per plane > maximum values (for Hough transform) |
|
353 |
* |
* |
354 |
* |
* |
355 |
*/ |
*/ |
375 |
void Clear(Option_t *option){Clear();}; |
void Clear(Option_t *option){Clear();}; |
376 |
void Delete(); |
void Delete(); |
377 |
void Set(); |
void Set(); |
378 |
|
int UnpackError(){ for(int i=0; i<12; i++)if(StatusCheck(i,0x12))return 1; return 0;}; |
379 |
|
|
380 |
int ntrk() {return Track->GetEntries();} ///< number of stored track |
int ntrk() {return Track->GetEntries();} ///< number of stored track |
381 |
int nclsx(){return SingletX->GetEntries();} ///< number of x singlets |
int nclsx(){return SingletX->GetEntries();} ///< number of x singlets |