CMS 3D CMS Logo

APVCyclePhaseCollection.h
Go to the documentation of this file.
1 #ifndef DPGAnalysis_SiStripTools_APVCyclePhaseCollection_h
2 #define DPGAnalysis_SiStripTools_APVCyclePhaseCollection_h
3 
4 #include <string>
5 #include <map>
6 #include <vector>
7 
9 public:
12 
13  const std::map<std::string, int>& get() const { return _apvmap; };
14 
15  std::map<std::string, int>& get() { return _apvmap; };
16 
17  const int getPhase(const std::string partition) const;
18 
19  const std::vector<int> getPhases(const std::string partition) const;
20 
21  enum { nopartition = -91, multiphase = -92, empty = -98, invalid = -99 };
22 
23 private:
24  std::map<std::string, int> _apvmap;
25 };
26 
27 #endif // DPGAnalysis_SiStripTools_APVCyclePhaseCollection_h
std::map< std::string, int > _apvmap
const std::vector< int > getPhases(const std::string partition) const
const int getPhase(const std::string partition) const