#include <ConversionTrackCandidateProducer.h>
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 |
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::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 41 of file ConversionTrackCandidateProducer.h.
ConversionTrackCandidateProducer::ConversionTrackCandidateProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 48 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, trajectoryBuilderName_, useNumXtals_, and vetoClusteredHits_.
ConversionTrackCandidateProducer::~ConversionTrackCandidateProducer | ( | ) |
Definition at line 137 of file ConversionTrackCandidateProducer.cc.
|
finaloverridevirtual |
Reimplemented from edm::EDProducer.
Definition at line 151 of file ConversionTrackCandidateProducer.cc.
References conf_, edm::EventSetup::get(), edm::ESHandle< class >::product(), theInOutSeedFinder_, theInOutTrackFinder_, theNavigationSchool_, theOutInSeedFinder_, and theOutInTrackFinder_.
|
private |
Definition at line 339 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 173 of file ConversionTrackCandidateProducer.cc.
References theInOutSeedFinder_, theInOutTrackFinder_, theOutInSeedFinder_, and theOutInTrackFinder_.
|
virtual |
Implements edm::EDProducer.
Definition at line 183 of file ConversionTrackCandidateProducer.cc.
References barrelecalCollection_, bcBarrelCollection_, bcEndcapCollection_, buildCollections(), caloPtrVecInOut_, caloPtrVecOutIn_, ConversionSeedFinder::clear(), statics::clone, data, endcapecalCollection_, edm::helper::Filler< Map >::fill(), edm::EventSetup::get(), edm::Event::getByLabel(), edm::Event::getByToken(), hcalTowers_, InOutTrackCandidateCollection_, InOutTrackSuperClusterAssociationCollection_, edm::helper::Filler< Map >::insert(), nEvt_, OutInTrackCandidateCollection_, OutInTrackSuperClusterAssociationCollection_, edm::Event::put(), scHybridBarrelProducer_, scIslandEndcapProducer_, ConversionSeedFinder::setEvent(), setEventSetup(), ConversionTrackFinder::setTrajectoryBuilder(), theCaloGeom_, theInOutSeedFinder_, theInOutTrackFinder_, theNavigationSchool_, theOutInSeedFinder_, theOutInTrackFinder_, theTrajectoryBuilder_, and trajectoryBuilderName_.
|
private |
Initialize EventSetup objects at each event.
Definition at line 139 of file ConversionTrackCandidateProducer.cc.
References ConversionTrackFinder::setEventSetup(), ConversionSeedFinder::setEventSetup(), theInOutSeedFinder_, theInOutTrackFinder_, theOutInSeedFinder_, and theOutInTrackFinder_.
Referenced by produce().
|
private |
Definition at line 72 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 67 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 108 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and produce().
|
private |
Definition at line 107 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and produce().
|
private |
Definition at line 70 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 91 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 92 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 86 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 87 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 71 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 75 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 60 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 64 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 78 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 80 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 79 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 76 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 77 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 54 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 59 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 63 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 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 95 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and produce().
|
private |
Definition at line 103 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), buildCollections(), endRun(), produce(), and setEventSetup().
|
private |
Definition at line 104 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), buildCollections(), endRun(), produce(), and setEventSetup().
|
private |
Definition at line 100 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 101 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), buildCollections(), endRun(), produce(), and setEventSetup().
|
private |
Definition at line 102 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), buildCollections(), endRun(), produce(), and setEventSetup().
|
private |
Definition at line 98 of file ConversionTrackCandidateProducer.h.
Referenced by produce().
|
private |
Definition at line 97 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 84 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 111 of file ConversionTrackCandidateProducer.h.
|
private |
Definition at line 110 of file ConversionTrackCandidateProducer.h.
|
private |
Definition at line 83 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().