1 #ifndef MESetBinningUtils_H 2 #define MESetBinningUtils_H 81 AxisSpecs() : nbins(0), low(0.), high(0.), edges(0), labels(0), title(
"") {}
83 nbins(_specs.nbins), low(_specs.low), high(_specs.high), edges(0), labels(0), title(_specs.title)
86 edges =
new float[nbins + 1];
96 if(edges){
delete [] edges; edges = 0; }
97 if(labels){
delete []
labels; labels = 0; }
100 edges =
new float[nbins + 1];
unsigned findPlotIndex(ObjectType, int, BinningType _btype=kDCC)
int findBinRCT_(ObjectType, DetId const &)
int findBinTriggerTower_(ObjectType, DetId const &)
TObject * getObject(TDirectory *fDir, const std::vector< std::string > &fObjectName)
bool isValidIdBin(ObjectType, BinningType, unsigned, int)
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
unsigned getNObjects(ObjectType)
int findBinSuperCrystal_(ObjectType, EcalElectronicsId const &)
int findBin2D(ObjectType, BinningType, int)
ObjectType translateObjectType(std::string const &)
AxisSpecs getBinning(ObjectType, BinningType, bool, int, unsigned)
AxisSpecs getBinningSMMEM_(BinningType, bool, unsigned, int)
int findBinCrystal_(ObjectType, EcalElectronicsId const &)
AxisSpecs(AxisSpecs const &_specs)
AxisSpecs getBinningEB_(BinningType, bool, int)
AxisSpecs & operator=(AxisSpecs const &_rhs)
uint32_t idFromName(std::string const &)
AxisSpecs getBinningSM_(BinningType, bool, unsigned, int)
std::string channelName(uint32_t, BinningType _btype=kDCC)
AxisSpecs getBinningEE_(BinningType, bool, int, int)
void fillAxisDescriptions(edm::ParameterSetDescription &)
int findBin1D(ObjectType, BinningType, int)
MonitorElement::Kind translateKind(std::string const &)
int findBinPseudoStrip_(ObjectType, DetId const &)
BinningType translateBinningType(std::string const &)
AxisSpecs formAxis(edm::ParameterSet const &)
AxisSpecs getBinningMEM_(BinningType, bool, int, int)
AxisSpecs getBinningEcal_(BinningType, bool, int)
uint32_t idFromBin(ObjectType, BinningType, unsigned, int)