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 |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
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 |
Implements edm::EDAnalyzer.
Definition at line 144 of file MuTriggerAnalyzer.cc.
References gather_cfg::cout, edm::InputTag::encode(), eta, reco::LeafCandidate::eta(), etaMuCut_, edm::Event::getByToken(), hltPath_, i, reco::Muon::isGlobalMuon(), IsMuMatchedToHLTMu(), relval_2017::k, L3FilterName_, maxDeltaR_, maxDPtRel_, RPCpg::mu, patZpeak::muons, muonToken_, mergeVDriftHistosByStation::name, AlCaHLTBitMon_ParallelJobs::p, reco::LeafCandidate::p4(), EnergyCorrector::pt, reco::LeafCandidate::pt(), ptMuCut_, 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_, i, and nbins_.
|
private |
Definition at line 80 of file MuTriggerAnalyzer.cc.
References gather_cfg::cout, deltaR(), deltaR_, reco::LeafCandidate::eta(), HcalObjRepresent::Fill(), relval_2017::k, 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().