/** * \file CaloNuclei.h * \author Emiliano Mocchiutti */ #ifndef calonuclei_h #define calonuclei_h #include #include #include #include #include #include #include #include #include #include #include using namespace std; /** * * Class to store and calculate variables useful for nuclei analysis */ class CaloNuclei : public TObject { private: // PamLevel2 *L2; Bool_t debug; Bool_t usetrack; // // needed to avoid reprocessing the same event over and over to obtain the variables // UInt_t OBT; UInt_t PKT; UInt_t atime; Int_t tr; Int_t sntr; // Bool_t usepl18x; // Int_t interplane; ///< Number of available dE/dx measurements before interaction or exit from the calo (interaction plane) Int_t N; ///< Number of dE/dx measurements to be used to calculate qpremeanN, default N = 5 Int_t R; ///< Number of strip to be used around the trajectory to calculate qpremeanN, default R = 3 Int_t UN; ///< Number of dE/dx measurements really used to calculate qpremeanN Float_t preq; ///< Energy release (MIP) up to the interaction plane (included) Float_t postq; ///< Energy release (MIP) from the interaction plane (excluded) up to the last plane 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 dedx1; ///< Energy release (MIP) along the track on the first Silicon detector (Y EVEN). Float_t dedx3; ///< Energy release (MIP) along the track on the first three Silicon detectors (Y EVEN, X EVEN, Y ODD). Float_t qpremean; ///< Truncated mean (MIP) along the track up to the interaction plane preq using three points Float_t qpremeanN; ///< Truncated mean (MIP) along the track up to the interaction plane preq using N points Float_t qNmin1; ///< Truncated mean (MIP) along the track using N-1 measurements before of the interaction plane Float_t maxrel; ///5 planes) gap has been found between a point and another along the track Float_t charge_siegen1; Float_t ZCalo_dedx_b; //Z from Calo using dedx in first Calorimeter plane vs. beta Float_t ZCalo_maxrel_b; //Z from Calo using maximum release in first Calorimeter plane vs. beta Float_t ZCalo_dedx_defl; //Z from Calo using dedx in first Calorimeter plane vs. rigidity 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 // Float_t qNmin1_w; Int_t S2; public: // // //char* version(); 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_N(){ return N;}; ///< Number of dE/dx measurements to be used to calculate qpremeanN, default N = 5 Int_t Get_UsedN(){ return UN;}; ///< Number of dE/dx measurements really used to calculate qpremeanN Int_t Get_R(){ return R;}; ///< Number of strip to be used around the trajectory to calculate qpremeanN, default R = 3 Float_t Get_preq(){ Process(); return preq;}; ///< Energy release (MIP) up to the interaction plane (included) Float_t Get_postq(){ Process(); return postq;}; ///< Energy release (MIP) from the interaction plane (excluded) up to the last plane 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). Float_t Get_dEdx1(){ Process(); return dedx1;}; ///< Energy release (MIP) along the track on the first Silicon detector (Y EVEN). 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_qpremean(){ Process(); return qpremean;}; ///< Truncated mean (MIP) along the track up to the interaction plane preq using three points 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_qNmin1(){ Process(); return qNmin1;}; ///< Truncated mean (MIP) along the track using N-1 measurements before of the interaction plane Float_t Get_maxrel(){ Process(); return maxrel;}; ///