/[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.21 by mocchiut, Mon Sep 28 17:06:40 2009 UTC revision 1.24 by pam-fi, Wed Oct 15 12:06:21 2014 UTC
# Line 10  Line 10 
10  #include <TArrayI.h>  #include <TArrayI.h>
11  //  //
12  #include <math.h>  #include <math.h>
13    #include <string.h>//ELENA
14    
15  //  //
16  #include <CaloStruct.h>  #include <CaloStruct.h>
17  //  //
# Line 64  public: Line 66  public:
66      CaloTrkVar(const CaloTrkVar &trkvar); ///< copy values from trkvar to this      CaloTrkVar(const CaloTrkVar &trkvar); ///< copy values from trkvar to this
67      //      //
68      void Clear(Option_t *t=""); ///< clear variables      void Clear(Option_t *t=""); ///< clear variables
69      CaloTrkVar* GetCaloTrkVar(){return this;}; ///< returns pointer to this object      CaloTrkVar* GetCaloTrkVar(){return this;} ///< returns pointer to this object
70      //      //
71      ClassDef(CaloTrkVar,2);      ClassDef(CaloTrkVar,2);
72      //      //
# Line 119  class CaloLevel2 : public TObject { Line 121  class CaloLevel2 : public TObject {
121      //      //
122      // track related variables: inline methods      // track related variables: inline methods
123      //      //
124      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
125      //      //
126      // METHODS      // METHODS
127      //      //
128      Float_t impx(Int_t tr);        ///< the x impact position on the first plane as determined by the track fitted in the calorimeter ( tr = 0 calo fit, tr = 1 selftrigger fit)      Float_t impx(Int_t tr);        ///< the x impact position on the first plane as determined by the track fitted in the calorimeter ( tr = 0 calo fit, tr = 1 selftrigger fit)
129      Float_t impy(Int_t tr);        ///< the y impact position on the first plane as determined by the track fitted in the calorimeter ( tr = 0 calo fit, tr = 1 selftrigger fit)      Float_t impy(Int_t tr);        ///< the y impact position on the first plane as determined by the track fitted in the calorimeter ( tr = 0 calo fit, tr = 1 selftrigger fit)
130    
131        TClonesArray** GetPointerToTrackArray(){return &CaloTrk;}///< returns pointer to pointer to the track array
132        void SetTrackArray(TClonesArray *track);///<set pointer to the track array
133    
134      //      //
135      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
136      //      //
137      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
138      CaloTrkVar* GetCaloStoredTrack(Int_t seqno); ///< returns pointer to the track set related to the seqno number      CaloTrkVar* GetCaloStoredTrack(Int_t seqno); ///< returns pointer to the track set related to the seqno number
139      //      //
140      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
141      CaloLevel2* GetCaloLevel2(){return this;}; ///< returns pointer to this object      CaloLevel2* GetCaloLevel2(){return this;} ///< returns pointer to this object
142      //      //
143      void GetLevel2Struct(cCaloLevel2 *l2) const;      void GetLevel2Struct(cCaloLevel2 *l2) const;
144      //      //
# Line 145  class CaloLevel2 : public TObject { Line 150  class CaloLevel2 : public TObject {
150      // constructor      // constructor
151      //      //
152      CaloLevel2(); ///< Constructor.      CaloLevel2(); ///< Constructor.
153      ~CaloLevel2(){Delete();}; //ELENA      ~CaloLevel2(){Delete();} //ELENA
154      //      //
155      friend class CaloLevel0;      friend class CaloLevel0;
156      //      //

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.24

  ViewVC Help
Powered by ViewVC 1.1.23