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
APVCyclePhaseCollection::multiphase
Definition: APVCyclePhaseCollection.h:21
APVCyclePhaseCollection::invalid
Definition: APVCyclePhaseCollection.h:21
APVCyclePhaseCollection
Definition: APVCyclePhaseCollection.h:8
APVCyclePhaseCollection::empty
Definition: APVCyclePhaseCollection.h:21
APVCyclePhaseCollection::_apvmap
std::map< std::string, int > _apvmap
Definition: APVCyclePhaseCollection.h:24
APVCyclePhaseCollection::getPhases
const std::vector< int > getPhases(const std::string partition) const
Definition: APVCyclePhaseCollection.cc:23
APVCyclePhaseCollection::get
const std::map< std::string, int > & get() const
Definition: APVCyclePhaseCollection.h:13
APVCyclePhaseCollection::APVCyclePhaseCollection
APVCyclePhaseCollection()
Definition: APVCyclePhaseCollection.h:10
APVCyclePhaseCollection::get
std::map< std::string, int > & get()
Definition: APVCyclePhaseCollection.h:15
APVCyclePhaseCollection::~APVCyclePhaseCollection
~APVCyclePhaseCollection()
Definition: APVCyclePhaseCollection.h:11
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
APVCyclePhaseCollection::getPhase
const int getPhase(const std::string partition) const
Definition: APVCyclePhaseCollection.cc:5
APVCyclePhaseCollection::nopartition
Definition: APVCyclePhaseCollection.h:21