test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 
8 
10 
11  public:
14 
15  const std::map<std::string,int>& get() const { return _apvmap; };
16 
17  std::map<std::string,int>& get() { return _apvmap; };
18 
19  const int getPhase(const std::string partition) const;
20 
21  const std::vector<int> getPhases(const std::string partition) const;
22 
23  enum{nopartition=-91,multiphase=-92,empty=-98,invalid=-99};
24 
25  private:
26 
27 
28  std::map<std::string,int> _apvmap;
29 
30 };
31 
32 #endif // DPGAnalysis_SiStripTools_APVCyclePhaseCollection_h
const int getPhase(const std::string partition) const
const std::vector< int > getPhases(const std::string partition) const
std::map< std::string, int > _apvmap