CMS 3D CMS Logo

EcalBaseNumber.h
Go to the documentation of this file.
1 #ifndef EcalCommonData_EcalBaseNumber_h
2 #define EcalCommonData_EcalBaseNumber_h
3 
9 #include <vector>
10 #include <string>
11 
13 public:
15  EcalBaseNumber(const EcalBaseNumber& aBaseNumber);
17 
18  void setSize(const int& size);
19  void addLevel(const std::string& name, const int& copyNumber);
20 
21  int getLevels() const;
22  int getCopyNumber(int level) const;
23  int getCopyNumber(const std::string& levelName) const;
24  std::string const& getLevelName(int level) const;
25  int getCapacity();
26 
27  void reset();
28 
29 protected:
30  std::vector<std::string> _sortedName;
31  std::vector<int> _sortedCopyNumber;
33 };
34 
35 #endif
personalPlayback.level
level
Definition: personalPlayback.py:22
EcalBaseNumber::_sortedCopyNumber
std::vector< int > _sortedCopyNumber
Definition: EcalBaseNumber.h:31
EcalBaseNumber::getCopyNumber
int getCopyNumber(int level) const
Definition: EcalBaseNumber.cc:23
EcalBaseNumber::getLevelName
std::string const & getLevelName(int level) const
Definition: EcalBaseNumber.cc:34
EcalBaseNumber::~EcalBaseNumber
~EcalBaseNumber()
Definition: EcalBaseNumber.h:16
EcalBaseNumber::getCapacity
int getCapacity()
Definition: EcalBaseNumber.cc:36
EcalBaseNumber::addLevel
void addLevel(const std::string &name, const int &copyNumber)
Definition: EcalBaseNumber.cc:15
EcalBaseNumber::_sortedName
std::vector< std::string > _sortedName
Definition: EcalBaseNumber.h:30
EcalBaseNumber
Definition: EcalBaseNumber.h:12
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalBaseNumber::reset
void reset()
Definition: EcalBaseNumber.cc:38
EcalBaseNumber::_theLevels
int _theLevels
Definition: EcalBaseNumber.h:32
fwlog::levelName
const char * levelName(LogLevel)
Definition: fwLog.cc:32
EcalBaseNumber::getLevels
int getLevels() const
Definition: EcalBaseNumber.cc:21
EcalBaseNumber::EcalBaseNumber
EcalBaseNumber()
Definition: EcalBaseNumber.cc:3
Skims_PA_cff.name
name
Definition: Skims_PA_cff.py:17
EcalBaseNumber::setSize
void setSize(const int &size)
Definition: EcalBaseNumber.cc:10
findQualityFiles.size
size
Write out results.
Definition: findQualityFiles.py:443