/[PAMELA software]/DarthVader/TrackerLevel2/inc/ExtTrack.h
ViewVC logotype

Diff of /DarthVader/TrackerLevel2/inc/ExtTrack.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by mocchiut, Fri Jun 6 11:23:59 2014 UTC revision 1.6 by pam-ts, Wed Oct 15 08:45:51 2014 UTC
# Line 89  public: Line 89  public:
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(); };
# Line 106  public: Line 106  public:
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_); };
# Line 144  public: Line 144  public:
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();    Float_t GetDEDX();
150    Float_t GetDEDX(int ip);    Float_t GetDEDX(int ip);
# Line 156  public: Line 157  public:
157    
158    Float_t GetRigidity();    Float_t GetRigidity();
159    Float_t GetDeflection();    Float_t GetDeflection();
160      Float_t GetMDR(){return (coval[4][4]>0 ? 1./sqrt(coval[4][4]) : 0.); };
161    
162    ClassDef(ExtTrack,2);    //dsa implementare
163    /*     Bool_t IsSaturated(int,int); */
164    /*     Bool_t IsSaturated(int); */
165    /*     Bool_t IsSaturated(); */
166    /*     Bool_t IsBad(int,int); */
167      Int_t GetLeverArmXY();
168      Int_t GetLeverArmX();
169      Int_t GetLeverArmY();
170      Float_t GetChi2X(); //EM
171      Float_t GetChi2Y(); //EM
172    /*     Bool_t IsInsideCavity(float); */
173    /*     Bool_t IsInsideCavity(){ return IsInsideCavity(0.); } */
174      Bool_t IsInsideAcceptance(float); // EM
175      Bool_t IsInsideAcceptance(){ return IsInsideAcceptance(0.); } //EM
176    /*     Bool_t IsInsideGFSurface(const char*,float); */
177    /*     Bool_t IsInsideGFSurface(const char* surf){ return IsInsideGFSurface(surf,0.); } */
178    /*     Bool_t BadClusterX(int ip){ return IsBad(ip,0); } */
179    /*     Bool_t BadClusterY(int ip){ return IsBad(ip,1); } */
180    /*     Bool_t SaturatedClusterX(int ip){ return IsSaturated(ip,0); } */
181    /*     Bool_t SaturatedClusterY(int ip){ return IsSaturated(ip,1); } */
182      
183    
184    
185    
186      ClassDef(ExtTrack,3);
187    
188  };  };
189    

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.23