| 17 |
// z-coordinate of track state-vector reference-plane |
// z-coordinate of track state-vector reference-plane |
| 18 |
#define ZINI 23.5 ///< z-coordinate of track state-vector reference-plane. |
#define ZINI 23.5 ///< z-coordinate of track state-vector reference-plane. |
| 19 |
// (mechanical) z-coordinate of the tracker planes |
// (mechanical) z-coordinate of the tracker planes |
| 20 |
#define ZTRK6 -22.22 |
#define ZTRK6 -22.23 //-22.22 //Aprile 2014... trovata differenza con mech_pos.dat |
| 21 |
#define ZTRK5 -13.31 |
#define ZTRK5 -13.32 //-13.31 // ...speriamo bene... no comment |
| 22 |
#define ZTRK4 -4.41 |
#define ZTRK4 -4.42//-4.41 |
| 23 |
#define ZTRK3 4.49 |
#define ZTRK3 4.48//4.49 |
| 24 |
#define ZTRK2 13.39 |
#define ZTRK2 13.38//13.39 |
| 25 |
#define ZTRK1 22.29 |
#define ZTRK1 22.28//22.29 |
| 26 |
// magnet cavity dimensions |
// magnet cavity dimensions |
| 27 |
#define ZMAGNHIGH 21.83 |
#define ZMAGNHIGH 21.83 |
| 28 |
#define ZMAGNLOW -21.83 |
#define ZMAGNLOW -21.83 |
| 172 |
Int_t GetNY(){Int_t n=0; for(Int_t i=0; i<6; i++)n+=(Int_t)YGood(i); return n;} |
Int_t GetNY(){Int_t n=0; for(Int_t i=0; i<6; i++)n+=(Int_t)YGood(i); return n;} |
| 173 |
Int_t GetNXY(){Int_t n=0; for(Int_t i=0; i<6; i++)n+=(Int_t)YGood(i)*XGood(i); return n;} |
Int_t GetNXY(){Int_t n=0; for(Int_t i=0; i<6; i++)n+=(Int_t)YGood(i)*XGood(i); return n;} |
| 174 |
Int_t GetNtot(){return GetNX()+GetNY();} |
Int_t GetNtot(){return GetNX()+GetNY();} |
| 175 |
|
Int_t GetNhit() ; |
| 176 |
Float_t GetRigidity(); |
Float_t GetRigidity(); |
| 177 |
Float_t GetDeflection(); |
Float_t GetDeflection(); |
| 178 |
Bool_t IsSaturated(int,int); |
Bool_t IsSaturated(int,int); |
| 189 |
Float_t GetChi2Y(); |
Float_t GetChi2Y(); |
| 190 |
Float_t GetLnLX(); |
Float_t GetLnLX(); |
| 191 |
Float_t GetLnLY(); |
Float_t GetLnLY(); |
| 192 |
|
Float_t GetMDR(){return (coval[4][4]>0 ? 1./sqrt(coval[4][4]) : 0.); }; |
| 193 |
|
|
| 194 |
Float_t GetEffectiveAngle(int ip, int iv); |
Float_t GetEffectiveAngle(int ip, int iv); |
| 195 |
|
|
| 218 |
|
|
| 219 |
void FillMiniStruct(cMini2track&); |
void FillMiniStruct(cMini2track&); |
| 220 |
void SetFromMiniStruct(cMini2track*); |
void SetFromMiniStruct(cMini2track*); |
| 221 |
|
void FillMiniStruct(){ extern cMini2track track_; FillMiniStruct(track_); }; |
| 222 |
|
void SetFromMiniStruct(){extern cMini2track track_; SetFromMiniStruct(&track_);}; |
| 223 |
|
|
| 224 |
Int_t GetClusterX_ID(int ip); |
Int_t GetClusterX_ID(int ip); |
| 225 |
Int_t GetClusterY_ID(int ip); |
Int_t GetClusterY_ID(int ip); |
| 284 |
|
|
| 285 |
friend class TrkLevel2; |
friend class TrkLevel2; |
| 286 |
|
|
| 287 |
ClassDef(TrkTrack,5); |
ClassDef(TrkTrack,6); |
| 288 |
|
|
| 289 |
}; |
}; |
| 290 |
/** |
/** |
| 404 |
void Clear(Option_t *option){Clear();} |
void Clear(Option_t *option){Clear();} |
| 405 |
void Delete(); |
void Delete(); |
| 406 |
void Set(); |
void Set(); |
| 407 |
|
void SetTrackArray(TClonesArray *track);///<set pointer to the track array |
| 408 |
|
TClonesArray* GetTrackArray(){return Track;}///< returns pointer to the track array |
| 409 |
|
TClonesArray** GetPointerToTrackArray(){return &Track;}///< returns pointer to pointer to the track array |
| 410 |
int UnpackError(){ for(int i=0; i<12; i++)if(!StatusCheck(i,0x12))return 1; return 0;} |
int UnpackError(){ for(int i=0; i<12; i++)if(!StatusCheck(i,0x12))return 1; return 0;} |
| 411 |
|
|
| 412 |
int ntrk() {return Track->GetEntries();} ///< number of stored track |
int ntrk() {return Track->GetEntries();} ///< number of stored track |
| 446 |
TrkTrack* GetTrack(int i); |
TrkTrack* GetTrack(int i); |
| 447 |
TrkTrack* GetTrackImage(int i); |
TrkTrack* GetTrackImage(int i); |
| 448 |
|
|
| 449 |
TrkLevel2* GetTrkLevel2(){return this;} |
TrkLevel2* GetTrkLevel2(){return this;} |
|
TClonesArray* GetTrackArray(){return Track;}///< returns pointer to the track array |
|
|
|
|
| 450 |
void StatusDump(int view); |
void StatusDump(int view); |
| 451 |
Bool_t StatusCheck(int view, int flagmask); |
Bool_t StatusCheck(int view, int flagmask); |
| 452 |
|
|
| 453 |
ClassDef(TrkLevel2,3); |
ClassDef(TrkLevel2,4); |
| 454 |
|
|
| 455 |
}; |
}; |
| 456 |
|
|