--- tof/flight/ToFNuclei/inc/ToFNuclei.h 2009/03/02 11:41:38 1.2 +++ tof/flight/ToFNuclei/inc/ToFNuclei.h 2009/08/06 11:24:48 1.3 @@ -7,6 +7,9 @@ // 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. +// WM 06-aug-2009: charge_layer_trk_raw and charge_layer_std_raw +// added: These are the "raw" values before doing the 2nd-order +// correction //***************************************************** @@ -54,12 +57,14 @@ Int_t ncount_trk; Float_t charge_trk; Float_t charge_layer_trk[6]; + Float_t charge_layer_trk_raw[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_layer_std_raw[6]; Float_t charge_PMT_std[48]; Int_t layerinfo_std[6]; // @@ -73,6 +78,8 @@ 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_layer_raw(){ Process(); return charge_layer_trk_raw;}; + Float_t Get_Charge_ToF_trk_layer_raw(Int_t layer){ Process(); return charge_layer_trk_raw[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;}; @@ -81,10 +88,12 @@ 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_layer(Int_t layer){ Process(); return charge_layer_std[layer];}; + Float_t *Get_Charge_ToF_std_layer_raw(){ Process(); return charge_layer_std_raw;}; + Float_t Get_Charge_ToF_std_layer_raw(Int_t layer){ Process(); return charge_layer_std_raw[layer];}; 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(){ Process(); return layerinfo_std;}; Int_t Get_Layerinfo_std(Int_t layer){ Process(); return layerinfo_std[layer];}; //