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 
18  enum IntParamIndex { GEOGRAPHICAL_ID = 0, ISIZE = 1 };
19  enum BoolParamIndex { BSIZE = 1 };
20  enum FloatParamIndex { FSIZE = 0 };
21 
22  int getGeographicalId(int theIndex) const;
23  std::vector<int> getAllGeographicalIds() const;
24 
25  void setGeographicalId(int geographicalId);
26 
27  std::vector<std::vector<int>> intParams_;
28  std::vector<std::vector<bool>> boolParams_;
29  std::vector<std::vector<float>> floatParams_;
30 
32 };
33 
34 #endif
std::vector< std::vector< bool > > boolParams_
#define COND_SERIALIZABLE
Definition: Serializable.h:39
std::vector< std::vector< float > > floatParams_