CMS 3D CMS Logo

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 DDCompactView;
15 class G4Step;
16 
17 #include <string>
18 #include <vector>
19 
21 public:
23  virtual ~HFShowerFibreBundle();
24  double getHits(const G4Step *aStep, bool type);
25  double getRadius();
26  void initRun(const HcalDDDSimConstants *);
27 
28 private:
29  std::vector<double> getDDDArray(const std::string &, const DDsvalues_type &);
30 
31 private:
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
type
Definition: HCALResponse.h:21
std::vector< int > pmtFib1
std::vector< double > rTable
HFShowerFibreBundle(const std::string &name, const DDCompactView &cpv, edm::ParameterSet const &p)
Compact representation of the geometrical detector hierarchy.
Definition: DDCompactView.h:80
std::vector< int > pmtR1
double getHits(const G4Step *aStep, bool type)
void initRun(const HcalDDDSimConstants *)
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
Definition: DDsvalues.h:12
std::vector< int > pmtR2
std::vector< int > pmtFib2
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &)