11 MESet(_fullpath, _data, _readOnly),
41 std::map<uint32_t, unsigned>::iterator tableItr(
meTable_.find(rawId));
46 if(tableItr ==
meTable_.end())
return;
48 mes_.at(tableItr->second)->Fill(0.5, _w);
56 std::map<uint32_t, unsigned>::iterator tableItr(
meTable_.find(rawId));
61 if(tableItr ==
meTable_.end())
return;
63 mes_.at(tableItr->second)->Fill(0.5, _w);
71 std::map<uint32_t, unsigned>::iterator tableItr(
meTable_.find(rawId));
76 if(tableItr ==
meTable_.end())
return;
78 mes_.at(tableItr->second)->setBinContent(1, _content);
79 mes_.at(tableItr->second)->setBinError(1, _err);
87 std::map<uint32_t, unsigned>::iterator tableItr(
meTable_.find(rawId));
92 if(tableItr ==
meTable_.end())
return;
94 mes_.at(tableItr->second)->setBinContent(1, _content);
95 mes_.at(tableItr->second)->setBinError(1, _err);
103 if(_content == 0. && _entries == 0.){
110 for(
unsigned iME(0); iME <
mes_.size(); iME++){
111 mes_[iME]->setBinContent(1, _content);
112 mes_[iME]->setBinContent(1, _err);
114 mes_[iME]->setBinEntries(1, _entries);
123 std::map<uint32_t, unsigned>::const_iterator tableItr(
meTable_.find(rawId));
125 if(tableItr ==
meTable_.end())
return 0.;
127 return mes_.at(tableItr->second)->getBinContent(1);
135 std::map<uint32_t, unsigned>::const_iterator tableItr(
meTable_.find(rawId));
137 if(tableItr ==
meTable_.end())
return 0.;
139 return mes_.at(tableItr->second)->getBinContent(1);
148 for(vector<MonitorElement*>::iterator storeItr(storeMEs.begin()); storeItr != storeMEs.end(); ++storeItr){
153 mes_.push_back(*storeItr);
159 std::map<uint32_t, unsigned>::iterator
172 std::pair<std::map<uint32_t, unsigned>::iterator,
bool>
ins(
meTable_.insert(std::pair<uint32_t, unsigned>(_rawId,
mes_.size() - 1)));
std::string channelName(uint32_t, BinningType _btype=kDCC) const
const EcalElectronicsMapping * getElectronicsMap()
int tccId() const
get the DCC (Ecal Local DCC value not global one) id
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void reset(double _content=0., double _err=0., double _entries=0.)
void rmdir(const std::string &fullpath)
virtual void clear() const
Ecal readout channel identification [32:20] Unused (so far) [19:13] DCC id [12:6] tower [5:3] strip [...
MonitorElement::Kind kind
int towerId() const
get the tower id
void find(edm::Handle< EcalRecHitCollection > &hits, DetId thisDet, std::vector< EcalRecHitCollection::const_iterator > &hit, bool debug=false)
std::map< uint32_t, unsigned > meTable_
EcalElectronicsId getElectronicsId(const DetId &id) const
Get the electronics id for this det id.
static DQMStore * dqmStore_
std::vector< MonitorElement * > mes_
int ttId() const
get the tower id
std::map< uint32_t, unsigned >::iterator append_(std::string const &, uint32_t)
BinService::BinningType btype
uint32_t getIndex_(DetId const &) const
int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
std::vector< MonitorElement * > getContents(const std::string &path) const
int dccId() const
get the DCC (Ecal Local DCC value not global one) id
double getBinContent(DetId const &, int _bin=0) const
void checkDirectory() const
static BinService const * binService_
MESetChannel(std::string const &, MEData const &, bool _readOnly=false)
uint32_t idFromName(std::string const &) const
void fill(DetId const &, double _w=1., double _unused1=0., double _unused2=0.)
void setBinContent(DetId const &, double, double _err=0.)
void name(std::map< std::string, std::string > const &) const
Ecal trigger electronics identification [32:20] Unused (so far) [19:13] TCC id [12:6] TT id [5:3] pse...
void setCurrentFolder(const std::string &fullpath)
const std::string & pwd(void) const