Public Member Functions | |
MuTriggerAnalyzer (const edm::ParameterSet &pset) | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
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 | |
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 |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
Private Member Functions | |
virtual void | analyze (const edm::Event &event, const edm::EventSetup &setup) override |
virtual void | endJob () override |
bool | IsMuMatchedToHLTMu (const reco::Muon &, std::vector< reco::Particle > &, double, double) |
Private Attributes | |
TH1D * | deltaPtOverPt_ |
TH1D * | deltaR_ |
double | etaMuCut_ |
edm::Handle< trigger::TriggerEvent > | handleTriggerEvent_ |
std::string | hltPath_ |
TH1D * | hTrigMuonPtDenS_ |
TH1D * | hTrigMuonPtNumS_ |
std::string | L3FilterName_ |
double | maxDeltaR_ |
double | maxDPtRel_ |
edm::EDGetTokenT< View< Muon > > | muonToken_ |
const int | nbins_ |
const double | ptMax_ |
double | ptMuCut_ |
edm::InputTag | trigEvTag_ |
edm::EDGetTokenT< trigger::TriggerEvent > | trigEvToken_ |
edm::Handle< edm::TriggerResults > | triggerResults_ |
edm::TriggerNames const * | trigNames_ |
edm::EDGetTokenT< TriggerResults > | trigToken_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions inherited from edm::EDConsumerBase | |
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 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 49 of file MuTriggerAnalyzer.cc.
MuTriggerAnalyzer::MuTriggerAnalyzer | ( | const edm::ParameterSet & | pset | ) |
Definition at line 113 of file MuTriggerAnalyzer.cc.
References deltaPtOverPt_, deltaR_, hTrigMuonPtDenS_, hTrigMuonPtNumS_, TFileService::make(), maxDeltaR_, maxDPtRel_, nbins_, and ptMax_.
|
overrideprivatevirtual |
Definition at line 144 of file MuTriggerAnalyzer.cc.
References edm::HLTGlobalStatus::accept(), gather_cfg::cout, DEFINE_FWK_MODULE, edm::InputTag::encode(), PVValHelper::eta, reco::LeafCandidate::eta(), etaMuCut_, trigger::TriggerEvent::filterKeys(), trigger::TriggerEvent::filterTag(), edm::Event::getByToken(), trigger::TriggerEvent::getObjects(), hltPath_, mps_fire::i, reco::Muon::isGlobalMuon(), IsMuMatchedToHLTMu(), gen::k, L3FilterName_, maxDeltaR_, maxDPtRel_, RPCpg::mu, electronCleaner_cfi::muons, muonToken_, dataset::name, AlCaHLTBitMon_ParallelJobs::p, reco::LeafCandidate::p4(), EnergyCorrector::pt, reco::LeafCandidate::pt(), ptMuCut_, edm::HLTGlobalStatus::size(), trigger::TriggerEvent::sizeFilters(), AlCaHLTBitMon_QueryRunRegistry::string, trigEvTag_, trigEvToken_, edm::TriggerNames::triggerName(), edm::Event::triggerNames(), triggerResults, trigNames, trigNames_, and trigToken_.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 135 of file MuTriggerAnalyzer.cc.
References gather_cfg::cout, hTrigMuonPtDenS_, hTrigMuonPtNumS_, mps_fire::i, and nbins_.
|
private |
Definition at line 80 of file MuTriggerAnalyzer.cc.
References gather_cfg::cout, deltaR(), deltaR_, reco::LeafCandidate::eta(), HcalObjRepresent::Fill(), gen::k, nJettinessAdder_cfi::nPass, EnergyCorrector::pt, and reco::LeafCandidate::pt().
Referenced by analyze().
|
private |
Definition at line 75 of file MuTriggerAnalyzer.cc.
Referenced by MuTriggerAnalyzer().
|
private |
Definition at line 74 of file MuTriggerAnalyzer.cc.
Referenced by MuTriggerAnalyzer().
|
private |
Definition at line 62 of file MuTriggerAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 67 of file MuTriggerAnalyzer.cc.
|
private |
Definition at line 63 of file MuTriggerAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 73 of file MuTriggerAnalyzer.cc.
Referenced by endJob(), and MuTriggerAnalyzer().
|
private |
Definition at line 72 of file MuTriggerAnalyzer.cc.
Referenced by endJob(), and MuTriggerAnalyzer().
|
private |
Definition at line 64 of file MuTriggerAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 69 of file MuTriggerAnalyzer.cc.
Referenced by analyze(), and MuTriggerAnalyzer().
|
private |
Definition at line 69 of file MuTriggerAnalyzer.cc.
Referenced by analyze(), and MuTriggerAnalyzer().
|
private |
Definition at line 61 of file MuTriggerAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 70 of file MuTriggerAnalyzer.cc.
Referenced by endJob(), and MuTriggerAnalyzer().
|
private |
Definition at line 71 of file MuTriggerAnalyzer.cc.
Referenced by MuTriggerAnalyzer().
|
private |
Definition at line 62 of file MuTriggerAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 59 of file MuTriggerAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 60 of file MuTriggerAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 65 of file MuTriggerAnalyzer.cc.
|
private |
Definition at line 66 of file MuTriggerAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 58 of file MuTriggerAnalyzer.cc.
Referenced by analyze().