|
| JetMonitor (const edm::ParameterSet &) |
|
| ~JetMonitor () override |
|
void | accumulate (edm::Event const &event, edm::EventSetup const &setup) final |
|
void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &setup) final |
|
void | beginRun (edm::Run const &run, edm::EventSetup const &setup) final |
|
virtual void | dqmBeginLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
|
virtual void | dqmBeginRun (edm::Run const &, edm::EventSetup const &) |
|
| DQMEDAnalyzer () |
|
virtual void | dqmEndLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) |
|
virtual void | dqmEndRun (edm::Run const &, edm::EventSetup const &) |
|
void | endLuminosityBlock (edm::LuminosityBlock const &, edm::EventSetup const &) final |
|
void | endLuminosityBlockProduce (edm::LuminosityBlock &lumi, edm::EventSetup const &setup) final |
|
void | endRun (edm::Run const &, edm::EventSetup const &) final |
|
void | endRunProduce (edm::Run &run, edm::EventSetup const &setup) final |
|
virtual bool | getCanSaveByLumi () |
|
| EDProducer ()=default |
|
SerialTaskQueue * | globalLuminosityBlocksQueue () final |
|
SerialTaskQueue * | globalRunsQueue () final |
|
bool | hasAbilityToProduceInBeginLumis () const final |
|
bool | hasAbilityToProduceInBeginRuns () const final |
|
bool | hasAbilityToProduceInEndLumis () const final |
|
bool | hasAbilityToProduceInEndRuns () const final |
|
bool | wantsGlobalLuminosityBlocks () const final |
|
bool | wantsGlobalRuns () const final |
|
| EDProducerBase () |
|
ModuleDescription const & | moduleDescription () const |
|
bool | wantsStreamLuminosityBlocks () const |
|
bool | wantsStreamRuns () const |
|
| ~EDProducerBase () override |
|
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
|
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
|
| ProducerBase () |
|
std::vector< edm::ProductResolverIndex > const & | putTokenIndexToProductResolverIndex () const |
|
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
|
std::function< void(BranchDescription const &)> | registrationCallback () const |
| used by the fwk to register list of products More...
|
|
void | resolvePutIndicies (BranchType iBranchType, ModuleToResolverIndicies const &iIndicies, std::string const &moduleLabel) |
|
| ~ProducerBase () noexcept(false) override |
|
std::vector< ConsumesInfo > | consumesInfo () const |
|
void | convertCurrentProcessAlias (std::string const &processName) |
| Convert "@currentProcess" in InputTag process names to the actual current process name. More...
|
|
| EDConsumerBase () |
|
| EDConsumerBase (EDConsumerBase const &)=delete |
|
| EDConsumerBase (EDConsumerBase &&)=default |
|
ESProxyIndex const * | esGetTokenIndices (edm::Transition iTrans) const |
|
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
|
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
|
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
|
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
|
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
|
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
|
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
|
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
|
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
|
ProductResolverIndexAndSkipBit | uncheckedIndexFrom (EDGetToken) const |
|
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
|
void | updateLookup (eventsetup::ESRecordsToProxyIndices const &) |
|
virtual | ~EDConsumerBase () noexcept(false) |
|
|
void | analyze (edm::Event const &iEvent, edm::EventSetup const &iSetup) override |
|
void | bookHistograms (DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override |
|
void | bookME (DQMStore::IBooker &, JetME &me, std::string &histname, std::string &histtitle, unsigned int nbins, double xmin, double xmax) |
|
void | bookME (DQMStore::IBooker &, JetME &me, std::string &histname, std::string &histtitle, std::vector< double > binningX) |
|
void | bookME (DQMStore::IBooker &, JetME &me, std::string &histname, std::string &histtitle, int nbinsX, double xmin, double xmax, double ymin, double ymax) |
|
void | bookME (DQMStore::IBooker &, JetME &me, std::string &histname, std::string &histtitle, int nbinsX, double xmin, double xmax, int nbinsY, double ymin, double ymax) |
|
void | bookME (DQMStore::IBooker &, JetME &me, std::string &histname, std::string &histtitle, std::vector< double > binningX, std::vector< double > binningY) |
|
void | bookME (DQMStore::IBooker &, MonitorElement *me, std::string &histname, std::string &histtitle, int nbins, double xmin, double xmax) |
|
void | bookME (DQMStore::IBooker &, MonitorElement *me, std::string &histname, std::string &histtitle, int nbinsX, double xmin, double xmax, int nbinsY, double ymin, double ymax) |
|
void | bookMESub (DQMStore::IBooker &, JetME *a_me, const int len_, const std::string &h_Name, const std::string &h_Title, const std::string &h_subOptName, std::string h_subOptTitle, bool doPhi=true, bool doEta=true, bool doEtaPhi=true, bool doVsLS=true) |
|
void | FillME (JetME *a_me, double pt_, double phi_, double eta_, int ls_, const std::string &denu, bool doPhi=true, bool doEta=true, bool doEtaPhi=true, bool doVsLS=true) |
|
bool | isBarrel (double eta) |
|
bool | isEndCapM (double eta) |
|
bool | isEndCapP (double eta) |
| For Hcal Endcap Plus Area. More...
|
|
bool | isForward (double eta) |
| For Hcal Forward Plus Area. More...
|
|
bool | isHEM17 (double eta, double phi) |
| For Hcal HEM17 Area. More...
|
|
bool | isHEP17 (double eta, double phi) |
| For Hcal HEP17 Area. More...
|
|
bool | isHEP18 (double eta, double phi) |
| For Hcal HEP18 Area. More...
|
|
void | setMETitle (JetME &me, const std::string &titleX, const std::string &titleY) |
|
ProducesCollector | producesCollector () |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
|
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
|
ConsumesCollector | consumesCollector () |
| Use a ConsumesCollector to gather consumes information from helper functions. More...
|
|
template<typename ProductType , BranchType B = InEvent> |
void | consumesMany () |
|
void | consumesMany (const TypeToGet &id) |
|
template<BranchType B> |
void | consumesMany (const TypeToGet &id) |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes () |
|
template<typename ESProduct , typename ESRecord , Transition Tr = Transition::Event> |
auto | esConsumes (ESInputTag const &tag) |
|
template<typename ProductType , BranchType B = InEvent> |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
|
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
template<BranchType B> |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
|
Definition at line 47 of file JetMonitor.h.
Reimplemented from DQMEDAnalyzer.
Definition at line 275 of file JetMonitor.cc.
References a_ME, a_ME_HB, a_ME_HE, a_ME_HE_m, a_ME_HE_p, a_ME_HEM17, a_ME_HEP17, a_ME_HEP18, a_ME_HF, funct::abs(), den_genTriggerEventFlag_, JetMonitor::JetME::denominator, dqm::impl::MonitorElement::Fill(), FillME(), edm::Event::getByToken(), edm::EventBase::id(), isBarrel(), isEndCapM(), isEndCapP(), isForward(), isHEM17(), isHEP17(), isHEP18(), edm::HandleBase::isValid(), jetHEM17_AbsEta_, jetHEP17_AbsEta_, jetSrc_, eostools::ls(), edm::EventID::luminosityBlock(), num_genTriggerEventFlag_, JetMonitor::JetME::numerator, ptcut_, v_jeteta, v_jetphi, and v_jetpt.
285 int ls =
iEvent.id().luminosityBlock();
300 if (ijet->pt() <
ptcut_) {
315 FillME(
a_ME, jetpt_, jetphi_, jeteta_, ls,
"denominator");
317 FillME(
a_ME_HB, jetpt_, jetphi_, jeteta_, ls,
"denominator",
true,
true,
true,
false);
319 FillME(
a_ME_HE, jetpt_, jetphi_, jeteta_, ls,
"denominator",
true,
true,
true,
false);
320 FillME(
a_ME_HE_p, jetpt_, jetphi_, jeteta_, ls,
"denominator",
true,
true,
true,
false);
322 FillME(
a_ME_HE, jetpt_, jetphi_, jeteta_, ls,
"denominator",
true,
true,
true,
false);
323 FillME(
a_ME_HE_m, jetpt_, jetphi_, jeteta_, ls,
"denominator",
true,
true,
true,
false);
325 FillME(
a_ME_HF, jetpt_, jetphi_, jeteta_, ls,
"denominator",
true,
true,
true,
false);
328 if (
isHEP17(jeteta_, jetphi_)) {
340 }
else if (
isHEM17(jeteta_, jetphi_)) {
342 a_ME_HEM17, jetpt_, jetphi_, jeteta_, ls,
"denominator",
true,
false,
false,
false);
344 }
else if (
isHEP18(jeteta_, jetphi_)) {
346 a_ME_HEP18, jetpt_, jetphi_, jeteta_, ls,
"denominator",
false,
false,
false,
false);
352 FillME(
a_ME, jetpt_, jetphi_, jeteta_, ls,
"numerator");
354 FillME(
a_ME_HB, jetpt_, jetphi_, jeteta_, ls,
"numerator",
true,
true,
true,
false);
356 FillME(
a_ME_HE, jetpt_, jetphi_, jeteta_, ls,
"numerator",
true,
true,
true,
false);
357 FillME(
a_ME_HE_p, jetpt_, jetphi_, jeteta_, ls,
"numerator",
true,
true,
true,
false);
359 FillME(
a_ME_HE, jetpt_, jetphi_, jeteta_, ls,
"numerator",
true,
true,
true,
false);
360 FillME(
a_ME_HE_m, jetpt_, jetphi_, jeteta_, ls,
"numerator",
true,
true,
true,
false);
362 FillME(
a_ME_HF, jetpt_, jetphi_, jeteta_, ls,
"numerator",
true,
true,
true,
false);
365 if (
isHEP17(jeteta_, jetphi_)) {
377 }
else if (
isHEM17(jeteta_, jetphi_)) {
389 }
else if (
isHEP18(jeteta_, jetphi_)) {
bool isBarrel(double eta)
bool isHEP17(double eta, double phi)
For Hcal HEP17 Area.
void FillME(JetME *a_me, double pt_, double phi_, double eta_, int ls_, const std::string &denu, bool doPhi=true, bool doEta=true, bool doEtaPhi=true, bool doVsLS=true)
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
bool isEndCapM(double eta)
Abs< T >::type abs(const T &t)
bool isHEM17(double eta, double phi)
For Hcal HEM17 Area.
edm::EDGetTokenT< edm::View< reco::Jet > > jetSrc_
std::vector< double > v_jetpt
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
boost::indirect_iterator< typename seq_t::const_iterator > const_iterator
std::vector< double > v_jeteta
MonitorElement * denominator
bool isForward(double eta)
For Hcal Forward Plus Area.
std::vector< double > v_jetphi
MonitorElement * numerator
bool isHEP18(double eta, double phi)
For Hcal HEP18 Area.
bool isEndCapP(double eta)
For Hcal Endcap Plus Area.
Implements DQMEDAnalyzer.
Definition at line 121 of file JetMonitor.cc.
References a_ME, a_ME_HB, a_ME_HE, a_ME_HE_m, a_ME_HE_p, a_ME_HEM17, a_ME_HEP17, a_ME_HEP18, a_ME_HF, bookME(), bookMESub(), den_genTriggerEventFlag_, eta_binning_hep17_, folderName_, isCaloJetTrig, isPFJetTrig, jetHEM17_AbsEta_, jetHEP17_AbsEta_, JetMonitor::MEbinning::nbins, num_genTriggerEventFlag_, dqm::dqmstoreimpl::DQMStore::IBooker::setCurrentFolder(), setMETitle(), AlCaHLTBitMon_QueryRunRegistry::string, JetMonitor::MEbinning::xmax, and JetMonitor::MEbinning::xmin.
126 ibooker.setCurrentFolder(currentFolder);
129 hist_obtag =
"pfjet";
130 histtitle_obtag =
"PFJet";
132 hist_obtag =
"calojet";
133 histtitle_obtag =
"CaloJet";
135 hist_obtag =
"pfjet";
136 histtitle_obtag =
"PFJet";
241 histname = hist_obtag +
"abseta_HEP17";
242 histtitle = histtitle_obtag +
" |#eta| (HEP17) ";
252 histname = hist_obtag +
"abseta_HEM17";
253 histtitle = histtitle_obtag +
" |eta| (HEM17) ";
void bookME(DQMStore::IBooker &, JetME &me, std::string &histname, std::string &histtitle, unsigned int nbins, double xmin, double xmax)
void bookMESub(DQMStore::IBooker &, JetME *a_me, const int len_, const std::string &h_Name, const std::string &h_Title, const std::string &h_subOptName, std::string h_subOptTitle, bool doPhi=true, bool doEta=true, bool doEtaPhi=true, bool doVsLS=true)
MEbinning eta_binning_hep17_
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
void setMETitle(JetME &me, const std::string &titleX, const std::string &titleY)