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
size
Write out results.
std::string const & getLevelName(int level) const
std::vector< int > _sortedCopyNumber
std::vector< std::string > _sortedName
int getCopyNumber(int level) const
void addLevel(const std::string &name, const int &copyNumber)
const char * levelName(LogLevel)
Definition: fwLog.cc:32
void setSize(const int &size)
int getLevels() const