#include <ConversionTrackCandidateProducer.h>
Public Member Functions | |
virtual void | beginRun (edm::Run const &, edm::EventSetup const &es) overridefinal |
ConversionTrackCandidateProducer (const edm::ParameterSet &ps) | |
virtual void | produce (edm::Event &evt, const edm::EventSetup &es) override |
~ConversionTrackCandidateProducer () | |
Public Member Functions inherited from edm::stream::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::stream::EDProducerBase | |
EDProducerBase () | |
ModuleDescription const & | moduleDescription () const |
virtual | ~EDProducerBase () |
Public Member Functions inherited from edm::ProducerBase | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
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 | |
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 () |
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 |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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::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 37 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_, HLT_25ns10e33_v2_cff::InputTag, 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_, AlCaHLTBitMon_QueryRunRegistry::data, endcapecalCollection_, edm::helper::Filler< Map >::fill(), edm::EventSetup::get(), edm::Event::getByToken(), hcalTowers_, InOutTrackCandidateCollection_, InOutTrackSuperClusterAssociationCollection_, edm::helper::Filler< Map >::insert(), GeomDetEnumerators::isBarrel(), 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 66 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 62 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 101 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and produce().
|
private |
Definition at line 100 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), 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 67 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 81 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 65 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 70 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
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 73 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 76 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 74 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 71 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 72 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 49 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 54 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 58 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 64 of file ConversionTrackCandidateProducer.h.
Referenced by ConversionTrackCandidateProducer(), and produce().
|
private |
Definition at line 83 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 90 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and produce().
|
private |
Definition at line 96 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), buildCollections(), produce(), and setEventSetup().
|
private |
Definition at line 97 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and setEventSetup().
|
private |
Definition at line 94 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), buildCollections(), produce(), and setEventSetup().
|
private |
Definition at line 95 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and setEventSetup().
|
private |
Definition at line 92 of file ConversionTrackCandidateProducer.h.
Referenced by beginRun(), and produce().
|
private |
Definition at line 79 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().
|
private |
Definition at line 104 of file ConversionTrackCandidateProducer.h.
|
private |
Definition at line 103 of file ConversionTrackCandidateProducer.h.
|
private |
Definition at line 78 of file ConversionTrackCandidateProducer.h.
Referenced by buildCollections(), and ConversionTrackCandidateProducer().