45 for (
int i = 0;
i < 18;
i++) {
97 for (
int i = 0;
i < 18;
i++) {
123 for (
int i = 0;
i < 18;
i++) {
154 for (
int i = 0;
i < 18;
i++) {
162 name =
"EESFT MEM front-end status " +
Numbers::sEE(i+1);
168 name =
"EESFT front-end status bits " +
Numbers::sEE(i+1);
192 name =
"EESFT weighted frontend errors by lumi";
195 for (
int i = 0;
i < 18;
i++) {
205 if ( !
init_ )
return;
215 for (
int i = 0;
i < 18;
i++) {
221 for (
int i = 0;
i < 18;
i++) {
265 float xism = ism + 0.5;
269 const std::vector<short>
status = dcchItr->getFEStatus();
271 for (
unsigned int itt=1; itt<=status.size(); itt++ ) {
273 if ( itt > 70 )
continue;
275 if ( itt >= 42 && itt <= 68 )
continue;
277 if ( ( ism == 8 || ism == 17 ) && ( itt >= 18 && itt <= 24 ) )
continue;
279 if ( itt >= 1 && itt <= 41 ) {
283 for (
unsigned int i=0;
i<crystals->size();
i++ ) {
290 if ( ism >= 1 && ism <= 9 ) ix = 101 - ix;
292 float xix = ix - 0.5;
293 float xiy = iy - 0.5;
295 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 ) ) {
302 }
else if ( itt == 69 || itt == 70 ) {
304 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 ) ) {
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
const std::string & getName(void) const
get name of ME
static std::string sEE(const unsigned ism)
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void analyze(const edm::Event &e, const edm::EventSetup &c)
Analyze.
void rmdir(const std::string &fullpath)
Some "id" conversions.
virtual ~EEStatusFlagsTask()
Destructor.
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.
MonitorElement * meFEchErrorsByLumi_
void beginLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup)
BeginLuminosityBlock.
void beginJob(void)
BeginJob.
static int ix0EE(const unsigned ism)
MonitorElement * meEvtType_[18]
static int iy0EE(const unsigned ism)
void tag(MonitorElement *me, unsigned int myTag)
static std::vector< DetId > * crystals(const EcalTrigTowerDetId &id)
void endLuminosityBlock(const edm::LuminosityBlock &lumiBlock, const edm::EventSetup &iSetup)
EndLuminosityBlock.
void removeElement(const std::string &name)
std::string getName(Reflex::Type &cc)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
EEStatusFlagsTask(const edm::ParameterSet &ps)
Constructor.
static void initGeometry(const edm::EventSetup &setup, bool verbose=false)
edm::InputTag EcalRawDataCollection_
void endRun(const edm::Run &r, const edm::EventSetup &c)
EndRun.
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)
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)
MonitorElement * meFEchErrors_[18][3]
void setCurrentFolder(const std::string &fullpath)
void beginRun(const edm::Run &r, const edm::EventSetup &c)
BeginRun.