/[PAMELA software]/DarthVader/CalorimeterLevel2/inc/CaloLevel2.h
ViewVC logotype

Diff of /DarthVader/CalorimeterLevel2/inc/CaloLevel2.h

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

revision 1.9 by mocchiut, Tue Nov 14 14:08:48 2006 UTC revision 1.12 by pam-fi, Tue Jan 16 10:09:45 2007 UTC
# Line 10  Line 10 
10  #include <TArrayI.h>  #include <TArrayI.h>
11  //  //
12  #include <CaloStruct.h>  #include <CaloStruct.h>
13    //
14    
15  /**  /**
16   * \brief Calorimeter track-related variables class   * \brief Calorimeter track-related variables class
17   *   *
# Line 116  class CaloLevel2 : public TObject { Line 118  class CaloLevel2 : public TObject {
118      //      //
119      Int_t ntrk()                                       {return CaloTrk->GetEntries();};  ///< number of saved blocks of track-related variables      Int_t ntrk()                                       {return CaloTrk->GetEntries();};  ///< number of saved blocks of track-related variables
120      //      //
     // Number of strip with energy > emip and their value coded with view plane and strip number:  
     // view x[y] plane PP strip SS with energy mmmm.iip = +[-] ( PP*10^6 + SS*10^4 + mmmm.iip )  
     //  
     TArrayI estrip; ///< MIP values for each strip with energy > emin coded with view plane and strip number. NOTICE: precision is limited to the 5 most significative ciphers  
     //  
121      // METHODS      // METHODS
122      //      //
123      void GetElectronEnergy(Float_t &energy, Float_t &sigma); ///< returns energy and sigma using qtot and assuming the particle being an electron      void GetElectronEnergy(Float_t &energy, Float_t &sigma); ///< returns energy and sigma using qtot and assuming the particle being an electron
124      //      //
     Float_t GetEstrip(Int_t view, Int_t plane, Int_t strip); ///< returns saved MIP value for the indicated strip.  
     Float_t DecodeEstrip(Int_t entry, Int_t &view, Int_t &plane, Int_t &strip); ///< returns saved MIP value for the entry number "entry" of the TArrayI.  
     //  
125      CaloTrkVar *GetCaloTrkVar(Int_t notrack);  ///< returns a pointer to the CaloTrkVar class containing track related variables for track number notrack      CaloTrkVar *GetCaloTrkVar(Int_t notrack);  ///< returns a pointer to the CaloTrkVar class containing track related variables for track number notrack
126      //      //
127      TClonesArray *GetTrackArray(){return CaloTrk;}; ///< returns a pointer to the track related variables array      TClonesArray *GetTrackArray(){return CaloTrk;}; ///< returns a pointer to the track related variables array
# Line 136  class CaloLevel2 : public TObject { Line 130  class CaloLevel2 : public TObject {
130      void GetLevel2Struct(cCaloLevel2 *l2) const;      void GetLevel2Struct(cCaloLevel2 *l2) const;
131      //      //
132      void Clear();      void Clear();
133        void Delete(); //ELENA
134        void Set(); //ELENA
135      //      //
136      // constructor      // constructor
137      //      //
138      CaloLevel2(); ///< Constructor.      CaloLevel2(); ///< Constructor.
139        ~CaloLevel2(){Delete();}; //ELENA
140      //      //
141      friend class CaloProcessing;      friend class CaloProcessing;
142      //      //
143      ClassDef(CaloLevel2,2);      ClassDef(CaloLevel2,3);
144  };  };
145    
146  #endif  #endif

Legend:
Removed from v.1.9  
changed lines
  Added in v.1.12

  ViewVC Help
Powered by ViewVC 1.1.23