32 |
private: |
private: |
33 |
// |
// |
34 |
PamLevel2 *L2; |
PamLevel2 *L2; |
35 |
|
Bool_t debug; |
36 |
// |
// |
37 |
// 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 |
38 |
// |
// |
39 |
UInt_t OBT; |
UInt_t OBT; |
40 |
UInt_t PKT; |
UInt_t PKT; |
41 |
UInt_t atime; |
UInt_t atime; |
42 |
|
Int_t tr; |
43 |
// |
// |
44 |
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) |
45 |
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 |
58 |
public: |
public: |
59 |
// |
// |
60 |
// |
// |
61 |
Int_t GetInterplane(){ 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) |
62 |
Int_t GetN(){ 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 available dE/dx measurements before interaction or exit from the calo (interaction plane) |
63 |
Int_t GetR(){ 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 |
64 |
Float_t GetPreq(){ 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) |
65 |
Float_t GetPostq(){ 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 |
66 |
Float_t GetDedx1(){ 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). |
67 |
Float_t GetDedx3(){ 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). |
68 |
Float_t GetQpremean(){ 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 |
69 |
Float_t GetQpremeanN(){ 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 |
70 |
Float_t GetEthr(){ 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 |
71 |
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 |
72 |
// |
// |
73 |
void SetN(Int_t n){ N=n;}; |
void Set_N(Int_t n){ N=n;}; |
74 |
void SetR(Int_t r){ R=r;}; |
void Set_R(Int_t r){ R=r;}; |
75 |
// |
// |
76 |
CaloNuclei(); |
CaloNuclei(); |
77 |
CaloNuclei(PamLevel2 *L2); |
CaloNuclei(PamLevel2 *L2); |
78 |
~CaloNuclei(){ Delete(); }; |
~CaloNuclei(){ Delete(); }; |
79 |
// |
// |
80 |
|
void SetDebug(Bool_t d){ debug=d; }; |
81 |
|
// |
82 |
void Clear(); |
void Clear(); |
83 |
void Clear(Option_t *option){Clear();}; |
void Clear(Option_t *option){Clear();}; |
84 |
void Delete(); |
void Delete(); |
85 |
// |
// |
86 |
void Process(); |
void Process(); ///< Process data for track number 0 |
87 |
|
void Process(Int_t ntr); ///< Process data for track number ntr |
88 |
void Print(); |
void Print(); |
89 |
// |
// |
90 |
ClassDef(CaloNuclei,1); |
ClassDef(CaloNuclei,1); |