#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, const EcalRecHitCollection &ecalRecHits, 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::stream::EDProducer<> | |
typedef CacheContexts< T...> | CacheTypes |
typedef CacheTypes::GlobalCache | GlobalCache |
typedef AbilityChecker< T...> | HasAbility |
typedef CacheTypes::LuminosityBlockCache | LuminosityBlockCache |
typedef LuminosityBlockContextT < LuminosityBlockCache, RunCache, GlobalCache > | LuminosityBlockContext |
typedef CacheTypes::LuminosityBlockSummaryCache | LuminosityBlockSummaryCache |
typedef CacheTypes::RunCache | RunCache |
typedef RunContextT< RunCache, GlobalCache > | RunContext |
typedef CacheTypes::RunSummaryCache | RunSummaryCache |
Public Types inherited from edm::stream::EDProducerBase | |
typedef EDProducerAdaptorBase | ModuleType |
Public Types inherited from edm::ProducerBase | |
typedef ProductRegistryHelper::TypeLabelList | TypeLabelList |
Static Public Member Functions inherited from edm::stream::EDProducerBase | |
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 38 of file ConversionTrackCandidateProducer.h.
ConversionTrackCandidateProducer::ConversionTrackCandidateProducer | ( | const edm::ParameterSet & | ps | ) |
Definition at line 55 of file ConversionTrackCandidateProducer.cc.
References barrelecalCollection_, bcBarrelCollection_, bcEndcapCollection_, ecalIsoCut_offset_, ecalIsoCut_slope_, endcapecalCollection_, flagsexclEB_, flagsexclEE_, edm::ParameterSet::getParameter(), hcalTowers_, hOverEConeSize_, InOutTrackCandidateCollection_, InOutTrackSuperClusterAssociationCollection_, isoConeR_, isoEMin_, isoEtaSlice_, isoEtMin_, isoInnerConeR_, maxHOverE_, measurementTrkEvtToken_, minSCEt_, nEvt_, OutInTrackCandidateCollection_, OutInTrackSuperClusterAssociationCollection_, scHybridBarrelProducer_, scIslandEndcapProducer_, severitiesexclEB_, severitiesexclEE_, AlCaHLTBitMon_QueryRunRegistry::string, useNumXtals_, and vetoClusteredHits_.
ConversionTrackCandidateProducer::~ConversionTrackCandidateProducer | ( | ) |
Definition at line 141 of file ConversionTrackCandidateProducer.cc.
|
finaloverridevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 151 of file ConversionTrackCandidateProducer.cc.
References edm::EventSetup::get(), edm::ESHandle< class >::product(), theInOutSeedFinder_, theOutInSeedFinder_, and theTrajectoryBuilder_.
|
private |
Definition at line 308 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_, maxHOverE_, minSCEt_, reco::CaloCluster::position(), edm::Handle< T >::product(), EgammaRecHitIsolation::setUseNumCrystals(), EgammaRecHitIsolation::setVetoClustered(), severitiesexclEB_, severitiesexclEE_, theCaloGeom_, theInOutSeedFinder_, theInOutTrackFinder_, theOutInSeedFinder_, theOutInTrackFinder_, useNumXtals_, and vetoClusteredHits_.
Referenced by produce().
|
overridevirtual |
Implements edm::stream::EDProducerBase.
Definition at line 162 of file ConversionTrackCandidateProducer.cc.
References barrelecalCollection_, bcBarrelCollection_, bcEndcapCollection_, buildCollections(), caloPtrVecInOut_, caloPtrVecOutIn_, data, endcapecalCollection_, edm::helper::Filler< Map >::fill(), edm::EventSetup::get(), edm::Event::getByToken(), hcalTowers_, InOutTrackCandidateCollection_, InOutTrackSuperClusterAssociationCollection_, edm::helper::Filler< Map >::insert(), measurementTrkEvtToken_, nEvt_, OutInTrackCandidateCollection_, OutInTrackSuperClusterAssociationCollection_, edm::Event::put(), scHybridBarrelProducer_, scIslandEndcapProducer_, setEventSetup(), theCaloGeom_, theInOutSeedFinder_, theOutInSeedFinder_, and theTrajectoryBuilder_.
|
private |
Initialize EventSetup objects at each event.
Definition at line 143 of file ConversionTrackCandidateProducer.cc.
References theInOutSeedFinder_, theInOutTrackFinder_, theOutInSeedFinder_, and theOutInTrackFinder_.
Referenced by produce().
|
private |
Definition at line 67 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 62 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 102 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and produce().
|
private |
Definition at line 101 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and produce().
|
private |
Definition at line 87 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 88 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 68 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
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 66 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 71 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 60 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 74 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 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 75 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 72 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 69 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 73 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 50 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 55 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 64 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 84 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 85 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 91 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and produce().
|
private |
Definition at line 97 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), buildCollections(), produce(), and setEventSetup().
|
private |
Definition at line 98 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and setEventSetup().
|
private |
Definition at line 95 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), buildCollections(), produce(), and setEventSetup().
|
private |
Definition at line 96 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and setEventSetup().
|
private |
Definition at line 93 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 80 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 105 of file ConversionTrackCandidateProducer.h.
|
private |
Definition at line 104 of file ConversionTrackCandidateProducer.h.
|
private |
Definition at line 79 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().