/[PAMELA software]/calo/flight/CaloNuclei/inc/CaloNuclei.h
ViewVC logotype

Diff of /calo/flight/CaloNuclei/inc/CaloNuclei.h

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

revision 1.4 by mocchiut, Thu Apr 5 13:38:21 2007 UTC revision 1.6 by mocchiut, Mon Nov 26 08:48:23 2007 UTC
# Line 33  class CaloNuclei : public TObject { Line 33  class CaloNuclei : public TObject {
33      //      //
34      PamLevel2 *L2;      PamLevel2 *L2;
35      Bool_t debug;      Bool_t debug;
36        Bool_t usetrack;
37      //      //
38      // needed to avoid reprocessing the same event over and over to obtain the variables      // needed to avoid reprocessing the same event over and over to obtain the variables
39      //      //
# Line 40  class CaloNuclei : public TObject { Line 41  class CaloNuclei : public TObject {
41      UInt_t PKT;      UInt_t PKT;
42      UInt_t atime;      UInt_t atime;
43      Int_t tr;      Int_t tr;
44        Int_t sntr;
45      //      //
46      Int_t interplane; ///< Number of available dE/dx measurements before interaction or exit from the calo (interaction plane)      Int_t interplane; ///< Number of available dE/dx measurements before interaction or exit from the calo (interaction plane)
47      Int_t N; ///< Number of dE/dx measurements to be used to calculate qpremeanN, default N = 5      Int_t N; ///< Number of dE/dx measurements to be used to calculate qpremeanN, default N = 5
48      Int_t R; ///< Number of strip to be used around the trajectory to calculate qpremeanN, default R = 3      Int_t R; ///< Number of strip to be used around the trajectory to calculate qpremeanN, default R = 3
49        Int_t UN; ///< Number of dE/dx measurements really used to calculate qpremeanN
50      Float_t preq; ///< Energy release (MIP) up to the interaction plane (included)      Float_t preq; ///< Energy release (MIP) up to the interaction plane (included)
51      Float_t postq; ///< Energy release (MIP) from the interaction plane (excluded) up to the last plane      Float_t postq; ///< Energy release (MIP) from the interaction plane (excluded) up to the last plane
52        Float_t stdedx1; ///< Energy release (MIP) on the first Silicon detector (Y EVEN) around the strip with maximum energy release (no track information).
53      Float_t dedx1; ///< Energy release (MIP) along the track on the first Silicon detector (Y EVEN).      Float_t dedx1; ///< Energy release (MIP) along the track on the first Silicon detector (Y EVEN).
54      Float_t dedx3; ///< Energy release (MIP) along the track on the first three Silicon detectors (Y EVEN, X EVEN, Y ODD).      Float_t dedx3; ///< Energy release (MIP) along the track on the first three Silicon detectors (Y EVEN, X EVEN, Y ODD).
55      Float_t qpremean; ///< Truncated mean (MIP) along the track up to the interaction plane preq using three points      Float_t qpremean; ///< Truncated mean (MIP) along the track up to the interaction plane preq using three points
# Line 59  class CaloNuclei : public TObject { Line 63  class CaloNuclei : public TObject {
63      //      //
64      //      //
65      Int_t Get_interplane(){ Process(); return interplane;}; ///< Number of available dE/dx measurements before interaction or exit from the calo (interaction plane)      Int_t Get_interplane(){ Process(); return interplane;}; ///< Number of available dE/dx measurements before interaction or exit from the calo (interaction plane)
66      Int_t Get_N(){ return N;}; ///< Number of available dE/dx measurements before interaction or exit from the calo (interaction plane)      Int_t Get_N(){ return N;}; ///< Number of dE/dx measurements to be used to calculate qpremeanN, default N = 5
67        Int_t Get_UsedN(){ return UN;}; ///< Number of dE/dx measurements really used to calculate qpremeanN
68      Int_t Get_R(){ return R;}; ///< Number of strip to be used around the trajectory to calculate qpremeanN, default R = 3      Int_t Get_R(){ return R;}; ///< Number of strip to be used around the trajectory to calculate qpremeanN, default R = 3
69      Float_t Get_preq(){ Process(); return preq;}; ///< Energy release (MIP) up to the interaction plane (included)      Float_t Get_preq(){ Process(); return preq;}; ///< Energy release (MIP) up to the interaction plane (included)
70      Float_t Get_postq(){ Process(); return postq;}; ///< Energy release (MIP) from the interaction plane (excluded) up to the last plane      Float_t Get_postq(){ Process(); return postq;}; ///< Energy release (MIP) from the interaction plane (excluded) up to the last plane
71        Float_t Get_StdEdx1(){ Process(); return stdedx1;}; ///< Energy release (MIP) on the first Silicon detector (Y EVEN) around the strip with maximum energy release (no track information, 3 strips in total).
72      Float_t Get_dEdx1(){ Process(); return dedx1;}; ///< Energy release (MIP) along the track on the first Silicon detector (Y EVEN).      Float_t Get_dEdx1(){ Process(); return dedx1;}; ///< Energy release (MIP) along the track on the first Silicon detector (Y EVEN).
73      Float_t Get_dEdx3(){ Process(); return dedx3;}; ///< Energy release (MIP) along the track on the first three Silicon detectors (Y EVEN, X EVEN, Y ODD).      Float_t Get_dEdx3(){ Process(); return dedx3;}; ///< Energy release (MIP) along the track on the first three Silicon detectors (Y EVEN, X EVEN, Y ODD).
74      Float_t Get_qpremean(){ Process(); return qpremean;}; ///< Truncated mean (MIP) along the track up to the interaction plane preq using three points      Float_t Get_qpremean(){ Process(); return qpremean;}; ///< Truncated mean (MIP) along the track up to the interaction plane preq using three points
# Line 78  class CaloNuclei : public TObject { Line 84  class CaloNuclei : public TObject {
84      ~CaloNuclei(){ Delete(); };      ~CaloNuclei(){ Delete(); };
85      //      //
86      void SetDebug(Bool_t d){ debug=d; };      void SetDebug(Bool_t d){ debug=d; };
87        void UseTrack(Bool_t d){ usetrack=d; };
88      //      //
89      void Clear();      void Clear();
90      void Clear(Option_t *option){Clear();};      void Clear(Option_t *option){Clear();};
91      void Delete();      void Delete();
92        void Delete(Option_t *option){Delete();};
93      //      //
94      void Process(); ///< Process data for track number 0      void Process(); ///< Process data for track number 0
95          void Process(Int_t ntr); ///< Process data for track number ntr      void Process(Int_t ntr); ///< Process data for track number ntr
96      void Print();      void Print();
97        void Print(Option_t *option){Print();};
98      //      //
99      ClassDef(CaloNuclei,1);      ClassDef(CaloNuclei,2);
100  };  };
101    
102  #endif  #endif

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.6

  ViewVC Help
Powered by ViewVC 1.1.23