#include <EcalBaseNumber.h>
Public Member Functions | |
void | addLevel (const std::string &name, const int ©Number) |
EcalBaseNumber () | |
EcalBaseNumber (const EcalBaseNumber &aBaseNumber) | |
int | getCapacity () |
int | getCopyNumber (int level) const |
int | getCopyNumber (const std::string &levelName) const |
std::string const & | getLevelName (int level) const |
int | getLevels () const |
void | reset () |
void | reverse () |
void | setSize (const int &size) |
~EcalBaseNumber () | |
Protected Attributes | |
std::vector< int > | _sortedCopyNumber |
std::vector< std::string > | _sortedName |
int | _theLevels |
Definition at line 12 of file EcalBaseNumber.h.
EcalBaseNumber::EcalBaseNumber | ( | ) |
Definition at line 4 of file EcalBaseNumber.cc.
EcalBaseNumber::EcalBaseNumber | ( | const EcalBaseNumber & | aBaseNumber | ) |
Definition at line 6 of file EcalBaseNumber.cc.
|
inline |
Definition at line 16 of file EcalBaseNumber.h.
void EcalBaseNumber::addLevel | ( | const std::string & | name, |
const int & | copyNumber | ||
) |
Definition at line 16 of file EcalBaseNumber.cc.
References _sortedCopyNumber, _sortedName, _theLevels, and Skims_PA_cff::name.
Referenced by EcalDumpGeometry::dumpTouch(), EcalTBH4BeamSD::getBaseNumber(), ECalSD::getBaseNumber(), EcalTBHodoscopeGeometryLoaderFromDDD::getDetIdForDDDNode(), and CaloSteppingAction::update().
int EcalBaseNumber::getCapacity | ( | ) |
Definition at line 37 of file EcalBaseNumber.cc.
References _sortedName.
Referenced by EcalDumpGeometry::dumpTouch(), EcalTBH4BeamSD::getBaseNumber(), ECalSD::getBaseNumber(), and CaloSteppingAction::update().
int EcalBaseNumber::getCopyNumber | ( | int | level | ) | const |
Definition at line 24 of file EcalBaseNumber.cc.
References _sortedCopyNumber, and personalPlayback::level.
Referenced by ESTBNumberingScheme::getUnitID(), EcalEndcapNumberingScheme::getUnitID(), EcalHodoscopeNumberingScheme::getUnitID(), EcalPreshowerNumberingScheme::getUnitID(), EcalBarrelNumberingScheme::getUnitID(), and HcalTB04XtalNumberingScheme::getUnitID().
int EcalBaseNumber::getCopyNumber | ( | const std::string & | levelName | ) | const |
Definition at line 26 of file EcalBaseNumber.cc.
References _sortedCopyNumber, _sortedName, _theLevels, and fwlog::levelName().
std::string const & EcalBaseNumber::getLevelName | ( | int | level | ) | const |
Definition at line 35 of file EcalBaseNumber.cc.
References _sortedName, and personalPlayback::level.
Referenced by ESTBNumberingScheme::getUnitID(), EcalHodoscopeNumberingScheme::getUnitID(), EcalEndcapNumberingScheme::getUnitID(), EcalPreshowerNumberingScheme::getUnitID(), and EcalBarrelNumberingScheme::getUnitID().
int EcalBaseNumber::getLevels | ( | ) | const |
Definition at line 22 of file EcalBaseNumber.cc.
References _theLevels.
Referenced by ESTBNumberingScheme::getUnitID(), EcalEndcapNumberingScheme::getUnitID(), EcalHodoscopeNumberingScheme::getUnitID(), EcalPreshowerNumberingScheme::getUnitID(), EcalBarrelNumberingScheme::getUnitID(), and HcalTB04XtalNumberingScheme::getUnitID().
void EcalBaseNumber::reset | ( | void | ) |
Definition at line 39 of file EcalBaseNumber.cc.
References _theLevels.
Referenced by EcalDumpGeometry::dumpTouch(), EcalTBH4BeamSD::getBaseNumber(), and ECalSD::getBaseNumber().
void EcalBaseNumber::reverse | ( | ) |
Definition at line 41 of file EcalBaseNumber.cc.
References _sortedCopyNumber, _sortedName, mps_fire::end, and groupFilesInBlocks::reverse.
void EcalBaseNumber::setSize | ( | const int & | size | ) |
Definition at line 11 of file EcalBaseNumber.cc.
References _sortedCopyNumber, _sortedName, and findQualityFiles::size.
Referenced by EcalDumpGeometry::dumpTouch(), EcalTBH4BeamSD::getBaseNumber(), ECalSD::getBaseNumber(), and CaloSteppingAction::update().
|
protected |
Definition at line 32 of file EcalBaseNumber.h.
Referenced by addLevel(), getCopyNumber(), reverse(), and setSize().
|
protected |
Definition at line 31 of file EcalBaseNumber.h.
Referenced by addLevel(), getCapacity(), getCopyNumber(), getLevelName(), reverse(), and setSize().
|
protected |
Definition at line 33 of file EcalBaseNumber.h.
Referenced by addLevel(), getCopyNumber(), getLevels(), and reset().