--- tof/flight/ToFNuclei/inc/ToFNuclei.h 2008/10/13 13:44:39 1.1 +++ tof/flight/ToFNuclei/inc/ToFNuclei.h 2009/03/02 11:41:38 1.2 @@ -2,6 +2,14 @@ * \file ToFNuclei.h * \author Emiliano Mocchiutti / Wolfgang Menn */ + +//***************************************************** +// WM 24-feb-2009: introduced "Set_Beta": +// The user can set beta used in the code with "Set_Beta", +// this beta is taken for the calculations. +//***************************************************** + + #ifndef tofnuclei_h #define tofnuclei_h @@ -41,30 +49,43 @@ Int_t tr; Int_t sntr; + Float_t beta_in; // Int_t ncount_trk; Float_t charge_trk; Float_t charge_layer_trk[6]; + Float_t charge_PMT_trk[48]; Int_t layerinfo_trk[6]; Int_t ncount_std; Float_t charge_std; Float_t charge_layer_std[6]; + Float_t charge_PMT_std[48]; Int_t layerinfo_std[6]; // public: // + + void Set_Beta(Float_t beta){ beta_in=beta;}; // Int_t Get_Ncount_ToF_trk(){ Process(); return ncount_trk;}; Float_t Get_Charge_ToF_trk(){ Process(); return charge_trk;}; Float_t *Get_Charge_ToF_trk_layer(){ Process(); return charge_layer_trk;}; + Float_t Get_Charge_ToF_trk_layer(Int_t layer){ Process(); return charge_layer_trk[layer];}; + Float_t *Get_Charge_ToF_trk_PMT(){ Process(); return charge_PMT_trk;}; + Float_t Get_Charge_ToF_trk_PMT(Int_t ipmt){ Process(); return charge_PMT_trk[ipmt];}; Int_t *Get_Layerinfo_trk(){ Process(); return layerinfo_trk;}; + Int_t Get_Layerinfo_trk(Int_t layer){ Process(); return layerinfo_trk[layer];}; // Int_t Get_Ncount_ToF_std(){ Process(); return ncount_std;}; Float_t Get_Charge_ToF_std(){ Process(); return charge_std;}; Float_t *Get_Charge_ToF_std_layer(){ Process(); return charge_layer_std;}; Int_t *Get_Layerinfo_std(){ Process(); return layerinfo_std;}; + Float_t *Get_Charge_ToF_std_PMT(){ Process(); return charge_PMT_std;}; + Float_t Get_Charge_ToF_std_PMT(Int_t ipmt){ Process(); return charge_PMT_std[ipmt];}; + Float_t Get_Charge_ToF_std_layer(Int_t layer){ Process(); return charge_layer_std[layer];}; + Int_t Get_Layerinfo_std(Int_t layer){ Process(); return layerinfo_std[layer];}; // ToFNuclei();