18 #ifdef WITH_ECAL_COND_DB
82 if (
debug_ )
std::cout <<
"EEStatusFlagsClient: beginJob" << std::endl;
91 if (
debug_ )
std::cout <<
"EEStatusFlagsClient: beginRun" << std::endl;
130 if (
h01_[ism-1] )
delete h01_[ism-1];
131 if (
h02_[ism-1] )
delete h02_[ism-1];
132 if (
h03_[ism-1] )
delete h03_[ism-1];
149 #ifdef WITH_ECAL_COND_DB
165 if (
meh01_[ism-1]->getEntries() != 0 ) status =
false;
179 if (
ievt_ % 10 == 0 ) {
204 for (
int ix = 1; ix <= 50; ix++ ) {
205 for (
int iy = 1; iy <= 50; iy++ ) {
207 if ( meh01_[ism-1] ) meh01_[ism-1]->
setBinError( ix, iy, 0.01 );
212 for (
int i = 1;
i <= 10;
i++ ) {
214 int it = (
i-1)/5 + 1;
215 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]