20 #ifdef WITH_ECAL_COND_DB
84 if (
debug_ )
std::cout <<
"EEStatusFlagsClient: beginJob" << std::endl;
93 if (
debug_ )
std::cout <<
"EEStatusFlagsClient: beginRun" << std::endl;
132 if (
h01_[ism-1] )
delete h01_[ism-1];
133 if (
h02_[ism-1] )
delete h02_[ism-1];
134 if (
h03_[ism-1] )
delete h03_[ism-1];
151 #ifdef WITH_ECAL_COND_DB
167 if (
meh01_[ism-1]->getEntries() != 0 ) status =
false;
181 if (
ievt_ % 10 == 0 ) {
206 for (
int ix = 1; ix <= 50; ix++ ) {
207 for (
int iy = 1; iy <= 50; iy++ ) {
209 if ( meh01_[ism-1] ) meh01_[ism-1]->
setBinError( ix, iy, 0.01 );
214 for (
int i = 1;
i <= 10;
i++ ) {
216 int it = (
i-1)/5 + 1;
217 if ( meh03_[ism-1] ) meh03_[ism-1]->setBinError( it, 1, 0.01 );
Cache logicID vector from database.
T getUntrackedParameter(std::string const &, T const &) const
static std::string sEE(const unsigned ism)
static bool maskChannel(int ism, int i1, int i2, uint32_t bits, const EcalSubdetector subdet)
std::vector< int > superModules_
Some "id" conversions.
void beginRun(void)
BeginRun.
static bool maskPn(int ism, int i1, uint32_t bits, const EcalSubdetector subdet)
MonitorElement * meh01_[18]
static const int STATUS_FLAG_ERROR
virtual ~EEStatusFlagsClient()
Destructor.
void beginJob(void)
BeginJob.
MonitorElement * meh03_[18]
void setBinError(int binx, double error)
set uncertainty on content of bin (1-D)
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
void analyze(void)
Analyze.
Ecal Monitor Utils for Client.
void cleanup(void)
Cleanup.
EEStatusFlagsClient(const edm::ParameterSet &ps)
Constructor.
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)
MonitorElement * meh02_[18]