40 filterTriggerType_ (ps.getParameter< int >(
"filterTriggerType"))
47 std::cout <<
"L1TRCT: constructor...." << std::endl;
60 cout <<
"L1T Monitoring histograms will be saved to " <<
72 dbe->setCurrentFolder(
"L1T/L1TRCT");
96 dbe->setCurrentFolder(
"L1T/L1TRCT");
99 dbe->book1D(
"TriggerType",
"TriggerType", 17, -0.5, 16.5);
102 dbe->book2D(
"RctEmIsoEmEtEtaPhi",
"ISO EM E_{T}",
ETABINS,
ETAMIN,
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",
116 dbe->book2D(
"RctRegionsEtEtaPhi",
"REGION E_{T}",
ETABINS,
ETAMIN,
119 dbe->book2D(
"RctRegionsOccEtaPhi",
"REGION OCCUPANCY",
ETABINS,
123 dbe->book2D(
"RctBitOverFlowEtaPhi",
"OVER FLOW OCCUPANCY",
ETABINS,
127 dbe->book2D(
"RctBitTauVetoEtaPhi",
"TAU VETO OCCUPANCY",
ETABINS,
131 dbe->book2D(
"RctBitMipEtaPhi",
"MIP OCCUPANCY",
ETABINS,
135 dbe->book2D(
"RctBitQuietEtaPhi",
"QUIET OCCUPANCY",
ETABINS,
139 dbe->book2D(
"RctBitHfPlusTauEtaPhi",
"HF plus Tau OCCUPANCY",
ETABINS,
170 dbe->book1D(
"RctEmNonIsoEmRank",
"NON-ISO EM RANK",
R6BINS,
R6MIN,
177 rctRegionBx_ = dbe->book1D(
"RctRegionBx",
"Region BX", 256, -0.5, 4095.5);
178 rctEmBx_ = dbe->book1D(
"RctEmBx",
"EM BX", 256, -0.5, 4095.5);
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 * 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_
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 * rctRegionBx_
MonitorElement * rctNonIsoEmOccEtaPhi_
MonitorElement * rctIsoEmRank_