/[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.1 by pamela, Mon Oct 13 13:44:39 2008 UTC revision 1.2 by pamelats, Mon Mar 2 11:41:38 2009 UTC
# Line 2  Line 2 
2   * \file ToFNuclei.h   * \file ToFNuclei.h
3   * \author Emiliano Mocchiutti / Wolfgang Menn   * \author Emiliano Mocchiutti / Wolfgang Menn
4   */   */
5    
6    //*****************************************************
7    // WM 24-feb-2009: introduced "Set_Beta":
8    // The user can set beta used in the code with "Set_Beta",
9    // this beta is taken for the calculations.
10    //*****************************************************
11    
12    
13  #ifndef tofnuclei_h  #ifndef tofnuclei_h
14  #define tofnuclei_h  #define tofnuclei_h
15    
# Line 41  class ToFNuclei : public TObject { Line 49  class ToFNuclei : public TObject {
49      Int_t tr;      Int_t tr;
50      Int_t sntr;      Int_t sntr;
51    
52        Float_t  beta_in;
53      //      //
54      Int_t   ncount_trk;      Int_t   ncount_trk;
55      Float_t charge_trk;      Float_t charge_trk;
56      Float_t charge_layer_trk[6];      Float_t charge_layer_trk[6];
57        Float_t charge_PMT_trk[48];
58      Int_t layerinfo_trk[6];      Int_t layerinfo_trk[6];
59    
60      Int_t   ncount_std;      Int_t   ncount_std;
61      Float_t charge_std;      Float_t charge_std;
62      Float_t charge_layer_std[6];      Float_t charge_layer_std[6];
63        Float_t charge_PMT_std[48];
64      Int_t layerinfo_std[6];      Int_t layerinfo_std[6];
65      //      //
66    
67   public:   public:
68      //      //
69    
70        void Set_Beta(Float_t beta){ beta_in=beta;};
71      //      //
72      Int_t Get_Ncount_ToF_trk(){ Process(); return ncount_trk;};      Int_t Get_Ncount_ToF_trk(){ Process(); return ncount_trk;};
73      Float_t Get_Charge_ToF_trk(){ Process(); return charge_trk;};      Float_t Get_Charge_ToF_trk(){ Process(); return charge_trk;};
74      Float_t *Get_Charge_ToF_trk_layer(){ Process(); return charge_layer_trk;};      Float_t *Get_Charge_ToF_trk_layer(){ Process(); return charge_layer_trk;};
75        Float_t Get_Charge_ToF_trk_layer(Int_t layer){ Process(); return charge_layer_trk[layer];};
76        Float_t *Get_Charge_ToF_trk_PMT(){ Process(); return charge_PMT_trk;};
77        Float_t Get_Charge_ToF_trk_PMT(Int_t ipmt){ Process(); return charge_PMT_trk[ipmt];};
78      Int_t *Get_Layerinfo_trk(){ Process(); return layerinfo_trk;};      Int_t *Get_Layerinfo_trk(){ Process(); return layerinfo_trk;};
79        Int_t Get_Layerinfo_trk(Int_t layer){ Process(); return layerinfo_trk[layer];};
80      //      //
81      Int_t Get_Ncount_ToF_std(){ Process(); return ncount_std;};      Int_t Get_Ncount_ToF_std(){ Process(); return ncount_std;};
82      Float_t Get_Charge_ToF_std(){ Process(); return charge_std;};      Float_t Get_Charge_ToF_std(){ Process(); return charge_std;};
83      Float_t *Get_Charge_ToF_std_layer(){ Process(); return charge_layer_std;};      Float_t *Get_Charge_ToF_std_layer(){ Process(); return charge_layer_std;};
84      Int_t *Get_Layerinfo_std(){ Process(); return layerinfo_std;};      Int_t *Get_Layerinfo_std(){ Process(); return layerinfo_std;};
85        Float_t *Get_Charge_ToF_std_PMT(){ Process(); return charge_PMT_std;};
86        Float_t Get_Charge_ToF_std_PMT(Int_t ipmt){ Process(); return charge_PMT_std[ipmt];};
87        Float_t Get_Charge_ToF_std_layer(Int_t layer){ Process(); return charge_layer_std[layer];};
88        Int_t Get_Layerinfo_std(Int_t layer){ Process(); return layerinfo_std[layer];};
89    
90      //      //
91      ToFNuclei();      ToFNuclei();

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

  ViewVC Help
Powered by ViewVC 1.1.23