/[PAMELA software]/tof/flight/ToFNuclei/inc/ToFNuclei.h
ViewVC logotype

Diff of /tof/flight/ToFNuclei/inc/ToFNuclei.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by pamelats, Mon Mar 2 11:41:38 2009 UTC revision 1.4 by mayorov, Fri Dec 28 15:40:27 2018 UTC
# Line 7  Line 7 
7  // WM 24-feb-2009: introduced "Set_Beta":  // WM 24-feb-2009: introduced "Set_Beta":
8  // The user can set beta used in the code with "Set_Beta",  // The user can set beta used in the code with "Set_Beta",
9  // this beta is taken for the calculations.  // this beta is taken for the calculations.
10    // WM 06-aug-2009: charge_layer_trk_raw  and charge_layer_std_raw
11    // added: These are the "raw" values before doing the 2nd-order
12    // correction
13  //*****************************************************  //*****************************************************
14    
15    
# Line 40  class ToFNuclei : public TObject { Line 43  class ToFNuclei : public TObject {
43      //      //
44      PamLevel2 *L2;      PamLevel2 *L2;
45      Bool_t debug;      Bool_t debug;
46        const char*  trkAlg;
47      //      //
48      // 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
49      //      //
# Line 54  class ToFNuclei : public TObject { Line 58  class ToFNuclei : public TObject {
58      Int_t   ncount_trk;      Int_t   ncount_trk;
59      Float_t charge_trk;      Float_t charge_trk;
60      Float_t charge_layer_trk[6];      Float_t charge_layer_trk[6];
61        Float_t charge_layer_trk_raw[6];
62      Float_t charge_PMT_trk[48];      Float_t charge_PMT_trk[48];
63      Int_t layerinfo_trk[6];      Int_t layerinfo_trk[6];
64    
65      Int_t   ncount_std;      Int_t   ncount_std;
66      Float_t charge_std;      Float_t charge_std;
67      Float_t charge_layer_std[6];      Float_t charge_layer_std[6];
68        Float_t charge_layer_std_raw[6];
69      Float_t charge_PMT_std[48];      Float_t charge_PMT_std[48];
70      Int_t layerinfo_std[6];      Int_t layerinfo_std[6];
71      //      //
# Line 73  class ToFNuclei : public TObject { Line 79  class ToFNuclei : public TObject {
79      Float_t Get_Charge_ToF_trk(){ Process(); return charge_trk;};      Float_t Get_Charge_ToF_trk(){ Process(); return charge_trk;};
80      Float_t *Get_Charge_ToF_trk_layer(){ Process(); return charge_layer_trk;};      Float_t *Get_Charge_ToF_trk_layer(){ Process(); return charge_layer_trk;};
81      Float_t Get_Charge_ToF_trk_layer(Int_t layer){ Process(); return charge_layer_trk[layer];};      Float_t Get_Charge_ToF_trk_layer(Int_t layer){ Process(); return charge_layer_trk[layer];};
82        Float_t *Get_Charge_ToF_trk_layer_raw(){ Process(); return charge_layer_trk_raw;};
83        Float_t Get_Charge_ToF_trk_layer_raw(Int_t layer){ Process(); return charge_layer_trk_raw[layer];};
84      Float_t *Get_Charge_ToF_trk_PMT(){ Process(); return charge_PMT_trk;};      Float_t *Get_Charge_ToF_trk_PMT(){ Process(); return charge_PMT_trk;};
85      Float_t Get_Charge_ToF_trk_PMT(Int_t ipmt){ Process(); return charge_PMT_trk[ipmt];};      Float_t Get_Charge_ToF_trk_PMT(Int_t ipmt){ Process(); return charge_PMT_trk[ipmt];};
86      Int_t *Get_Layerinfo_trk(){ Process(); return layerinfo_trk;};      Int_t *Get_Layerinfo_trk(){ Process(); return layerinfo_trk;};
# Line 81  class ToFNuclei : public TObject { Line 89  class ToFNuclei : public TObject {
89      Int_t Get_Ncount_ToF_std(){ Process(); return ncount_std;};      Int_t Get_Ncount_ToF_std(){ Process(); return ncount_std;};
90      Float_t Get_Charge_ToF_std(){ Process(); return charge_std;};      Float_t Get_Charge_ToF_std(){ Process(); return charge_std;};
91      Float_t *Get_Charge_ToF_std_layer(){ Process(); return charge_layer_std;};      Float_t *Get_Charge_ToF_std_layer(){ Process(); return charge_layer_std;};
92      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];};
93        Float_t *Get_Charge_ToF_std_layer_raw(){ Process(); return charge_layer_std_raw;};
94        Float_t Get_Charge_ToF_std_layer_raw(Int_t layer){ Process(); return charge_layer_std_raw[layer];};
95      Float_t *Get_Charge_ToF_std_PMT(){ Process(); return charge_PMT_std;};      Float_t *Get_Charge_ToF_std_PMT(){ Process(); return charge_PMT_std;};
96      Float_t Get_Charge_ToF_std_PMT(Int_t ipmt){ Process(); return charge_PMT_std[ipmt];};      Float_t Get_Charge_ToF_std_PMT(Int_t ipmt){ Process(); return charge_PMT_std[ipmt];};
97      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;};
98      Int_t Get_Layerinfo_std(Int_t layer){ Process(); return layerinfo_std[layer];};      Int_t Get_Layerinfo_std(Int_t layer){ Process(); return layerinfo_std[layer];};
99    
100      //      //
101      ToFNuclei();      //ToFNuclei();
102      ToFNuclei(PamLevel2 *L2);      ToFNuclei(PamLevel2 *L2,const char* alg);
103      ~ToFNuclei(){ Delete(); };      ~ToFNuclei(){ Delete(); };
104      //      //
105      void SetDebug(Bool_t d){ debug=d; };      void SetDebug(Bool_t d){ debug=d; };

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.23