Abstract. More...
#include <PFElecTkProducer.h>
Public Member Functions | |
PFElecTkProducer (const edm::ParameterSet &) | |
Constructor. More... | |
~PFElecTkProducer () | |
Destructor. More... | |
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 | |
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 (const std::string &iProcessName, std::vector< const char * > &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 | |
bool | applySelection (const reco::GsfTrack &) |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) override |
void | createGsfPFRecTrackRef (const edm::OrphanHandle< reco::GsfPFRecTrackCollection > &gsfPfHandle, std::vector< reco::GsfPFRecTrack > &gsfPFRecTrackPrimary, const std::map< unsigned int, std::vector< reco::GsfPFRecTrack > > &MapPrimSec) |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) override |
int | FindPfRef (const reco::PFRecTrackCollection &PfRTkColl, const reco::GsfTrack &, bool) |
bool | isFifthStep (reco::PFRecTrackRef pfKfTrack) |
bool | isInnerMost (const reco::GsfTrackRef &nGsfTrack, const reco::GsfTrackRef &iGsfTrack, bool &sameLayer) |
bool | isInnerMostWithLostHits (const reco::GsfTrackRef &nGsfTrack, const reco::GsfTrackRef &iGsfTrack, bool &sameLayer) |
bool | isSameEgSC (const reco::ElectronSeed &nSeed, const reco::ElectronSeed &iSeed, bool &bothGsfEcalDriven, float &SCEnergy) |
bool | isSharingEcalEnergyWithEgSC (const reco::GsfPFRecTrack &nGsfPFRecTrack, const reco::GsfPFRecTrack &iGsfPFRecTrack, const reco::ElectronSeed &nSeed, const reco::ElectronSeed &iSeed, const reco::PFClusterCollection &theEClus, bool &bothGsfTrackerDriven, bool &nEcalDriven, bool &iEcalDriven, float &nEnergy, float &iEnergy) |
float | minTangDist (const reco::GsfPFRecTrack &primGsf, const reco::GsfPFRecTrack &secGsf) |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Produce the PFRecTrack collection. More... | |
bool | resolveGsfTracks (const std::vector< reco::GsfPFRecTrack > &GsfPFVec, unsigned int ngsf, std::vector< unsigned int > &secondaries, const reco::PFClusterCollection &theEClus) |
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) |
Abstract.
PFElecTkProducer reads the merged GsfTracks collection built with the TrackerDriven and EcalDriven seeds and transform them in PFGsfRecTracks.
Definition at line 44 of file PFElecTkProducer.h.
|
explicit |
Constructor.
Definition at line 40 of file PFElecTkProducer.cc.
References applyAngularGsfClean_, applyGsfClean_, applySel_, debugGsfCleaning_, detaCutGsfClean_, detaGsfSC_, dphiCutGsfClean_, dphiGsfSC_, contentValuesFiles::fullPath, edm::ParameterSet::getParameter(), gsfTrackLabel_, maxPtConvReco_, modemomentum_, mvaConvBremFinderIDBarrelHighPt_, mvaConvBremFinderIDBarrelLowPt_, mvaConvBremFinderIDEndcapsHighPt_, mvaConvBremFinderIDEndcapsLowPt_, path_mvaWeightFileConvBremBarrelHighPt_, path_mvaWeightFileConvBremBarrelLowPt_, path_mvaWeightFileConvBremEndcapsHighPt_, path_mvaWeightFileConvBremEndcapsLowPt_, pfConv_, pfEcalClusters_, pfNuclear_, pfTrackLabel_, pfV0_, primVtxLabel_, SCEne_, trajinev_, useConvBremFinder_, useConversions_, useFifthStepForEcalDriven_, useFifthStepForTrackDriven_, useNuclear_, and useV0_.
PFElecTkProducer::~PFElecTkProducer | ( | ) |
Destructor.
Definition at line 113 of file PFElecTkProducer.cc.
References convBremFinder_, and pfTransformer_.
|
private |
Definition at line 532 of file PFElecTkProducer.cc.
References compareJSON::const, detaGsfSC_, dphiGsfSC_, reco::GsfTrack::etaMode(), reco::Track::extra(), reco::GsfTrack::phiMode(), Pi, SCEne_, reco::Track::seedRef(), and TwoPi.
Referenced by produce().
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 1156 of file PFElecTkProducer.cc.
References convBremFinder_, edm::EventSetup::get(), getDQMSummary::iter, HLT_25ns14e33_v1_cff::magneticField, mtsTransform_, mvaConvBremFinderIDBarrelHighPt_, mvaConvBremFinderIDBarrelLowPt_, mvaConvBremFinderIDEndcapsHighPt_, mvaConvBremFinderIDEndcapsLowPt_, path_mvaWeightFileConvBremBarrelHighPt_, path_mvaWeightFileConvBremBarrelLowPt_, path_mvaWeightFileConvBremEndcapsHighPt_, path_mvaWeightFileConvBremEndcapsLowPt_, pfTransformer_, edm::ESHandle< class >::product(), patCandidatesForDimuonsSequences_cff::tracker, and useConvBremFinder_.
|
private |
Definition at line 389 of file PFElecTkProducer.cc.
References python.multivaluedict::map().
Referenced by produce().
|
overrideprivatevirtual |
Reimplemented from edm::stream::EDProducerBase.
Definition at line 1211 of file PFElecTkProducer.cc.
References convBremFinder_, and pfTransformer_.
|
private |
Definition at line 408 of file PFElecTkProducer.cc.
References TrackingRecHit::all, compareJSON::const, reco::TrackBase::eta(), reco::Track::extra(), reco::TrackBase::phi(), Pi, TrajectorySeed::recHits(), reco::Track::seedRef(), mathSSE::sqrt(), and TwoPi.
Referenced by produce().
|
private |
Definition at line 490 of file PFElecTkProducer.cc.
References DetachedTripletStep_cff::detachedTripletStep, InitialStep_cff::initialStep, LowPU_MixedTripletStep_cff::mixedTripletStep, and PixelLessStep_cff::pixelLessStep.
Referenced by produce().
|
private |
Definition at line 1090 of file PFElecTkProducer.cc.
References reco::HitPattern::getHitPattern(), reco::HitPattern::getLayer(), and reco::HitPattern::getSubStructure().
|
private |
Definition at line 1135 of file PFElecTkProducer.cc.
Referenced by resolveGsfTracks().
|
private |
Definition at line 871 of file PFElecTkProducer.cc.
References reco::ElectronSeed::caloCluster(), compareJSON::const, edm::RefToBase< T >::get(), and edm::RefToBase< T >::isNonnull().
Referenced by resolveGsfTracks().
|
private |
Definition at line 894 of file PFElecTkProducer.cc.
References assert(), reco::PFCluster::calculatePositionREP(), reco::ElectronSeed::caloCluster(), compareJSON::const, reco::PFTrajectoryPoint::ECALShowerMax, reco::PFCluster::energy(), reco::CaloCluster::energy(), reco::PFTrack::extrapolatedPoint(), edm::RefToBase< T >::get(), reco::GsfPFRecTrack::gsfTrackRef(), edm::RefToBase< T >::isNonnull(), reco::PFTrajectoryPoint::isValid(), ClusterClusterMapping::overlap(), reco::GsfPFRecTrack::PFRecBrem(), Pi, reco::CaloCluster::position(), LinkByRecHit::testTrackAndClusterByRecHit(), and TwoPi.
Referenced by resolveGsfTracks().
|
private |
Definition at line 827 of file PFElecTkProducer.cc.
References reco::PFTrajectoryPoint::ECALEntrance, reco::PFTrajectoryPoint::isValid(), HLT_25ns14e33_v1_cff::minDphi, reco::GsfPFRecTrack::PFRecBrem(), Pi, reco::PFTrajectoryPoint::positionREP(), and TwoPi.
Referenced by resolveGsfTracks().
|
overrideprivatevirtual |
Produce the PFRecTrack collection.
Implements edm::stream::EDProducerBase.
Definition at line 127 of file PFElecTkProducer.cc.
References PFTrackTransformer::addPointsAndBrems(), applyGsfClean_, applySel_, applySelection(), compareJSON::const, convBremFinder_, createGsfPFRecTrackRef(), FindPfRef(), ConvBremPFTrackFinder::foundConvBremPFRecTrack(), edm::Event::getByToken(), ConvBremPFTrackFinder::getConvBremPFRecTracks(), reco::PFRecTrack::GSF, gsfTrackLabel_, cuy::ii, isFifthStep(), edm::Ref< C, T, F >::isNonnull(), modemomentum_, mtsTransform_, pfConv_, pfConversions_cfi::pfConversions, pfEcalClusters_, pfNuclear_, pftrack_, pfTrackLabel_, pfTransformer_, pfV0_cfi::pfV0, pfV0_, primVtxLabel_, edm::Handle< T >::product(), edm::Event::put(), resolveGsfTracks(), secpftrack_, trajinev_, useConversions_, useFifthStepForEcalDriven_, useFifthStepForTrackDriven_, useNuclear_, and useV0_.
|
private |
Definition at line 557 of file PFElecTkProducer.cc.
References applyAngularGsfClean_, compareJSON::const, gather_cfg::cout, debugGsfCleaning_, detaCutGsfClean_, dphiCutGsfClean_, MultiTrajectoryStateTransform::innerStateOnSurface(), isInnerMostWithLostHits(), isSameEgSC(), isSharingEcalEnergyWithEgSC(), TrajectoryStateOnSurface::isValid(), PV3DBase< T, PVType, FrameType >::mag(), minTangDist(), MultiTrajectoryStateMode::momentumFromModeCartesian(), mtsMode_, mtsTransform_, Pi, and TwoPi.
Referenced by produce().
|
private |
Definition at line 118 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 133 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 132 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 107 of file PFElecTkProducer.h.
|
private |
Definition at line 126 of file PFElecTkProducer.h.
Referenced by beginRun(), endRun(), produce(), and ~PFElecTkProducer().
|
private |
Definition at line 137 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 119 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 139 of file PFElecTkProducer.h.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 120 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and resolveGsfTracks().
|
private |
Definition at line 140 of file PFElecTkProducer.h.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 108 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 141 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer().
|
private |
Definition at line 131 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 124 of file PFElecTkProducer.h.
Referenced by resolveGsfTracks().
|
private |
Definition at line 125 of file PFElecTkProducer.h.
Referenced by beginRun(), produce(), and resolveGsfTracks().
|
private |
Definition at line 147 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 146 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 149 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 148 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 151 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 150 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 153 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 152 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 113 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 111 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 112 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 105 of file PFElecTkProducer.h.
Referenced by produce().
|
private |
Definition at line 109 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 123 of file PFElecTkProducer.h.
Referenced by beginRun(), endRun(), produce(), and ~PFElecTkProducer().
|
private |
Definition at line 114 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 110 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 138 of file PFElecTkProducer.h.
Referenced by applySelection(), and PFElecTkProducer().
|
private |
Definition at line 106 of file PFElecTkProducer.h.
Referenced by produce().
|
private |
Trajectory of GSfTracks in the event?
Definition at line 130 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Conv Brem Finder.
Definition at line 144 of file PFElecTkProducer.h.
Referenced by beginRun(), and PFElecTkProducer().
|
private |
Definition at line 116 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 134 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 135 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 115 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().
|
private |
Definition at line 117 of file PFElecTkProducer.h.
Referenced by PFElecTkProducer(), and produce().