CMS 3D CMS Logo

HFShowerPMT.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HFShowerPMT_h
2 #define SimG4CMS_HFShowerPMT_h
3 // File: HFShowerPMT.h
5 // Description: Maps HF PMT's to given
7 
13 
14 class G4Step;
15 
16 #include <string>
17 #include <vector>
18 
19 class HFShowerPMT {
20 public:
22  const HcalDDDSimConstants* hcons,
23  const HcalSimulationParameters* hps,
24  edm::ParameterSet const& p);
25  virtual ~HFShowerPMT();
26  double getHits(const G4Step* aStep);
27  double getRadius();
28 
29 private:
32  std::unique_ptr<HFCherenkov> cherenkov_;
33  double pePerGeV; // PE per GeV of energy deposit
34  int indexR, indexF;
35  std::vector<double> rTable; // R-table
36  std::vector<int> pmtR1, pmtFib1; // R-index, fibre table for right box
37  std::vector<int> pmtR2, pmtFib2; // R-index, fibre table for left box
38 };
39 
40 #endif // HFShowerPMT_h
HFShowerPMT::indexF
int indexF
Definition: HFShowerPMT.h:34
HFShowerPMT::pmtFib1
std::vector< int > pmtFib1
Definition: HFShowerPMT.h:36
HFShowerPMT
Definition: HFShowerPMT.h:19
MessageLogger.h
AlCaHLTBitMon_ParallelJobs.p
p
Definition: AlCaHLTBitMon_ParallelJobs.py:153
HFShowerPMT::HFShowerPMT
HFShowerPMT(const std::string &name, const HcalDDDSimConstants *hcons, const HcalSimulationParameters *hps, edm::ParameterSet const &p)
Definition: HFShowerPMT.cc:19
HFShowerPMT::getRadius
double getRadius()
Definition: HFShowerPMT.cc:97
HFShowerPMT::rTable
std::vector< double > rTable
Definition: HFShowerPMT.h:35
HFShowerPMT::pePerGeV
double pePerGeV
Definition: HFShowerPMT.h:33
HFShowerPMT::cherenkov_
std::unique_ptr< HFCherenkov > cherenkov_
Definition: HFShowerPMT.h:32
HcalDDDSimConstants
Definition: HcalDDDSimConstants.h:24
HFCherenkov.h
HFShowerPMT::~HFShowerPMT
virtual ~HFShowerPMT()
Definition: HFShowerPMT.cc:56
HFShowerPMT::getHits
double getHits(const G4Step *aStep)
Definition: HFShowerPMT.cc:58
HcalSimulationParameters.h
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
edm::ParameterSet
Definition: ParameterSet.h:47
HFShowerPMT::hcalConstant_
const HcalDDDSimConstants * hcalConstant_
Definition: HFShowerPMT.h:30
HFShowerPMT::pmtR2
std::vector< int > pmtR2
Definition: HFShowerPMT.h:37
HFShowerPMT::hcalsimpar_
const HcalSimulationParameters * hcalsimpar_
Definition: HFShowerPMT.h:31
HFShowerPMT::pmtFib2
std::vector< int > pmtFib2
Definition: HFShowerPMT.h:37
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
ParameterSet.h
HFShowerPMT::indexR
int indexR
Definition: HFShowerPMT.h:34
HcalSimulationParameters
Definition: HcalSimulationParameters.h:6
HcalDDDSimConstants.h
HFShowerPMT::pmtR1
std::vector< int > pmtR1
Definition: HFShowerPMT.h:36