40 filterTriggerType_ (ps.getParameter< int >(
"filterTriggerType"))
47 std::cout <<
"L1TRCT: constructor...." << std::endl;
60 cout <<
"L1T Monitoring histograms will be saved to " <<
99 dbe->
book1D(
"TriggerType",
"TriggerType", 17, -0.5, 16.5);
105 dbe->
book2D(
"RctEmIsoEmOccEtaPhi",
"ISO EM OCCUPANCY",
ETABINS,
108 dbe->
book2D(
"RctEmNonIsoEmEtEtaPhi",
"NON-ISO EM E_{T}",
ETABINS,
111 dbe->
book2D(
"RctEmNonIsoEmOccEtaPhi",
"NON-ISO EM OCCUPANCY",
119 dbe->
book2D(
"RctRegionsOccEtaPhi",
"REGION OCCUPANCY",
ETABINS,
123 dbe->
book2D(
"RctBitOverFlowEtaPhi",
"OVER FLOW OCCUPANCY",
ETABINS,
127 dbe->
book2D(
"RctBitTauVetoEtaPhi",
"TAU VETO OCCUPANCY",
ETABINS,
139 dbe->
book2D(
"RctBitHfPlusTauEtaPhi",
"HF plus Tau OCCUPANCY",
ETABINS,
186 std::cout <<
"L1TRCT: end job...." << std::endl;
187 LogInfo(
"EndJob") <<
"analyzed " <<
nev_ <<
" events";
199 std::cout <<
"L1TRCT: analyze...." << std::endl;
215 double triggerType =
static_cast<double> (e.
experimentType()) + 0.001;
216 double triggerTypeLast =
static_cast<double> (edm::EventAuxiliary::ExperimentType::ErrorTrigger)
247 edm::LogInfo(
"DataNotFound") <<
"can't find L1CaloRegionCollection";
255 for (L1CaloRegionCollection::const_iterator ireg = rgn->begin();
256 ireg != rgn->end(); ireg++) {
289 edm::LogInfo(
"DataNotFound") <<
"can't find L1CaloEmCollection";
292 if ( ! doEm )
return;
294 for (L1CaloEmCollection::const_iterator iem = em->begin();
295 iem != em->end(); iem++) {
299 if (iem->isolated()) {
304 iem->regionId().iphi(), iem->rank());
307 iem->regionId().iphi());
317 iem->regionId().iphi(), iem->rank());
320 iem->regionId().iphi());
MonitorElement * rctOverFlowEtaPhi_
const unsigned int R6BINS
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * rctQuietEtaPhi_
std::vector< L1CaloEmCand > L1CaloEmCollection
edm::EDGetTokenT< L1CaloRegionCollection > rctSource_L1CRCollection_
L1TRCT(const edm::ParameterSet &ps)
MonitorElement * rctRegionsEtEtaPhi_
const unsigned int R10BINS
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
MonitorElement * rctRegionsOccEtaPhi_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * triggerType_
int filterTriggerType_
filter TriggerType
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
MonitorElement * rctHfPlusTauEtaPhi_
MonitorElement * rctIsoEmEtEtaPhi_
MonitorElement * rctNonIsoEmEtEtaPhi_
void setVerbose(unsigned level)
MonitorElement * rctIsoEmOccEtaPhi_
MonitorElement * rctNonIsoEmRank_
void beginRun(edm::Run const &iRun, edm::EventSetup const &iSetup)
MonitorElement * rctTauVetoEtaPhi_
edm::EDGetTokenT< L1CaloEmCollection > rctSource_L1CEMCollection_
MonitorElement * rctEmBx_
MonitorElement * rctRegionRank_
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, const uint32_t lumi=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE", const bool resetMEsAfterWriting=false)
MonitorElement * rctMipEtaPhi_
edm::EventAuxiliary::ExperimentType experimentType() const
void analyze(const edm::Event &e, const edm::EventSetup &c)
std::vector< L1CaloRegion > L1CaloRegionCollection
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_