Public Member Functions | |
bool | candsOrdering (pat::PackedCandidate i, pat::PackedCandidate j) const |
PATPackedCandidateProducer (const edm::ParameterSet &) | |
virtual void | produce (edm::StreamID, edm::Event &, const edm::EventSetup &) const override |
template<typename T > | |
std::vector< size_t > | sort_indexes (const std::vector< T > &v) const |
~PATPackedCandidateProducer () | |
Public Member Functions inherited from edm::global::EDProducer<> | |
EDProducer ()=default | |
Public Member Functions inherited from edm::global::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 | |
float | calcDxy (float dx, float dy, float phi) const |
float | calcDz (reco::Candidate::Point p, reco::Candidate::Point v, const reco::Candidate &c) const |
Private Attributes | |
const edm::EDGetTokenT < reco::PFCandidateCollection > | Cands_ |
const double | minPtForTrackProperties_ |
const edm::EDGetTokenT < std::vector < reco::PFCandidate > > | PuppiCands_ |
const edm::EDGetTokenT < edm::ValueMap < reco::CandidatePtr > > | PuppiCandsMap_ |
const edm::EDGetTokenT < std::vector < reco::PFCandidate > > | PuppiCandsNoLep_ |
const edm::EDGetTokenT < edm::ValueMap< float > > | PuppiWeight_ |
const edm::EDGetTokenT < edm::ValueMap< float > > | PuppiWeightNoLep_ |
const edm::EDGetTokenT < edm::Association < reco::VertexCollection > > | PVAsso_ |
const edm::EDGetTokenT < edm::ValueMap< int > > | PVAssoQuality_ |
const edm::EDGetTokenT < reco::VertexCollection > | PVOrigs_ |
const edm::EDGetTokenT < reco::VertexCollection > | PVs_ |
std::vector< edm::EDGetTokenT < edm::View < reco::CompositePtrCandidate > > > | SVWhiteLists_ |
const edm::EDGetTokenT < reco::TrackCollection > | TKOrigs_ |
Additional Inherited Members | |
Public Types inherited from edm::global::EDProducerBase | |
typedef EDProducerBase | 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::global::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 36 of file PATPackedCandidateProducer.cc.
|
explicit |
Definition at line 90 of file PATPackedCandidateProducer.cc.
References edm::EDConsumerBase::consumes(), edm::ParameterSet::getParameter(), and SVWhiteLists_.
pat::PATPackedCandidateProducer::~PATPackedCandidateProducer | ( | ) |
Definition at line 116 of file PATPackedCandidateProducer.cc.
|
inlineprivate |
Definition at line 81 of file PATPackedCandidateProducer.cc.
References funct::cos(), and funct::sin().
|
inlineprivate |
Definition at line 84 of file PATPackedCandidateProducer.cc.
References reco::Candidate::pt(), reco::Candidate::px(), reco::Candidate::py(), and reco::Candidate::pz().
|
inline |
Definition at line 44 of file PATPackedCandidateProducer.cc.
References funct::abs(), pat::PackedCandidate::charge(), pat::PackedCandidate::eta(), edm::Ref< C, T, F >::key(), minPtForTrackProperties_, pat::PackedCandidate::pt(), and pat::PackedCandidate::vertexRef().
Referenced by sort_indexes().
|
overridevirtual |
Implements edm::global::EDProducerBase.
Definition at line 120 of file PATPackedCandidateProducer.cc.
References funct::abs(), EnergyCorrector::c, reco::TrackBase::dz(), reco::PFCandidate::ecalEnergy(), edm::helper::Filler< Map >::fill(), edm::Event::getByToken(), reco::PFCandidate::gsfTrackRef(), reco::HitPattern::hasValidHitInFirstPixelBarrel(), reco::PFCandidate::hcalEnergy(), reco::TrackBase::highPurity, reco::TrackBase::hitPattern(), i, edm::HandleBase::id(), edm::Ptr< T >::id(), edm::Ref< C, T, F >::id(), cuy::ii, edm::helper::Filler< Map >::insert(), edm::Ref< C, T, F >::isNonnull(), edm::HandleBase::isValid(), j, edm::Ptr< T >::key(), edm::Ref< C, T, F >::key(), relval_steps::key, reco::HitPattern::MISSING_INNER_HITS, pat::PackedCandidate::moreLostInnerHits, reco::PFCandidate::muonRef(), pat::PackedCandidate::noLostInnerHits, reco::HitPattern::numberOfLostHits(), pat::PackedCandidate::oneLostInnerHit, reco::LeafCandidate::pdgId(), reco::LeafCandidate::phi(), reco::TrackBase::phi(), reco::LeafCandidate::polarP4(), edm::Handle< T >::product(), reco::LeafCandidate::pt(), edm::Event::put(), HLT_25ns10e33_v2_cff::quality, pat::qualityMap, reco::TrackBase::referencePoint(), edm::View< T >::size(), reco::PFCandidate::trackRef(), pat::PackedCandidate::UsedInFitTight, pat::PackedCandidate::validHitInFirstPixelBarrelLayer, and reco::PFCandidate::vertex().
|
inline |
Definition at line 58 of file PATPackedCandidateProducer.cc.
References candsOrdering(), i, customizeTrackingMonitorSeedNumber::idx, and findQualityFiles::v.
|
private |
Definition at line 66 of file PATPackedCandidateProducer.cc.
|
private |
Definition at line 79 of file PATPackedCandidateProducer.cc.
Referenced by candsOrdering().
|
private |
Definition at line 75 of file PATPackedCandidateProducer.cc.
|
private |
Definition at line 74 of file PATPackedCandidateProducer.cc.
|
private |
Definition at line 76 of file PATPackedCandidateProducer.cc.
|
private |
Definition at line 72 of file PATPackedCandidateProducer.cc.
|
private |
Definition at line 73 of file PATPackedCandidateProducer.cc.
|
private |
Definition at line 68 of file PATPackedCandidateProducer.cc.
|
private |
Definition at line 69 of file PATPackedCandidateProducer.cc.
|
private |
Definition at line 70 of file PATPackedCandidateProducer.cc.
|
private |
Definition at line 67 of file PATPackedCandidateProducer.cc.
|
private |
Definition at line 77 of file PATPackedCandidateProducer.cc.
Referenced by PATPackedCandidateProducer().
|
private |
Definition at line 71 of file PATPackedCandidateProducer.cc.