CMS 3D CMS Logo

PTrackerAdditionalParametersPerDet.h
Go to the documentation of this file.
1 #ifndef CondFormats_PTrackerAdditionalParametersPerDet_h
2 #define CondFormats_PTrackerAdditionalParametersPerDet_h
3 
5 
6 #include <vector>
7 #include <string>
8 
10 public:
12  intParams_.resize(ISIZE, std::vector<int>(0, 0));
13  floatParams_.resize(FSIZE, std::vector<float>(0, 0.));
14  boolParams_.resize(BSIZE, std::vector<bool>(0, false));
15  };
17 
19  enum BoolParamIndex { BSIZE = 0 };
21 
22  int getGeographicalId(int theIndex) const;
23  int bigPixelsX(int theIndex) const;
24  int bigPixelsY(int theIndex) const;
25  float bigPixelsPitchX(int theIndex) const;
26  float bigPixelsPitchY(int theIndex) const;
27 
28  std::vector<int> getAllGeographicalIds() const;
29  std::vector<int> allBigPixelsXs() const;
30  std::vector<int> allBigPixelsYs() const;
31  std::vector<float> allBigPixelsPitchXs() const;
32  std::vector<float> allBigPixelsPitchYs() const;
33 
34  void setGeographicalId(int geographicalId);
35  void setBigPixelsX(int bigPixelsX);
36  void setBigPixelsY(int bigPixelsY);
39 
40  std::vector<std::vector<int>> intParams_;
41  std::vector<std::vector<bool>> boolParams_;
42  std::vector<std::vector<float>> floatParams_;
43 
45 };
46 
47 #endif
std::vector< std::vector< bool > > boolParams_
#define COND_SERIALIZABLE
Definition: Serializable.h:39
std::vector< std::vector< float > > floatParams_