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

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

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

revision 1.35 by pam-fi, Wed Mar 5 17:00:18 2008 UTC revision 1.37 by pam-fi, Wed Oct 22 15:17:32 2008 UTC
# Line 202  public: Line 202  public:
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); };
# Line 219  public: Line 224  public:
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();
# Line 238  public: Line 243  public:
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();
# Line 371  class TrkLevel2 : public TObject { Line 379  class TrkLevel2 : public TObject {
379      void Clear(Option_t *option){Clear();};      void Clear(Option_t *option){Clear();};
380      void Delete();      void Delete();
381      void Set();      void Set();
382        int UnpackError(){ for(int i=0; i<12; i++)if(StatusCheck(i,0x12))return 1; return 0;};
383            
384      int ntrk() {return Track->GetEntries();}    ///< number of stored track      int ntrk() {return Track->GetEntries();}    ///< number of stored track
385      int nclsx(){return SingletX->GetEntries();} ///< number of x singlets      int nclsx(){return SingletX->GetEntries();} ///< number of x singlets

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.37

  ViewVC Help
Powered by ViewVC 1.1.23