#include <ConversionTrackCandidateProducer.h>
Public Member Functions | |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &es) overridefinal |
ConversionTrackCandidateProducer (const edm::ParameterSet &ps) | |
virtual void | endRun (edm::Run const &, edm::EventSetup const &es) overridefinal |
virtual void | produce (edm::Event &evt, const edm::EventSetup &es) |
~ConversionTrackCandidateProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
virtual | ~EDProducer () |
Public Member Functions inherited from edm::ProducerBase | |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
virtual | ~ProducerBase () |
Public Member Functions inherited from edm::EDConsumerBase | |
EDConsumerBase () | |
ProductHolderIndex | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndex > &) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Private Member Functions | |
void | buildCollections (bool detector, const edm::Handle< edm::View< reco::CaloCluster > > &scHandle, const edm::Handle< edm::View< reco::CaloCluster > > &bcHandle, edm::Handle< EcalRecHitCollection > ecalRecHitHandle, CaloRecHitMetaCollectionV *metaEcalRecHits, const EcalSeverityLevelAlgo *sevLev, const edm::Handle< CaloTowerCollection > &hcalTowersHandle, TrackCandidateCollection &outInTracks, TrackCandidateCollection &inOutTracks, std::vector< edm::Ptr< reco::CaloCluster > > &vecRecOI, std::vector< edm::Ptr< reco::CaloCluster > > &vecRecIO) |
void | setEventSetup (const edm::EventSetup &es) |
Initialize EventSetup objects at each event. More... | |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
typedef WorkerT< EDProducer > | WorkerType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::EDProducer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &descriptions) |
Protected Member Functions inherited from edm::EDProducer | |
CurrentProcessingContext const * | currentContext () const |
Protected Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 43 of file ConversionTrackCandidateProducer.h.
ConversionTrackCandidateProducer::ConversionTrackCandidateProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 45 of file ConversionTrackCandidateProducer.cc.
References barrelecalCollection_, bcBarrelCollection_, bcEndcapCollection_, conf_, ecalIsoCut_offset_, ecalIsoCut_slope_, endcapecalCollection_, flagsexclEB_, flagsexclEE_, edm::ParameterSet::getParameter(), hcalTowers_, hOverEConeSize_, InOutTrackCandidateCollection_, InOutTrackSuperClusterAssociationCollection_, isoConeR_, isoEMin_, isoEtaSlice_, isoEtMin_, isoInnerConeR_, maxHOverE_, minSCEt_, nEvt_, OutInTrackCandidateCollection_, OutInTrackSuperClusterAssociationCollection_, scHybridBarrelProducer_, scIslandEndcapProducer_, severitiesexclEB_, severitiesexclEE_, AlCaHLTBitMon_QueryRunRegistry::string, useNumXtals_, and vetoClusteredHits_.
ConversionTrackCandidateProducer::~ConversionTrackCandidateProducer | ( | ) |
Definition at line 125 of file ConversionTrackCandidateProducer.cc.
|
finaloverridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 139 of file ConversionTrackCandidateProducer.cc.
References conf_, edm::EventSetup::get(), edm::ESHandle< class >::product(), theInOutSeedFinder_, theInOutTrackFinder_, theNavigationSchool_, theOutInSeedFinder_, and theOutInTrackFinder_.
|
private |
Definition at line 315 of file ConversionTrackCandidateProducer.cc.
References caloPtrVecInOut_, caloPtrVecOutIn_, EgammaRecHitIsolation::doFlagChecks(), EgammaRecHitIsolation::doSeverityChecks(), DetId::Ecal, ecalIsoCut_offset_, ecalIsoCut_slope_, RecoTauCleanerPlugins::ecalIsolation, reco::CaloCluster::energy(), reco::CaloCluster::eta(), flagsexclEB_, flagsexclEE_, EgammaRecHitIsolation::getEtSum(), EgammaTowerIsolation::getTowerESum(), hOverEConeSize_, i, isoConeR_, isoEMin_, isoEtaSlice_, isoEtMin_, isoInnerConeR_, OutInConversionSeedFinder::makeSeeds(), InOutConversionSeedFinder::makeSeeds(), maxHOverE_, minSCEt_, reco::CaloCluster::position(), edm::Handle< T >::product(), ConversionSeedFinder::seeds(), ConversionSeedFinder::setCandidate(), InOutConversionSeedFinder::setTracks(), EgammaRecHitIsolation::setUseNumCrystals(), EgammaRecHitIsolation::setVetoClustered(), severitiesexclEB_, severitiesexclEE_, theCaloGeom_, theInOutSeedFinder_, theInOutTrackFinder_, theOutInSeedFinder_, theOutInTrackFinder_, InOutConversionTrackFinder::tracks(), OutInConversionTrackFinder::tracks(), useNumXtals_, and vetoClusteredHits_.
Referenced by produce().
|
finaloverridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 161 of file ConversionTrackCandidateProducer.cc.
References theInOutSeedFinder_, theInOutTrackFinder_, theOutInSeedFinder_, and theOutInTrackFinder_.
|
virtual |
Implements edm::EDProducer.
Definition at line 171 of file ConversionTrackCandidateProducer.cc.
References barrelecalCollection_, bcBarrelCollection_, bcEndcapCollection_, buildCollections(), caloPtrVecInOut_, caloPtrVecOutIn_, ConversionSeedFinder::clear(), endcapecalCollection_, edm::helper::Filler< Map >::fill(), edm::EventSetup::get(), edm::Event::getByLabel(), hcalTowers_, InOutTrackCandidateCollection_, InOutTrackSuperClusterAssociationCollection_, edm::helper::Filler< Map >::insert(), edm::InputTag::label(), nEvt_, OutInTrackCandidateCollection_, OutInTrackSuperClusterAssociationCollection_, edm::Event::put(), scHybridBarrelProducer_, scIslandEndcapProducer_, ConversionTrackFinder::setEvent(), ConversionSeedFinder::setEvent(), setEventSetup(), theCaloGeom_, theInOutSeedFinder_, theInOutTrackFinder_, theNavigationSchool_, theOutInSeedFinder_, and theOutInTrackFinder_.
|
private |
Initialize EventSetup objects at each event.
Definition at line 127 of file ConversionTrackCandidateProducer.cc.
References ConversionTrackFinder::setEventSetup(), ConversionSeedFinder::setEventSetup(), theInOutSeedFinder_, theInOutTrackFinder_, theOutInSeedFinder_, and theOutInTrackFinder_.
Referenced by produce().
|
private |
Definition at line 74 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 68 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 69 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 107 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and produce().
|
private |
Definition at line 106 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and produce().
|
private |
Definition at line 72 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 93 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 94 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 75 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 88 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 89 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 73 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 77 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 62 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 66 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 80 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 84 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 82 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 83 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 81 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 78 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 79 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 56 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 61 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 65 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 70 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 71 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 90 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 91 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 97 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and produce().
|
private |
Definition at line 102 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), buildCollections(), endRun(), produce(), and setEventSetup().
|
private |
Definition at line 103 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), buildCollections(), endRun(), produce(), and setEventSetup().
|
private |
Definition at line 99 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 100 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), buildCollections(), endRun(), produce(), and setEventSetup().
|
private |
Definition at line 101 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), buildCollections(), endRun(), produce(), and setEventSetup().
|
private |
Definition at line 86 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 110 of file ConversionTrackCandidateProducer.h.
|
private |
Definition at line 109 of file ConversionTrackCandidateProducer.h.
|
private |
Definition at line 85 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().