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 
9 #include <vector>
10 #include <string>
11 
13  public:
14 
16  EcalBaseNumber( const EcalBaseNumber & aBaseNumber );
18 
19  void setSize(const int & size);
20  void addLevel(const std::string& name, const int & copyNumber);
21 
22  int getLevels() const;
23  int getCopyNumber(int level) const;
24  int getCopyNumber(const std::string& levelName) const;
25  std::string const & getLevelName(int level) const;
26  int getCapacity();
27 
28  void reset();
29 
30  protected:
31  std::vector<std::string> _sortedName;
32  std::vector<int> _sortedCopyNumber;
34 
35 };
36 
37 #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:34
tuple level
Definition: testEve_cfg.py:34
void setSize(const int &size)
int getLevels() const
tuple size
Write out results.