43 rctSource_( ps.getParameter<
InputTag >(
"rctSource") )
51 std::cout <<
"L1TRCT: constructor...." << std::endl;
64 cout <<
"L1T Monitoring histograms will be saved to " <<
98 dbe->
rmdir(
"L1T/L1TRCT");
109 dbe->
book2D(
"RctEmIsoEmOccEtaPhi",
"ISO EM OCCUPANCY",
ETABINS,
112 dbe->
book2D(
"RctEmNonIsoEmEtEtaPhi",
"NON-ISO EM E_{T}",
ETABINS,
115 dbe->
book2D(
"RctEmNonIsoEmOccEtaPhi",
"NON-ISO EM OCCUPANCY",
123 dbe->
book2D(
"RctRegionsOccEtaPhi",
"REGION OCCUPANCY",
ETABINS,
127 dbe->
book2D(
"RctBitOverFlowEtaPhi",
"OVER FLOW OCCUPANCY",
ETABINS,
131 dbe->
book2D(
"RctBitTauVetoEtaPhi",
"TAU VETO OCCUPANCY",
ETABINS,
143 dbe->
book2D(
"RctBitHfPlusTauEtaPhi",
"HF plus Tau OCCUPANCY",
ETABINS,
193 std::cout <<
"L1TRCT: end job...." << std::endl;
194 LogInfo(
"EndJob") <<
"analyzed " <<
nev_ <<
" events";
206 std::cout <<
"L1TRCT: analyze...." << std::endl;
221 edm::LogInfo(
"DataNotFound") <<
"can't find L1CaloRegionCollection with label "
230 for (L1CaloRegionCollection::const_iterator ireg = rgn->begin();
231 ireg != rgn->end(); ireg++) {
251 if(ireg->mip())
rctMipEtaPhi_ ->Fill(ireg->gctEta(), ireg->gctPhi());
252 if(ireg->quiet())
rctQuietEtaPhi_ ->Fill(ireg->gctEta(), ireg->gctPhi());
262 edm::LogInfo(
"DataNotFound") <<
"can't find L1CaloEmCollection with label "
266 if ( ! doEm )
return;
268 for (L1CaloEmCollection::const_iterator iem = em->begin();
269 iem != em->end(); iem++) {
273 if (iem->isolated()) {
278 iem->regionId().iphi(), iem->rank());
280 iem->regionId().iphi());
289 iem->regionId().iphi(), iem->rank());
291 iem->regionId().iphi());
MonitorElement * rctOverFlowEtaPhi_
const unsigned int R6BINS
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * rctQuietEtaPhi_
L1TRCT(const edm::ParameterSet &ps)
MonitorElement * rctRegionsEtEtaPhi_
const unsigned int R12BINS
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
void rmdir(const std::string &fullpath)
MonitorElement * rctRegionsOccEtaPhi_
const unsigned int R10BINS
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
MonitorElement * rctHfPlusTauEtaPhi_
MonitorElement * rctIsoEmEtEtaPhi_
MonitorElement * rctNonIsoEmEtEtaPhi_
void setVerbose(unsigned level)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
MonitorElement * rctIsoEmOccEtaPhi_
MonitorElement * rctNonIsoEmRank_
MonitorElement * rctTauVetoEtaPhi_
MonitorElement * rctEmBx_
MonitorElement * rctRegionRank_
MonitorElement * rctMipEtaPhi_
void analyze(const edm::Event &e, const edm::EventSetup &c)
MonitorElement * book2D(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
Book 2D histogram.
void setCurrentFolder(const std::string &fullpath)
MonitorElement * rctRegionBx_
MonitorElement * rctNonIsoEmOccEtaPhi_
MonitorElement * rctIsoEmRank_