CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 DDCompactView;
15 class G4Step;
16 
17 #include <string>
18 #include <vector>
19 
21 
22 public:
23 
25  edm::ParameterSet const & p);
26  virtual ~HFShowerFibreBundle();
27  double getHits(G4Step * aStep, bool type);
28  double getRadius();
29  void initRun(G4ParticleTable *, HcalDDDSimConstants*);
30 
31 private:
32 
33  std::vector<double> getDDDArray(const std::string&, const DDsvalues_type&);
34 
35 private:
36 
38  double facTube, facCone; //Packing factors
39  int indexR, indexF;
40  std::vector<double> rTable; // R-table
41  std::vector<int> pmtR1, pmtFib1; // R-index, fibre table for right box
42  std::vector<int> pmtR2, pmtFib2; // R-index, fibre table for left box
43 };
44 
45 #endif // HFShowerFibreBundle_h
type
Definition: HCALResponse.h:21
std::vector< int > pmtFib1
std::vector< double > rTable
double getHits(G4Step *aStep, bool type)
type of data representation of DDCompactView
Definition: DDCompactView.h:77
std::vector< std::pair< unsigned int, DDValue > > DDsvalues_type
std::maps an index to a DDValue. The index corresponds to the index assigned to the name of the std::...
Definition: DDsvalues.h:19
std::vector< int > pmtR1
void initRun(G4ParticleTable *, HcalDDDSimConstants *)
HFShowerFibreBundle(std::string &name, const DDCompactView &cpv, edm::ParameterSet const &p)
std::vector< int > pmtR2
std::vector< int > pmtFib2
std::vector< double > getDDDArray(const std::string &, const DDsvalues_type &)