| 89 |
|
|
| 90 |
ExtTrack(int dim=0); |
ExtTrack(int dim=0); |
| 91 |
|
|
| 92 |
ExtTrack( TrkTrack& t){ Set(t); } |
ExtTrack( TrkTrack& t){SetDimension(6); Set(t); } |
| 93 |
ExtTrack( const ExtTrack& ); |
ExtTrack( const ExtTrack& ); |
| 94 |
|
|
| 95 |
~ExtTrack(){ Delete(); }; |
~ExtTrack(){ Delete(); }; |
| 106 |
|
|
| 107 |
|
|
| 108 |
void Set( TrkTrack& t, int index); ///< Set from TrkTrack object |
void Set( TrkTrack& t, int index); ///< Set from TrkTrack object |
| 109 |
void Set( TrkTrack& t){Set(t,0);}; ///< Set from TrkTrack object |
void Set( TrkTrack& t){ Set(t,0);}; ///< Set from TrkTrack object |
| 110 |
void FillMiniStruct(cMiniExtTrack& track); |
void FillMiniStruct(cMiniExtTrack& track); |
| 111 |
void SetFromMiniStruct(cMiniExtTrack *track); |
void SetFromMiniStruct(cMiniExtTrack *track); |
| 112 |
void FillMiniStruct(){FillMiniStruct(exttrack_); }; |
void FillMiniStruct(){FillMiniStruct(exttrack_); }; |
| 144 |
int GetNY(){int n=0; for(int i=0; i<nplanes; i++)n+=(int)(YGood(i)); return n;}; |
int GetNY(){int n=0; for(int i=0; i<nplanes; i++)n+=(int)(YGood(i)); return n;}; |
| 145 |
int GetNXY(){int n=0; for(int i=0; i<nplanes; i++)n+=(int)(YGood(i)&&XGood(i)); return n;}; |
int GetNXY(){int n=0; for(int i=0; i<nplanes; i++)n+=(int)(YGood(i)&&XGood(i)); return n;}; |
| 146 |
int GetNtot(){return GetNX()+GetNY();}; |
int GetNtot(){return GetNX()+GetNY();}; |
| 147 |
|
int GetNhit(){int n=0; for(int i=0; i<nplanes; i++)n+=(int)(YGood(i)||XGood(i)); return n;}; |
| 148 |
|
|
| 149 |
|
Float_t GetDEDX(); |
| 150 |
|
Float_t GetDEDX(int ip); |
| 151 |
|
Float_t GetDEDX(int ip,int iv); |
| 152 |
|
|
| 153 |
|
Float_t GetDEDXX(bool cutSat=false); |
| 154 |
|
Float_t GetDEDXY(bool cutSat=false); |
| 155 |
|
|
| 156 |
|
|
| 157 |
Int_t GetClusterX_Multiplicity(int ip); |
Int_t GetClusterX_Multiplicity(int ip); |
| 158 |
Int_t GetClusterY_Multiplicity(int ip); |
Int_t GetClusterY_Multiplicity(int ip); |
| 160 |
Int_t GetClusterY_MaxStrip(int ip); |
Int_t GetClusterY_MaxStrip(int ip); |
| 161 |
|
|
| 162 |
Float_t GetRigidity(); |
Float_t GetRigidity(); |
| 163 |
|
Float_t GetDeflection(); |
| 164 |
|
Float_t GetMDR(){return (coval[4][4]>0 ? 1./sqrt(coval[4][4]) : 0.); }; |
| 165 |
|
|
| 166 |
|
Bool_t IsSaturated(int,int); |
| 167 |
|
Bool_t IsSaturated(int); |
| 168 |
|
Bool_t IsSaturated(); |
| 169 |
|
Bool_t IsBad(int,int); |
| 170 |
|
Int_t GetLeverArmXY(); |
| 171 |
|
Int_t GetLeverArmX(); |
| 172 |
|
Int_t GetLeverArmY(); |
| 173 |
|
Float_t GetChi2X(); //EM |
| 174 |
|
Float_t GetChi2Y(); //EM |
| 175 |
|
/* Bool_t IsInsideCavity(float); */ |
| 176 |
|
/* Bool_t IsInsideCavity(){ return IsInsideCavity(0.); } */ |
| 177 |
|
Bool_t IsInsideAcceptance(float); // EM |
| 178 |
|
Bool_t IsInsideAcceptance(){ return IsInsideAcceptance(0.); } //EM |
| 179 |
|
/* Bool_t IsInsideGFSurface(const char*,float); */ |
| 180 |
|
/* Bool_t IsInsideGFSurface(const char* surf){ return IsInsideGFSurface(surf,0.); } */ |
| 181 |
|
/* Bool_t BadClusterX(int ip){ return IsBad(ip,0); } */ |
| 182 |
|
/* Bool_t BadClusterY(int ip){ return IsBad(ip,1); } */ |
| 183 |
|
/* Bool_t SaturatedClusterX(int ip){ return IsSaturated(ip,0); } */ |
| 184 |
|
/* Bool_t SaturatedClusterY(int ip){ return IsSaturated(ip,1); } */ |
| 185 |
|
|
| 186 |
|
|
| 187 |
|
|
| 188 |
|
|
| 189 |
ClassDef(ExtTrack,1); |
ClassDef(ExtTrack,3); |
| 190 |
|
|
| 191 |
}; |
}; |
| 192 |
|
|