test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
11 class LASConstants {
12 
13  public:
14  LASConstants();
15  LASConstants( std::vector<edm::ParameterSet> const& );
16  ~LASConstants();
17 
18  double GetEndcapBsKink( unsigned int det, unsigned int ring, unsigned int beam ) const;
19  double GetAlignmentTubeBsKink( unsigned int beam ) const;
20 
21  double GetTecRadius( unsigned int ring ) const;
22  double GetAtRadius( void ) const;
23 
24  double GetTecZPosition( unsigned int det, unsigned int disk ) const;
25  double GetTibZPosition( unsigned int pos ) const;
26  double GetTobZPosition( unsigned int pos ) const;
27  double GetTecBsZPosition( unsigned int det ) const;
28  double GetAtBsZPosition( void ) const;
29 
30  private:
31  void InitContainers( void );
32  void FillBsKinks( edm::ParameterSet const& );
33  void FillRadii( edm::ParameterSet const& );
34  void FillZPositions( edm::ParameterSet const& );
35 
36  std::vector<std::vector<std::vector<double> > > endcapBsKinks; // outer to inner: det, ring, beam
37  std::vector<double> alignmentTubeBsKinks; // 8 beams
38 
39  std::vector<double> tecRadii;
40  double atRadius;
41 
42  std::vector<double> tecZPositions;
43  std::vector<double> tibZPositions;
44  std::vector<double> tobZPositions;
46  double atZPosition;
47 
48 };
49 
50 
51 #endif
52 
double GetTobZPosition(unsigned int pos) const
double GetAtBsZPosition(void) const
double GetTecRadius(unsigned int ring) const
Definition: LASConstants.cc:92
void FillRadii(edm::ParameterSet const &)
double GetAlignmentTubeBsKink(unsigned int beam) const
Definition: LASConstants.cc:75
double atRadius
Definition: LASConstants.h:40
void FillZPositions(edm::ParameterSet const &)
std::vector< double > tecZPositions
Definition: LASConstants.h:42
double GetTibZPosition(unsigned int pos) const
std::vector< double > tecRadii
Definition: LASConstants.h:39
double atZPosition
Definition: LASConstants.h:46
double GetEndcapBsKink(unsigned int det, unsigned int ring, unsigned int beam) const
Definition: LASConstants.cc:58
double GetTecZPosition(unsigned int det, unsigned int disk) const
double GetTecBsZPosition(unsigned int det) const
double tecBsZPosition
Definition: LASConstants.h:45
std::vector< std::vector< std::vector< double > > > endcapBsKinks
Definition: LASConstants.h:36
std::vector< double > tobZPositions
Definition: LASConstants.h:44
double GetAtRadius(void) const
void InitContainers(void)
std::vector< double > alignmentTubeBsKinks
Definition: LASConstants.h:37
std::vector< double > tibZPositions
Definition: LASConstants.h:43
void FillBsKinks(edm::ParameterSet const &)