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
double getRadius()
Definition: HFShowerPMT.cc:98
HFShowerPMT(const std::string &name, const HcalDDDSimConstants *hcons, const HcalSimulationParameters *hps, edm::ParameterSet const &p)
Definition: HFShowerPMT.cc:19
std::vector< double > rTable
Definition: HFShowerPMT.h:35
std::vector< int > pmtFib1
Definition: HFShowerPMT.h:36
std::unique_ptr< HFCherenkov > cherenkov_
Definition: HFShowerPMT.h:32
virtual ~HFShowerPMT()
Definition: HFShowerPMT.cc:56
double pePerGeV
Definition: HFShowerPMT.h:33
double getHits(const G4Step *aStep)
Definition: HFShowerPMT.cc:58
std::vector< int > pmtR2
Definition: HFShowerPMT.h:37
const HcalDDDSimConstants * hcalConstant_
Definition: HFShowerPMT.h:30
const HcalSimulationParameters * hcalsimpar_
Definition: HFShowerPMT.h:31
std::vector< int > pmtFib2
Definition: HFShowerPMT.h:37
std::vector< int > pmtR1
Definition: HFShowerPMT.h:36