/[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.2 by pam-ts, Wed Jun 4 07:57:01 2014 UTC revision 1.5 by mocchiut, Thu Aug 7 16:04:13 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 145  public: Line 145  public:
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    
148      Float_t GetDEDX();
149      Float_t GetDEDX(int ip);
150      Float_t GetDEDX(int ip,int iv);
151    
152    Int_t GetClusterX_Multiplicity(int ip);    Int_t GetClusterX_Multiplicity(int ip);
153    Int_t GetClusterY_Multiplicity(int ip);    Int_t GetClusterY_Multiplicity(int ip);
154    Int_t GetClusterX_MaxStrip(int ip);    Int_t GetClusterX_MaxStrip(int ip);
155    Int_t GetClusterY_MaxStrip(int ip);    Int_t GetClusterY_MaxStrip(int ip);
156    
157    Float_t GetRigidity();    Float_t GetRigidity();
158      Float_t GetDeflection();
159    
160      //dsa implementare
161    /*     Bool_t IsSaturated(int,int); */
162    /*     Bool_t IsSaturated(int); */
163    /*     Bool_t IsSaturated(); */
164    /*     Bool_t IsBad(int,int); */
165    /*     Int_t GetLeverArmXY(); */
166    /*     Int_t GetLeverArmX(); */
167    /*     Int_t GetLeverArmY(); */
168      Float_t GetChi2X(); //EM
169      Float_t GetChi2Y(); //EM
170    /*     Bool_t IsInsideCavity(float); */
171    /*     Bool_t IsInsideCavity(){ return IsInsideCavity(0.); } */
172      Bool_t IsInsideAcceptance(float); // EM
173      Bool_t IsInsideAcceptance(){ return IsInsideAcceptance(0.); } //EM
174    /*     Bool_t IsInsideGFSurface(const char*,float); */
175    /*     Bool_t IsInsideGFSurface(const char* surf){ return IsInsideGFSurface(surf,0.); } */
176    /*     Bool_t BadClusterX(int ip){ return IsBad(ip,0); } */
177    /*     Bool_t BadClusterY(int ip){ return IsBad(ip,1); } */
178    /*     Bool_t SaturatedClusterX(int ip){ return IsSaturated(ip,0); } */
179    /*     Bool_t SaturatedClusterY(int ip){ return IsSaturated(ip,1); } */
180      
181    
182    
183    
184    ClassDef(ExtTrack,1);    ClassDef(ExtTrack,2);
185    
186  };  };
187    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.23