43 filterTriggerType_ (ps.getParameter< int >(
"filterTriggerType"))
50 std::cout <<
"L1TRCT: constructor...." << std::endl;
63 cout <<
"L1T Monitoring histograms will be saved to " <<
102 dbe->
book1D(
"TriggerType",
"TriggerType", 17, -0.5, 16.5);
108 dbe->
book2D(
"RctEmIsoEmOccEtaPhi",
"ISO EM OCCUPANCY",
ETABINS,
111 dbe->
book2D(
"RctEmNonIsoEmEtEtaPhi",
"NON-ISO EM E_{T}",
ETABINS,
114 dbe->
book2D(
"RctEmNonIsoEmOccEtaPhi",
"NON-ISO EM OCCUPANCY",
122 dbe->
book2D(
"RctRegionsOccEtaPhi",
"REGION OCCUPANCY",
ETABINS,
126 dbe->
book2D(
"RctBitOverFlowEtaPhi",
"OVER FLOW OCCUPANCY",
ETABINS,
130 dbe->
book2D(
"RctBitTauVetoEtaPhi",
"TAU VETO OCCUPANCY",
ETABINS,
142 dbe->
book2D(
"RctBitHfPlusTauEtaPhi",
"HF plus Tau OCCUPANCY",
ETABINS,
189 std::cout <<
"L1TRCT: end job...." << std::endl;
190 LogInfo(
"EndJob") <<
"analyzed " <<
nev_ <<
" events";
202 std::cout <<
"L1TRCT: analyze...." << std::endl;
218 double triggerType =
static_cast<double> (e.
experimentType()) + 0.001;
219 double triggerTypeLast =
static_cast<double> (edm::EventAuxiliary::ExperimentType::ErrorTrigger)
250 edm::LogInfo(
"DataNotFound") <<
"can't find L1CaloRegionCollection";
258 for (L1CaloRegionCollection::const_iterator ireg = rgn->begin();
259 ireg != rgn->end(); ireg++) {
292 edm::LogInfo(
"DataNotFound") <<
"can't find L1CaloEmCollection";
295 if ( ! doEm )
return;
297 for (L1CaloEmCollection::const_iterator iem = em->begin();
298 iem != em->end(); iem++) {
302 if (iem->isolated()) {
307 iem->regionId().iphi(), iem->rank());
310 iem->regionId().iphi());
320 iem->regionId().iphi(), iem->rank());
323 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 R12BINS
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
const unsigned int R10BINS
MonitorElement * triggerType_
int filterTriggerType_
filter TriggerType
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
MonitorElement * rctHfPlusTauEtaPhi_
MonitorElement * rctIsoEmEtEtaPhi_
MonitorElement * rctNonIsoEmEtEtaPhi_
void save(const std::string &filename, const std::string &path="", const std::string &pattern="", const std::string &rewrite="", const uint32_t run=0, SaveReferenceTag ref=SaveWithReference, int minStatus=dqm::qstatus::STATUS_OK, const std::string &fileupdate="RECREATE")
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_
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_