CMS 3D CMS Logo

AcceptanceTableHelper.h
Go to the documentation of this file.
1 #ifndef FastSim_ProtonTaggerAcceptanceHelper_H
2 #define FastSim_ProtonTaggerAcceptanceHelper_H
3 
5 
20 // Version: $Id: AcceptanceTableHelper.h,v 1.1 2007/09/28 08:39:53 dzaborov Exp $
21 
22 #include "TFile.h"
23 #include "TH3F.h"
24 
25 #include <string>
26 
28 {
29 public:
30 
33 
37  if (h_t_log10Xi_Phi) delete h_t_log10Xi_Phi;
38  }
39 
41  void Init(TFile&, const std::string);
42 
44  float GetAcceptance(float, float, float);
45 
46 private:
47 
50 
53 
54 };
55 
56 #endif
void Init(TFile &, const std::string)
Get acceptance tables from root file.
AcceptanceTableHelper()
Default constructor.
~AcceptanceTableHelper()
Delete acceptance histograms.
#define NULL
Definition: scimark2.h:8
TH3F * h_log10t_log10Xi_Phi
Table for low t: acceptance as a function of log10(t), log10(Xi) and Phi.
TH3F * h_t_log10Xi_Phi
Table for high t: acceptance as a function of -t, log10(Xi) and Phi.
Access to acceptance tables stored in ROOT file.
float GetAcceptance(float, float, float)
Acceptance as a function of t, xi and phi.