CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HFShowerFibreBundle.h
Go to the documentation of this file.
1 #ifndef SimG4CMS_HFShowerFibreBundle_h
2 #define SimG4CMS_HFShowerFibreBundle_h
3 // File: HFShowerFibreBundle.h
5 // Description: Get energy deposits for HFShower PMT's
7 
13 
14 class G4Step;
15 
16 #include <string>
17 #include <vector>
18 
20 public:
22  const HcalDDDSimConstants *hcons,
23  const HcalSimulationParameters *hps,
24  edm::ParameterSet const &p);
25  virtual ~HFShowerFibreBundle();
26  double getHits(const G4Step *aStep, bool type);
27  double getRadius();
28 
29 private:
32  std::unique_ptr<HFCherenkov> cherenkov1_, cherenkov2_;
33  double facTube, facCone; //Packing factors
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 // HFShowerFibreBundle_h
std::vector< int > pmtFib1
std::vector< double > rTable
const HcalDDDSimConstants * hcalConstant_
HFShowerFibreBundle(const std::string &name, const HcalDDDSimConstants *hcons, const HcalSimulationParameters *hps, edm::ParameterSet const &p)
std::vector< int > pmtR1
double getHits(const G4Step *aStep, bool type)
std::unique_ptr< HFCherenkov > cherenkov2_
const HcalSimulationParameters * hcalsimpar_
std::unique_ptr< HFCherenkov > cherenkov1_
std::vector< int > pmtR2
std::vector< int > pmtFib2