test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HcalGeomParameters.h
Go to the documentation of this file.
1 #ifndef HcalCommonData_HcalGeomParameters_h
2 #define HcalCommonData_HcalGeomParameters_h
3 
14 #include<string>
15 #include<vector>
16 #include<iostream>
17 
21 
22 class DDCompactView;
23 class DDFilteredView;
24 class HcalParameters;
25 
27 
28 public:
29 
32 
33  double getConstDzHF() const {return dzVcal;}
34  void getConstRHO( std::vector<double> & ) const;
35  std::vector<int> getModHalfHBHE(const int type) const;
36  void loadGeometry(const DDFilteredView& _fv,
37  HcalParameters& php);
38 
39 private:
40  unsigned find (int element, std::vector<int>& array) const;
41  double getEta (double r, double z) const;
42 
43  int nzHB, nmodHB; // Number of halves and modules in HB
44  int nzHE, nmodHE; // Number of halves and modules in HE
45  double etaHO[4], rminHO; // eta in HO ring boundaries
46  double zVcal; // Z-position of the front of HF
47  double dzVcal; // Half length of the HF
48  double dlShort; // Diference of length between long and short
49 };
50 
51 #endif
type
Definition: HCALResponse.h:21
void loadGeometry(const DDFilteredView &_fv, HcalParameters &php)
unsigned find(int element, std::vector< int > &array) const
std::vector< int > getModHalfHBHE(const int type) const
type of data representation of DDCompactView
Definition: DDCompactView.h:77
double getConstDzHF() const
void getConstRHO(std::vector< double > &) const
double getEta(double r, double z) const