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 
12 
13 class DDCompactView;
14 class G4Step;
15 
16 #include <string>
17 #include <vector>
18 
20 
21 public:
22 
24  edm::ParameterSet const & p);
25  virtual ~HFShowerFibreBundle();
26  double getHits(G4Step * aStep, bool type);
27  double getRadius();
28 
29 private:
30 
31  std::vector<double> getDDDArray(const std::string&, const DDsvalues_type&);
32 
33 private:
34 
36  double facTube, facCone; //Packing factors
37  int indexR, indexF;
38  std::vector<double> rTable; // R-table
39  std::vector<int> pmtR1, pmtFib1; // R-index, fibre table for right box
40  std::vector<int> pmtR2, pmtFib2; // R-index, fibre table for left box
41 };
42 
43 #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:76
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
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 &)