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
LASConstants::GetAlignmentTubeBsKink
double GetAlignmentTubeBsKink(unsigned int beam) const
Definition: LASConstants.cc:54
LASConstants::tibZPositions
std::vector< double > tibZPositions
Definition: LASConstants.h:41
LASConstants::atZPosition
double atZPosition
Definition: LASConstants.h:44
LASConstants::alignmentTubeBsKinks
std::vector< double > alignmentTubeBsKinks
Definition: LASConstants.h:35
LASConstants::InitContainers
void InitContainers(void)
Definition: LASConstants.cc:131
LASConstants::GetTobZPosition
double GetTobZPosition(unsigned int pos) const
Definition: LASConstants.cc:109
pos
Definition: PixelAliasList.h:18
LASConstants::tecBsZPosition
double tecBsZPosition
Definition: LASConstants.h:43
LASConstants::GetAtBsZPosition
double GetAtBsZPosition(void) const
Definition: LASConstants.cc:126
LASConstants::atRadius
double atRadius
Definition: LASConstants.h:38
LASConstants::endcapBsKinks
std::vector< std::vector< std::vector< double > > > endcapBsKinks
Definition: LASConstants.h:34
LASConstants::FillBsKinks
void FillBsKinks(edm::ParameterSet const &)
Definition: LASConstants.cc:156
LASConstants::tecRadii
std::vector< double > tecRadii
Definition: LASConstants.h:37
LASConstants::LASConstants
LASConstants()
Definition: LASConstants.cc:9
LASConstants::GetTecRadius
double GetTecRadius(unsigned int ring) const
Definition: LASConstants.cc:66
LASConstants::GetTibZPosition
double GetTibZPosition(unsigned int pos) const
Definition: LASConstants.cc:97
EcalCondDBWriter_cfi.beam
beam
Definition: EcalCondDBWriter_cfi.py:45
LASConstants::tobZPositions
std::vector< double > tobZPositions
Definition: LASConstants.h:42
edm::ParameterSet
Definition: ParameterSet.h:36
LASConstants::FillZPositions
void FillZPositions(edm::ParameterSet const &)
Definition: LASConstants.cc:194
LASConstants::tecZPositions
std::vector< double > tecZPositions
Definition: LASConstants.h:40
LASConstants::FillRadii
void FillRadii(edm::ParameterSet const &)
Definition: LASConstants.cc:186
LASConstants::GetEndcapBsKink
double GetEndcapBsKink(unsigned int det, unsigned int ring, unsigned int beam) const
Definition: LASConstants.cc:42
LASConstants::GetTecBsZPosition
double GetTecBsZPosition(unsigned int det) const
Definition: LASConstants.cc:121
LASConstants::~LASConstants
~LASConstants()
Definition: LASConstants.cc:34
relativeConstraints.ring
ring
Definition: relativeConstraints.py:68
ParameterSet.h
LASConstants
Definition: LASConstants.h:10
LASConstants::GetTecZPosition
double GetTecZPosition(unsigned int det, unsigned int disk) const
Definition: LASConstants.cc:82
LASConstants::GetAtRadius
double GetAtRadius(void) const
Definition: LASConstants.cc:77