/[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.5 by pam-fi, Thu Oct 26 16:22:36 2006 UTC revision 1.7 by pam-fi, Sat Dec 2 10:42:53 2006 UTC
# Line 41  public: Line 41  public:
41      TrkCluster(const TrkCluster&);      TrkCluster(const TrkCluster&);
42    
43      void Dump();      void Dump();
44                void Clear();
     Int_t   GetLadder()        { return 1+(Int_t)((maxs-1)/1024);  };  ///< ladder number  
45                    
46      Float_t GetSignal(Int_t, Float_t);    ///< cluster signal      Float_t GetSignal(Int_t, Float_t);    ///< cluster signal
47      Float_t GetSignal(Float_t cut)  { return GetSignal( (Int_t)0, cut); };      Float_t GetSignal(Float_t cut)  { return GetSignal( (Int_t)0, cut); };
# Line 67  public: Line 66  public:
66      Float_t GetETA(float angle){ return GetETA(0,angle); };      Float_t GetETA(float angle){ return GetETA(0,angle); };
67            
68      Bool_t IsBad(Int_t);                ///< bad-cluster flag      Bool_t IsBad(Int_t);                ///< bad-cluster flag
69    
70        Int_t GetPlane() { return (Int_t)((view+1)/2);};         ///< plane number (1-6)
71        Int_t GetLadder(){ return 1+(Int_t)((maxs-1)/1024);  };  ///< ladder number (1-3)
72        Bool_t IsY(){ return (Bool_t)view%2; };
73        Bool_t IsX(){ return !((Bool_t)view%2); };
74                    
75      TrkCluster* GetTrkCluster(){ return this; };      TrkCluster* GetTrkCluster(){ return this; };
76    
# Line 93  class TrkLevel1 : public TObject { Line 97  class TrkLevel1 : public TObject {
97      Float_t       cn[24][12];     ///< CN      Float_t       cn[24][12];     ///< CN
98  //    Float_t       cnrms[24][12];  ///< CN RMS  //    Float_t       cnrms[24][12];  ///< CN RMS
99      Int_t         cnn[24][12];    ///< number of strips for CN computation      Int_t         cnn[24][12];    ///< number of strips for CN computation
100  //      Int_t         fshower[12];  
 //      Int_t         good1;  
 //      Int_t         crc[12];  
101                    
102      TClonesArray *Cluster;        ///< clusters      TClonesArray *Cluster;        ///< clusters
103                
           
104      TrkLevel1();      TrkLevel1();
105      ~TrkLevel1(){Delete();};      ~TrkLevel1(){Delete();};
106            
107      int nclstr() {return Cluster->GetEntries();}    ///< number of stored clusters      int nclstr() {return Cluster->GetEntries();}    ///< number of stored clusters
108            
109      void Dump();      void Dump();
110      void SetFromLevel1Struct(cTrkLevel1 *);      void SetFromLevel1Struct(cTrkLevel1 *, Bool_t);
111  //      void GetLevel1Struct(cTrkLevel1 *) const;  //      void GetLevel1Struct(cTrkLevel1 *) const;
112      cTrkLevel1* GetLevel1Struct();      cTrkLevel1* GetLevel1Struct();
113      void Clear();      void Clear();

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

  ViewVC Help
Powered by ViewVC 1.1.23