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

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

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

revision 1.14 by pam-fi, Wed Aug 22 07:03:44 2007 UTC revision 1.17 by pam-fi, Tue Mar 2 17:17:32 2010 UTC
# Line 48  public: Line 48  public:
48      void Clear(Option_t *option){Clear();};      void Clear(Option_t *option){Clear();};
49      void Delete(){Clear();};      void Delete(){Clear();};
50                    
51      Float_t GetSignal(Int_t, Float_t);    ///< cluster signal      Float_t GetSignal(Int_t, Float_t, Bool_t);    ///< cluster signal
52      Float_t GetSignal(Float_t cut)  { return GetSignal( (Int_t)0, cut); };      Float_t GetSignal(Float_t cut)                { return GetSignal( 0, cut, false); };
53      Float_t GetSignal(Int_t nstrip) { return GetSignal( nstrip, (Float_t)(-1000) ); };      Float_t GetSignal(Int_t nstrip, Bool_t force) { return GetSignal( nstrip, -1000., force ); };
54      Float_t GetSignal()             { return GetSignal( (Int_t)0,(Float_t)INC_CUT); };      Float_t GetSignal(Int_t nstrip)               { return GetSignal( nstrip, -1000., false ); };
55        Float_t GetSignal()                           { return GetSignal( 0,(Float_t)INC_CUT, false); };    
56            
57      Float_t GetSignalToNoise(Int_t,Float_t);  ///< cluster signal/noise      Float_t GetSignalToNoise(Int_t,Float_t);  ///< cluster signal/noise
58      Float_t GetSignalToNoise(Float_t cut)  { return GetSignalToNoise( (Int_t)0, cut); };      Float_t GetSignalToNoise(Float_t cut)  { return GetSignalToNoise( 0, cut); };
59      Float_t GetSignalToNoise(Int_t nstrip) { return GetSignalToNoise( nstrip, (Float_t)(-1000) ); };      Float_t GetSignalToNoise(Int_t nstrip) { return GetSignalToNoise( nstrip,-1000. ); };
60      Float_t GetSignalToNoise()             { return GetSignalToNoise( (Int_t)0, (Float_t)INC_CUT); };      Float_t GetSignalToNoise()             { return GetSignalToNoise( 0, (Float_t)INC_CUT); };
61    
62    
63      Int_t   GetMultiplicity(Float_t);         ///< cluster multiplicity      Int_t   GetMultiplicity(Float_t);         ///< cluster multiplicity
# Line 71  public: Line 72  public:
72      Float_t GetETA(Int_t,float,bool);      Float_t GetETA(Int_t,float,bool);
73  //    Float_t GetETA(float angle){ return GetETA(0,angle); };  //    Float_t GetETA(float angle){ return GetETA(0,angle); };
74      Float_t GetPositionPU(float);      Float_t GetPositionPU(float);
75        Int_t   GetPFAstrips(float angle);
76    
77        
78      Bool_t IsBad(Int_t);                ///< bad-cluster flag      Bool_t IsBad(Int_t);                ///< bad-cluster flag
# Line 78  public: Line 80  public:
80    
81      Int_t GetPlane() { return (Int_t)((view+1)/2);};         ///< plane number (1-6)      Int_t GetPlane() { return (Int_t)((view+1)/2);};         ///< plane number (1-6)
82      Int_t GetLadder(){ return 1+(Int_t)((maxs-1)/1024);  };  ///< ladder number (1-3)      Int_t GetLadder(){ return 1+(Int_t)((maxs-1)/1024);  };  ///< ladder number (1-3)
83      Bool_t IsY(){ return (Bool_t)view%2; };      Bool_t IsY(){ return (Bool_t)(view%2); };
84      Bool_t IsX(){ return !((Bool_t)view%2); };      Bool_t IsX(){ return !((Bool_t)(view%2)); };
85                    
86      TrkCluster* GetTrkCluster(){ return this; };      TrkCluster* GetTrkCluster(){ return this; };
87    
# Line 151  class TrkLevel1 : public TObject { Line 153  class TrkLevel1 : public TObject {
153  //    int ProcessEvent(){return ProcessEvent();};  //    int ProcessEvent(){return ProcessEvent();};
154      int ProcessEvent();      int ProcessEvent();
155    
156      int GetPfaNbinsAngle();  // spostati in TrkParams
157      int GetPfaNbinsETA();  /*     int GetPfaNbinsAngle(); */
158      int GetPfaNbinsCharge(){return 0;};  /*     int GetPfaNbinsETA(); */
159      float* GetPfaCoord(TString pfa, int nview, int nladder, int nang);  /*     int GetPfaNbinsCharge(){return 0;}; */
160      float* GetPfaAbs(TString pfa, int nang);  /*     float* GetPfaCoord(TString pfa, int nview, int nladder, int nang); */
161    /*     float* GetPfaAbs(TString pfa, int nang); */
162    
163      void   StatusDump(int view);      void   StatusDump(int view);
164      Bool_t StatusCheck(int view, int flagmask);      Bool_t StatusCheck(int view, int flagmask);

Legend:
Removed from v.1.14  
changed lines
  Added in v.1.17

  ViewVC Help
Powered by ViewVC 1.1.23