CMS 3D CMS Logo

LASConstants.h
Go to the documentation of this file.
1 
2 #ifndef _LASCONSTANTS_H
3 #define _LASCONSTANTS_H
4 
5 #include <vector>
6 #include <iostream>
7 
9 
10 class LASConstants {
11 public:
12  LASConstants();
13  LASConstants(std::vector<edm::ParameterSet> const&);
14  ~LASConstants();
15 
16  double GetEndcapBsKink(unsigned int det, unsigned int ring, unsigned int beam) const;
17  double GetAlignmentTubeBsKink(unsigned int beam) const;
18 
19  double GetTecRadius(unsigned int ring) const;
20  double GetAtRadius(void) const;
21 
22  double GetTecZPosition(unsigned int det, unsigned int disk) const;
23  double GetTibZPosition(unsigned int pos) const;
24  double GetTobZPosition(unsigned int pos) const;
25  double GetTecBsZPosition(unsigned int det) const;
26  double GetAtBsZPosition(void) const;
27 
28 private:
29  void InitContainers(void);
30  void FillBsKinks(edm::ParameterSet const&);
31  void FillRadii(edm::ParameterSet const&);
32  void FillZPositions(edm::ParameterSet const&);
33 
34  std::vector<std::vector<std::vector<double> > > endcapBsKinks; // outer to inner: det, ring, beam
35  std::vector<double> alignmentTubeBsKinks; // 8 beams
36 
37  std::vector<double> tecRadii;
38  double atRadius;
39 
40  std::vector<double> tecZPositions;
41  std::vector<double> tibZPositions;
42  std::vector<double> tobZPositions;
44  double atZPosition;
45 };
46 
47 #endif
double GetAlignmentTubeBsKink(unsigned int beam) const
Definition: LASConstants.cc:54
double GetTecRadius(unsigned int ring) const
Definition: LASConstants.cc:66
double GetEndcapBsKink(unsigned int det, unsigned int ring, unsigned int beam) const
Definition: LASConstants.cc:42
double GetTobZPosition(unsigned int pos) const
void FillRadii(edm::ParameterSet const &)
double GetAtBsZPosition(void) const
double atRadius
Definition: LASConstants.h:38
void FillZPositions(edm::ParameterSet const &)
std::vector< double > tecZPositions
Definition: LASConstants.h:40
std::vector< double > tecRadii
Definition: LASConstants.h:37
double atZPosition
Definition: LASConstants.h:44
double GetTibZPosition(unsigned int pos) const
Definition: LASConstants.cc:97
double tecBsZPosition
Definition: LASConstants.h:43
double GetTecBsZPosition(unsigned int det) const
std::vector< std::vector< std::vector< double > > > endcapBsKinks
Definition: LASConstants.h:34
double GetAtRadius(void) const
Definition: LASConstants.cc:77
std::vector< double > tobZPositions
Definition: LASConstants.h:42
void InitContainers(void)
std::vector< double > alignmentTubeBsKinks
Definition: LASConstants.h:35
double GetTecZPosition(unsigned int det, unsigned int disk) const
Definition: LASConstants.cc:82
std::vector< double > tibZPositions
Definition: LASConstants.h:41
void FillBsKinks(edm::ParameterSet const &)