/[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.5 by mocchiut, Thu May 24 07:50:47 2007 UTC revision 1.10 by pam-fi, Mon Apr 20 09:12:04 2015 UTC
# Line 34  class CaloNuclei : public TObject { Line 34  class CaloNuclei : public TObject {
34      PamLevel2 *L2;      PamLevel2 *L2;
35      Bool_t debug;      Bool_t debug;
36      Bool_t usetrack;      Bool_t usetrack;
37        const char*  trkAlg;
38        
39      //      //
40      // 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
41      //      //
# Line 43  class CaloNuclei : public TObject { Line 45  class CaloNuclei : public TObject {
45      Int_t tr;      Int_t tr;
46      Int_t sntr;      Int_t sntr;
47      //      //
48        Bool_t usepl18x;
49        //
50      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)
51      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
52      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
53        Int_t UN; ///< Number of dE/dx measurements really used to calculate qpremeanN
54      Float_t preq; ///< Energy release (MIP) up to the interaction plane (included)      Float_t preq; ///< Energy release (MIP) up to the interaction plane (included)
55      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
56      Float_t stdedx1; ///< Energy release (MIP) on the first Silicon detector (Y EVEN) around the strip with maximum energy release (no track information).      Float_t stdedx1; ///< Energy release (MIP) on the first Silicon detector (Y EVEN) around the strip with maximum energy release (no track information).
# Line 53  class CaloNuclei : public TObject { Line 58  class CaloNuclei : public TObject {
58      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).
59      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
60      Float_t qpremeanN; ///< Truncated mean (MIP) along the track up to the interaction plane preq using N points      Float_t qpremeanN; ///< Truncated mean (MIP) along the track up to the interaction plane preq using N points
61        Float_t qNmin1; ///< Truncated mean (MIP) along the track using N-1 measurements before of the interaction plane
62        Float_t maxrel; ///<Energy maximum release on first Calorimeter plane (dedx of strip with maximum release)
63      Float_t ethr; ///< Threshold (MIP) needed to find the interaction plane      Float_t ethr; ///< Threshold (MIP) needed to find the interaction plane
64      Bool_t multhit; ///< True if the interaction plane has been determined by multiple hit counting      Bool_t multhit; ///< True if the interaction plane has been determined by multiple hit counting
65      Bool_t gap; ///< True if determining the interaction plane a big (>5 planes) gap has been found between a point and another along the track      Bool_t gap; ///< True if determining the interaction plane a big (>5 planes) gap has been found between a point and another along the track
66      //      Float_t charge_siegen1;
67        Float_t ZCalo_dedx_b;  //Z from Calo using dedx in first Calorimeter plane vs. beta
68        Float_t ZCalo_maxrel_b; //Z from Calo using maximum release in first Calorimeter plane vs. beta
69        Float_t ZCalo_dedx_defl; //Z from Calo using dedx in first Calorimeter plane vs. rigidity
70        Float_t ZCalo_Nmin1_defl;  //Z from Calo using truncated mean on N-1 Calorimeter planes (plane N+1 is the interaction plane) vs. rigidity
71       //
72        Float_t qNmin1_w;
73        Int_t S2;
74   public:   public:
75      //      //
76      //      //
77        //char* version();
78    
79      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)
80      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
81        Int_t Get_UsedN(){ return UN;}; ///< Number of dE/dx measurements really used to calculate qpremeanN
82      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
83      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)
84      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
# Line 71  class CaloNuclei : public TObject { Line 87  class CaloNuclei : public TObject {
87      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).
88      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
89      Float_t Get_qpremeanN(){ Process(); return qpremeanN;}; ///< Truncated mean (MIP) along the track up to the interaction plane preq using N points      Float_t Get_qpremeanN(){ Process(); return qpremeanN;}; ///< Truncated mean (MIP) along the track up to the interaction plane preq using N points
90        Float_t Get_qNmin1(){ Process(); return qNmin1;}; ///< Truncated mean (MIP) along the track using N-1 measurements before of the interaction plane
91        Float_t Get_maxrel(){ Process(); return maxrel;}; ///<Energy maximum release on first Calorimeter plane (dedx of strip with maximum release)
92      Float_t Get_ethr(){ Process(); return ethr;}; ///< Threshold (MIP) needed to find the interaction plane      Float_t Get_ethr(){ Process(); return ethr;}; ///< Threshold (MIP) needed to find the interaction plane
93      Bool_t IsMulthit(){ Process(); return multhit;}; ///< True if the interaction plane has been determined by multiple hit counting      Bool_t IsMulthit(){ Process(); return multhit;}; ///< True if the interaction plane has been determined by multiple hit counting
94      //      //
95        Float_t Get_charge_siegen1(){ Process(); return charge_siegen1;}; ///< charge Siegen method stdedx1 vs. beta
96        Float_t Get_ZCalo_dedx_b(){ Process(); return ZCalo_dedx_b;};  //Z from Calo using dedx (or StdEdx) in first Calorimeter plane vs. beta
97        Float_t Get_ZCalo_maxrel_b(){ Process(); return ZCalo_maxrel_b;}; //Z from Calo using maximum release in first Calorimeter plane vs. beta
98        Float_t Get_ZCalo_dedx_defl(){ Process(); return ZCalo_dedx_defl;}; //Z from Calo using dedx in first Calorimeter plane vs. rigidity
99        Float_t Get_ZCalo_Nmin1_defl(){ Process(); return ZCalo_Nmin1_defl;};  //Z from Calo using truncated mean on N-1 Calorimeter planes (plane N+1 is the interaction plane) vs. rigidity
100        
101        //
102      void Set_N(Int_t n){ N=n;};      void Set_N(Int_t n){ N=n;};
103      void Set_R(Int_t r){ R=r;};      void Set_R(Int_t r){ R=r;};
104      //      //
105      CaloNuclei();  //    CaloNuclei();
106      CaloNuclei(PamLevel2 *L2);      CaloNuclei(PamLevel2 *L2,const char* alg);
107      ~CaloNuclei(){ Delete(); };      ~CaloNuclei(){ Delete(); };
108      //      //
109      void SetDebug(Bool_t d){ debug=d; };      void SetDebug(Bool_t d){ debug=d; };
110      void UseTrack(Bool_t d){ usetrack=d; };      void UseTrack(Bool_t d){ usetrack=d; };
111    
112    
113        void UsePlane18X(Bool_t use){usepl18x = use;};
114        //
115      //      //
116      void Clear();      void Clear();
117      void Clear(Option_t *option){Clear();};      void Clear(Option_t *option){Clear();};
118      void Delete();      void Delete();
119        void Delete(Option_t *option){Delete();};
120      //      //
121      void Process(); ///< Process data for track number 0      void Process(); ///< Process data for track number 0
122      void Process(Int_t ntr); ///< Process data for track number ntr      void Process(Int_t ntr); ///< Process data for track number ntr
123      void Print();      void Print();
124        void Print(Option_t *option){Print();};
125      //      //
126      ClassDef(CaloNuclei,2);      ClassDef(CaloNuclei,3);
127  };  };
128    
129  #endif  #endif

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

  ViewVC Help
Powered by ViewVC 1.1.23