44 rctSource_( ps.getParameter<
InputTag >(
"rctSource") ),
45 filterTriggerType_ (ps.getParameter< int >(
"filterTriggerType"))
52 std::cout <<
"L1TRCT: constructor...." << std::endl;
65 cout <<
"L1T Monitoring histograms will be saved to " <<
99 dbe->
rmdir(
"L1T/L1TRCT");
107 dbe->
book1D(
"TriggerType",
"TriggerType", 17, -0.5, 16.5);
113 dbe->
book2D(
"RctEmIsoEmOccEtaPhi",
"ISO EM OCCUPANCY",
ETABINS,
116 dbe->
book2D(
"RctEmNonIsoEmEtEtaPhi",
"NON-ISO EM E_{T}",
ETABINS,
119 dbe->
book2D(
"RctEmNonIsoEmOccEtaPhi",
"NON-ISO EM OCCUPANCY",
127 dbe->
book2D(
"RctRegionsOccEtaPhi",
"REGION OCCUPANCY",
ETABINS,
131 dbe->
book2D(
"RctBitOverFlowEtaPhi",
"OVER FLOW OCCUPANCY",
ETABINS,
135 dbe->
book2D(
"RctBitTauVetoEtaPhi",
"TAU VETO OCCUPANCY",
ETABINS,
147 dbe->
book2D(
"RctBitHfPlusTauEtaPhi",
"HF plus Tau OCCUPANCY",
ETABINS,
197 std::cout <<
"L1TRCT: end job...." << std::endl;
198 LogInfo(
"EndJob") <<
"analyzed " <<
nev_ <<
" events";
210 std::cout <<
"L1TRCT: analyze...." << std::endl;
226 double triggerType =
static_cast<double> (e.
experimentType()) + 0.001;
227 double triggerTypeLast =
static_cast<double> (edm::EventAuxiliary::ExperimentType::ErrorTrigger)
258 edm::LogInfo(
"DataNotFound") <<
"can't find L1CaloRegionCollection with label "
267 for (L1CaloRegionCollection::const_iterator ireg = rgn->begin();
268 ireg != rgn->end(); ireg++) {
301 edm::LogInfo(
"DataNotFound") <<
"can't find L1CaloEmCollection with label "
305 if ( ! doEm )
return;
307 for (L1CaloEmCollection::const_iterator iem = em->begin();
308 iem != em->end(); iem++) {
312 if (iem->isolated()) {
317 iem->regionId().iphi(), iem->rank());
320 iem->regionId().iphi());
330 iem->regionId().iphi(), iem->rank());
333 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 * 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)
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
MonitorElement * rctIsoEmOccEtaPhi_
MonitorElement * rctNonIsoEmRank_
MonitorElement * rctTauVetoEtaPhi_
MonitorElement * rctEmBx_
MonitorElement * rctRegionRank_
MonitorElement * rctMipEtaPhi_
edm::EventAuxiliary::ExperimentType experimentType() const
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_