#include <PFTrackProducer.h>
Public Member Functions | |
PFTrackProducer (const edm::ParameterSet &) | |
Constructor. More... | |
~PFTrackProducer () | |
Destructor. More... | |
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 | |
virtual void | beginRun (const edm::Run &, const edm::EventSetup &) override |
virtual void | endRun (const edm::Run &, const edm::EventSetup &) override |
virtual void | produce (edm::Event &, const edm::EventSetup &) override |
Produce the PFRecTrack collection. More... | |
Private Attributes | |
bool | gsfinev_ |
edm::InputTag | gsfTrackLabel_ |
edm::InputTag | muonColl_ |
PFTrackTransformer * | pfTransformer_ |
PFTrackTransformer. More... | |
reco::TrackBase::TrackQuality | trackQuality_ |
std::vector< edm::InputTag > | tracksContainers_ |
bool | trajinev_ |
bool | useQuality_ |
TRACK QUALITY. More... | |
edm::InputTag | vtx_h |
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 20 of file PFTrackProducer.h.
|
explicit |
Constructor.
Definition at line 27 of file PFTrackProducer.cc.
References edm::ParameterSet::getParameter(), gsfinev_, gsfTrackLabel_, muonColl_, reco::TrackBase::qualityByName(), AlCaHLTBitMon_QueryRunRegistry::string, trackQuality_, tracksContainers_, trajinev_, useQuality_, and vtx_h.
PFTrackProducer::~PFTrackProducer | ( | ) |
Destructor.
Definition at line 50 of file PFTrackProducer.cc.
References pfTransformer_.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 235 of file PFTrackProducer.cc.
References edm::EventSetup::get(), PFTrackTransformer::OnlyProp(), pfTransformer_, and trajinev_.
|
overrideprivatevirtual |
Reimplemented from edm::EDProducer.
Definition at line 247 of file PFTrackProducer.cc.
References pfTransformer_.
|
overrideprivatevirtual |
Produce the PFRecTrack collection.
Implements edm::EDProducer.
Definition at line 56 of file PFTrackProducer.cc.
References PFTrackTransformer::addPoints(), TransientTrackBuilder::build(), alignCSCRings::e, reco::PFTrajectoryPoint::ECALEntrance, newFWLiteAna::found, edm::EventSetup::get(), edm::Event::getByLabel(), gsfinev_, gsfTrackLabel_, i, edm::Ref< C, T, F >::isNonnull(), edm::Ref< C, T, F >::isNull(), edm::HandleBase::isValid(), reco::PFTrajectoryPoint::isValid(), j, reco::PFRecTrack::KF, reco::PFRecTrack::KF_ELCAND, muonColl_, AlCaHLTBitMon_ParallelJobs::p, pfTransformer_, edm::Handle< T >::product(), edm::ESHandle< class >::product(), edm::Event::put(), edm::second(), IPTools::signedTransverseImpactParameter(), trackQuality_, tracksContainers_, trajinev_, useQuality_, TrackValidation_HighPurity_cff::valid, and vtx_h.
|
private |
Definition at line 46 of file PFTrackProducer.h.
Referenced by PFTrackProducer(), and produce().
|
private |
Definition at line 39 of file PFTrackProducer.h.
Referenced by PFTrackProducer(), and produce().
|
private |
Definition at line 40 of file PFTrackProducer.h.
Referenced by PFTrackProducer(), and produce().
|
private |
Definition at line 37 of file PFTrackProducer.h.
Referenced by beginRun(), endRun(), produce(), and ~PFTrackProducer().
|
private |
Definition at line 44 of file PFTrackProducer.h.
Referenced by PFTrackProducer(), and produce().
|
private |
Definition at line 38 of file PFTrackProducer.h.
Referenced by PFTrackProducer(), and produce().
|
private |
Definition at line 45 of file PFTrackProducer.h.
Referenced by beginRun(), PFTrackProducer(), and produce().
|
private |
TRACK QUALITY.
Definition at line 43 of file PFTrackProducer.h.
Referenced by PFTrackProducer(), and produce().
|
private |
Definition at line 41 of file PFTrackProducer.h.
Referenced by PFTrackProducer(), and produce().