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 public:
31 
35  delete h_log10t_log10Xi_Phi;
36  if (h_t_log10Xi_Phi)
37  delete h_t_log10Xi_Phi;
38  }
39 
41  void Init(TFile &, const std::string);
42 
44  float GetAcceptance(float, float, float);
45 
46 private:
49 
52 };
53 
54 #endif
AcceptanceTableHelper::h_log10t_log10Xi_Phi
TH3F * h_log10t_log10Xi_Phi
Table for low t: acceptance as a function of log10(t), log10(Xi) and Phi.
Definition: AcceptanceTableHelper.h:48
AcceptanceTableHelper::Init
void Init(TFile &, const std::string)
Get acceptance tables from root file.
Definition: AcceptanceTableHelper.cc:18
AcceptanceTableHelper::~AcceptanceTableHelper
~AcceptanceTableHelper()
Delete acceptance histograms.
Definition: AcceptanceTableHelper.h:33
AcceptanceTableHelper::GetAcceptance
float GetAcceptance(float, float, float)
Acceptance as a function of t, xi and phi.
Definition: AcceptanceTableHelper.cc:47
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
AcceptanceTableHelper::h_t_log10Xi_Phi
TH3F * h_t_log10Xi_Phi
Table for high t: acceptance as a function of -t, log10(Xi) and Phi.
Definition: AcceptanceTableHelper.h:51
AcceptanceTableHelper
Access to acceptance tables stored in ROOT file.
Definition: AcceptanceTableHelper.h:27
AcceptanceTableHelper::AcceptanceTableHelper
AcceptanceTableHelper()
Default constructor.
Definition: AcceptanceTableHelper.h:30