Public Member Functions | |
L1ElectronRecoTreeProducer (const edm::ParameterSet &) | |
~L1ElectronRecoTreeProducer () | |
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 () |
Public Attributes | |
L1Analysis::L1AnalysisRecoElectron * | electron |
L1Analysis::L1AnalysisRecoElectronDataFormat * | electron_data |
Private Member Functions | |
virtual void | analyze (const edm::Event &, const edm::EventSetup &) |
virtual void | beginJob (void) |
virtual void | endJob () |
Private Attributes | |
edm::EDGetTokenT < edm::ValueMap< bool > > | ElectronLooseIdMapToken_ |
edm::EDGetTokenT < edm::ValueMap< bool > > | ElectronMediumIdMapToken_ |
bool | electronsMissing_ |
edm::EDGetTokenT < edm::ValueMap< bool > > | ElectronTightIdMapToken_ |
edm::EDGetTokenT < reco::GsfElectronCollection > | ElectronToken_ |
edm::EDGetTokenT < edm::ValueMap< bool > > | ElectronVetoIdMapToken_ |
edm::Service< TFileService > | fs_ |
unsigned int | maxElectron_ |
TTree * | tree_ |
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 45 of file L1ElectronRecoTreeProducer.cc.
|
explicit |
Definition at line 86 of file L1ElectronRecoTreeProducer.cc.
References electron, electron_data, ElectronLooseIdMapToken_, ElectronMediumIdMapToken_, ElectronTightIdMapToken_, ElectronToken_, ElectronVetoIdMapToken_, fs_, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), TFileService::make(), maxElectron_, and tree_.
L1ElectronRecoTreeProducer::~L1ElectronRecoTreeProducer | ( | ) |
Definition at line 113 of file L1ElectronRecoTreeProducer.cc.
|
privatevirtual |
Implements edm::EDAnalyzer.
Definition at line 127 of file L1ElectronRecoTreeProducer.cc.
References electron, ElectronLooseIdMapToken_, ElectronMediumIdMapToken_, electronsMissing_, ElectronTightIdMapToken_, ElectronToken_, ElectronVetoIdMapToken_, edm::Event::getByToken(), edm::HandleBase::isValid(), maxElectron_, L1Analysis::L1AnalysisRecoElectron::Reset(), L1Analysis::L1AnalysisRecoElectron::SetElectron(), and tree_.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 157 of file L1ElectronRecoTreeProducer.cc.
|
privatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 163 of file L1ElectronRecoTreeProducer.cc.
L1Analysis::L1AnalysisRecoElectron* L1ElectronRecoTreeProducer::electron |
Definition at line 57 of file L1ElectronRecoTreeProducer.cc.
Referenced by analyze(), and L1ElectronRecoTreeProducer().
L1Analysis::L1AnalysisRecoElectronDataFormat* L1ElectronRecoTreeProducer::electron_data |
Definition at line 59 of file L1ElectronRecoTreeProducer.cc.
Referenced by L1ElectronRecoTreeProducer().
|
private |
Definition at line 74 of file L1ElectronRecoTreeProducer.cc.
Referenced by analyze(), and L1ElectronRecoTreeProducer().
|
private |
Definition at line 75 of file L1ElectronRecoTreeProducer.cc.
Referenced by analyze(), and L1ElectronRecoTreeProducer().
|
private |
Definition at line 79 of file L1ElectronRecoTreeProducer.cc.
Referenced by analyze().
|
private |
Definition at line 76 of file L1ElectronRecoTreeProducer.cc.
Referenced by analyze(), and L1ElectronRecoTreeProducer().
|
private |
Definition at line 72 of file L1ElectronRecoTreeProducer.cc.
Referenced by analyze(), and L1ElectronRecoTreeProducer().
|
private |
Definition at line 73 of file L1ElectronRecoTreeProducer.cc.
Referenced by analyze(), and L1ElectronRecoTreeProducer().
|
private |
Definition at line 64 of file L1ElectronRecoTreeProducer.cc.
Referenced by L1ElectronRecoTreeProducer().
|
private |
Definition at line 80 of file L1ElectronRecoTreeProducer.cc.
Referenced by analyze(), and L1ElectronRecoTreeProducer().
|
private |
Definition at line 67 of file L1ElectronRecoTreeProducer.cc.
Referenced by analyze(), and L1ElectronRecoTreeProducer().