#include <GenMuonRadCorrAnalyzer.h>
Classes | |
struct | plotEntryType |
Public Member Functions | |
void | analyze (const edm::Event &, const edm::EventSetup &) |
void | beginJob () |
GenMuonRadCorrAnalyzer (const edm::ParameterSet &) | |
~GenMuonRadCorrAnalyzer () | |
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 (const std::string &iProcessName, std::vector< const char * > &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 Types | |
typedef std::vector < edm::InputTag > | vInputTag |
Private Attributes | |
double | beamEnergy_ |
std::string | directory_ |
GenMuonRadiationAlgorithm * | muonRadiationAlgo_ |
int | numWarnings_ |
std::vector< plotEntryType * > | plotEntries_ |
edm::InputTag | srcGenParticles_ |
edm::InputTag | srcSelectedMuons_ |
vInputTag | srcWeights_ |
int | verbosity_ |
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 24 of file GenMuonRadCorrAnalyzer.h.
|
private |
Definition at line 37 of file GenMuonRadCorrAnalyzer.h.
|
explicit |
Definition at line 17 of file GenMuonRadCorrAnalyzer.cc.
References edm::ParameterSet::addParameter(), directory_, Exception, edm::ParameterSet::exists(), edm::ParameterSet::getParameter(), muonRadiationAlgo_, plotEntries_, srcGenParticles_, srcSelectedMuons_, srcWeights_, AlCaHLTBitMon_QueryRunRegistry::string, and verbosity_.
GenMuonRadCorrAnalyzer::~GenMuonRadCorrAnalyzer | ( | ) |
Definition at line 72 of file GenMuonRadCorrAnalyzer.cc.
References muonRadiationAlgo_, and plotEntries_.
|
virtual |
Implements edm::EDAnalyzer.
Definition at line 93 of file GenMuonRadCorrAnalyzer.cc.
References reco::LeafCandidate::charge(), GenMuonRadiationAlgorithm::compFSR(), compGenMuonP4afterRad(), alignCSCRings::e, findGenParticleForMCEmbedding(), genParticleCandidates2GenParticles_cfi::genParticles, edm::Event::getByLabel(), getSelMuons(), muonRadiationAlgo_, reco::LeafCandidate::p4(), plotEntries_, WZElectronSkims53X_cff::selectedMuons, srcGenParticles_, srcSelectedMuons_, srcWeights_, edm::Event::streamID(), and histoStyle::weight.
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 82 of file GenMuonRadCorrAnalyzer.cc.
References dir, directory_, TFileService::mkdir(), plotEntries_, and TFileService::tFileDirectory().
|
private |
Definition at line 92 of file GenMuonRadCorrAnalyzer.h.
|
private |
Definition at line 40 of file GenMuonRadCorrAnalyzer.h.
Referenced by beginJob(), and GenMuonRadCorrAnalyzer().
|
private |
Definition at line 94 of file GenMuonRadCorrAnalyzer.h.
Referenced by analyze(), GenMuonRadCorrAnalyzer(), and ~GenMuonRadCorrAnalyzer().
|
private |
Definition at line 98 of file GenMuonRadCorrAnalyzer.h.
|
private |
Definition at line 90 of file GenMuonRadCorrAnalyzer.h.
Referenced by analyze(), beginJob(), GenMuonRadCorrAnalyzer(), and ~GenMuonRadCorrAnalyzer().
|
private |
Definition at line 35 of file GenMuonRadCorrAnalyzer.h.
Referenced by analyze(), and GenMuonRadCorrAnalyzer().
|
private |
Definition at line 34 of file GenMuonRadCorrAnalyzer.h.
Referenced by analyze(), and GenMuonRadCorrAnalyzer().
|
private |
Definition at line 38 of file GenMuonRadCorrAnalyzer.h.
Referenced by analyze(), and GenMuonRadCorrAnalyzer().
|
private |
Definition at line 96 of file GenMuonRadCorrAnalyzer.h.
Referenced by GenMuonRadCorrAnalyzer().