CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
EcalBaseNumber.h
Go to the documentation of this file.
1 #ifndef EcalCommonData_EcalBaseNumber_h
2 #define EcalCommonData_EcalBaseNumber_h
3 
10 #include <vector>
11 #include <string>
12 
14  public:
15 
17  EcalBaseNumber( const EcalBaseNumber & aBaseNumber );
19 
20  void setSize(const int & size);
21  void addLevel(const std::string& name, const int & copyNumber);
22 
23  int getLevels() const;
24  int getCopyNumber(int level) const;
25  int getCopyNumber(const std::string& levelName) const;
26  std::string const & getLevelName(int level) const;
27  int getCapacity();
28 
29  void reset();
30 
31  protected:
32  std::vector<std::string> _sortedName;
33  std::vector<int> _sortedCopyNumber;
35 
36 };
37 
38 #endif
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:35
tuple level
Definition: testEve_cfg.py:34
void setSize(const int &size)
int getLevels() const
tuple size
Write out results.