43 for (
int i = 0;
i < 36;
i++) {
95 for (
int i = 0;
i < 36;
i++) {
120 for (
int i = 0;
i < 36;
i++) {
151 for (
int i = 0;
i < 36;
i++) {
158 name =
"EBSFT MEM front-end status " +
Numbers::sEB(i+1);
164 name =
"EBSFT front-end status bits " +
Numbers::sEB(i+1);
188 name =
"EBSFT weighted frontend errors by lumi";
191 for (
int i = 0;
i < 36;
i++) {
201 if ( !
init_ )
return;
212 for (
int i = 0;
i < 36;
i++) {
218 for (
int i = 0;
i < 36;
i++) {
262 float xism = ism + 0.5;
266 const std::vector<short>
status = dcchItr->getFEStatus();
268 for (
unsigned int itt=1; itt<=status.size(); itt++ ) {
270 if ( itt > 70 )
continue;
272 if ( itt >= 1 && itt <= 68 ) {
274 int iet = (itt-1)/4 + 1;
275 int ipt = (itt-1)%4 + 1;
277 float xiet = iet - 0.5;
278 float xipt = ipt - 0.5;
280 if ( ! ( status[itt-1] == 0 || status[itt-1] == 1 || status[itt-1] == 7 || status[itt-1] == 8 || status[itt-1] == 12 || status[itt-1] == 15 ) ) {
285 }
else if ( itt == 69 || itt == 70 ) {
287 if ( ! ( status[itt-1] == 0 || status[itt-1] == 1 || status[itt-1] == 7 || status[itt-1] == 8 || status[itt-1] == 12 || status[itt-1] == 15 ) ) {
MonitorElement * meFEchErrors_[36][3]
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
const std::string & getName(void) const
get name of ME
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void rmdir(const std::string &fullpath)
edm::InputTag EcalRawDataCollection_
Some "id" conversions.
static std::string sEB(const unsigned ism)
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
std::vector< T >::const_iterator const_iterator
void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
void cleanup(void)
Cleanup.
void endLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup)
EndLuminosityBlock.
void tag(MonitorElement *me, unsigned int myTag)
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.
void removeElement(const std::string &name)
MonitorElement * meFEchErrorsByLumi_
virtual ~EBStatusFlagsTask()
Destructor.
void beginJob(void)
BeginJob.
std::string getName(Reflex::Type &cc)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
MonitorElement * meEvtType_[36]
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
static void initGeometry(const edm::EventSetup &setup, bool verbose=false)
void beginLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup)
BeginLuminosityBlock.
static unsigned iSM(const unsigned ism, const EcalSubdetector subdet)
static EcalSubdetector subDet(const EBDetId &id)
void setLumiFlag(void)
this ME is meant to be stored for each luminosity section
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
int ism(int ieta, int iphi)
EBStatusFlagsTask(const edm::ParameterSet &ps)
Constructor.
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)
void Reset(void)
reset ME (ie. contents, errors, etc)
void setCurrentFolder(const std::string &fullpath)