20 #ifdef WITH_ECAL_COND_DB
82 if (
debug_ )
std::cout <<
"EBStatusFlagsClient: beginJob" << std::endl;
91 if (
debug_ )
std::cout <<
"EBStatusFlagsClient: 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 ie = 1; ie <= 85; ie++ ) {
205 for (
int ip = 1; ip <= 20; ip++ ) {
207 int iet = (ie-1)/5 + 1;
208 int ipt = (ip-1)/5 + 1;
214 for (
int i = 1;
i <= 10;
i++ ) {
216 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)