18 #ifdef WITH_ECAL_COND_DB
80 if (
debug_ )
std::cout <<
"EBStatusFlagsClient: beginJob" << std::endl;
89 if (
debug_ )
std::cout <<
"EBStatusFlagsClient: beginRun" << std::endl;
128 if (
h01_[ism-1] )
delete h01_[ism-1];
129 if (
h02_[ism-1] )
delete h02_[ism-1];
130 if (
h03_[ism-1] )
delete h03_[ism-1];
147 #ifdef WITH_ECAL_COND_DB
163 if (
meh01_[ism-1]->getEntries() != 0 ) status =
false;
177 if (
ievt_ % 10 == 0 ) {
202 for (
int ie = 1; ie <= 85; ie++ ) {
203 for (
int ip = 1; ip <= 20; ip++ ) {
205 int iet = (ie-1)/5 + 1;
206 int ipt = (ip-1)/5 + 1;
212 for (
int i = 1;
i <= 10;
i++ ) {
214 int it = (
i-1)/5 + 1;
void cleanup(void)
Cleanup.
Cache logicID vector from database.
T getUntrackedParameter(std::string const &, T const &) const
static bool maskChannel(int ism, int i1, int i2, uint32_t bits, const EcalSubdetector subdet)
static T getHisto(const MonitorElement *me, bool clone=false, T ret=0)
Returns the histogram contained by the Monitor Element.
Some "id" conversions.
static std::string sEB(const unsigned ism)
EBStatusFlagsClient(const edm::ParameterSet &ps)
Constructor.
std::vector< int > superModules_
static bool maskPn(int ism, int i1, uint32_t bits, const EcalSubdetector subdet)
static const int STATUS_FLAG_ERROR
void beginRun(void)
BeginRun.
MonitorElement * meh03_[36]
void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
MonitorElement * meh01_[36]
MonitorElement * meh02_[36]
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
Ecal Monitor Utils for Client.
void beginJob(void)
BeginJob.
void analyze(void)
Analyze.
virtual ~EBStatusFlagsClient()
Destructor.
int ism(int ieta, int iphi)
static void printBadChannels(const MonitorElement *me, TH1 *hi, bool positive_only=false)
Print the bad channels.
void setCurrentFolder(const std::string &fullpath)