/[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.13 by mocchiut, Mon Jan 22 09:16:55 2007 UTC revision 1.17 by mocchiut, Fri Oct 19 08:39:27 2007 UTC
# Line 9  Line 9 
9  #include <TClonesArray.h>  #include <TClonesArray.h>
10  #include <TArrayI.h>  #include <TArrayI.h>
11  //  //
12    #include <math.h>
13    //
14  #include <CaloStruct.h>  #include <CaloStruct.h>
15  //  //
16    
# Line 93  class CaloLevel2 : public TObject { Line 95  class CaloLevel2 : public TObject {
95      Int_t nstrip;      ///< total number of strip hit      Int_t nstrip;      ///< total number of strip hit
96      Int_t nx22;        ///< number of strip hit in the last silicon plane of the calorimeter (x view number 22)      Int_t nx22;        ///< number of strip hit in the last silicon plane of the calorimeter (x view number 22)
97      Int_t planemax[2]; ///< plane of maximum energy release (x and y)      Int_t planemax[2]; ///< plane of maximum energy release (x and y)
98        Int_t selfdelay[4][7]; ///< Delay of the selftrigger planes + coincidence for every section
99      Float_t qtot;      ///< total energy detected (MIP)      Float_t qtot;      ///< total energy detected (MIP)
100      Float_t qx22;      ///< energy detected in the last silicon plane of the calorimeter (x view number 22)      Float_t qx22;      ///< energy detected in the last silicon plane of the calorimeter (x view number 22)
101      Float_t qmax;      ///< the maximum energy detected in a strip      Float_t qmax;      ///< the maximum energy detected in a strip
# Line 126  class CaloLevel2 : public TObject { Line 129  class CaloLevel2 : public TObject {
129      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
130      //      //
131      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
132        CaloTrkVar* GetCaloStoredTrack(Int_t seqno); ///< returns pointer to the track set related to the seqno number
133      //      //
134      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
135      CaloLevel2* GetCaloLevel2(){return this;}; ///< returns pointer to this object      CaloLevel2* GetCaloLevel2(){return this;}; ///< returns pointer to this object
# Line 141  class CaloLevel2 : public TObject { Line 145  class CaloLevel2 : public TObject {
145      CaloLevel2(); ///< Constructor.      CaloLevel2(); ///< Constructor.
146      ~CaloLevel2(){Delete();}; //ELENA      ~CaloLevel2(){Delete();}; //ELENA
147      //      //
148      friend class CaloProcessing;      friend class CaloLevel0;
149      //      //
150      ClassDef(CaloLevel2,4);      ClassDef(CaloLevel2,4);
151  };  };

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

  ViewVC Help
Powered by ViewVC 1.1.23