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) |
std::vector< edm::ProductResolverIndex > const & | indiciesForPutProducts (BranchType iBranchType) const |
ProducerBase () | |
void | registerProducts (ProducerBase *, ProductRegistry *, ModuleDescription const &) |
std::function< void(BranchDescription const &)> | registrationCallback () const |
used by the fwk to register list of products More... | |
void | resolvePutIndicies (BranchType iBranchType, std::unordered_multimap< std::string, edm::ProductResolverIndex > const &iIndicies, std::string const &moduleLabel) |
virtual | ~ProducerBase () noexcept(false) |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
void | convertCurrentProcessAlias (std::string const &processName) |
Convert "@currentProcess" in InputTag process names to the actual current process name. More... | |
EDConsumerBase () | |
EDConsumerBase (EDConsumerBase const &)=delete | |
EDConsumerBase (EDConsumerBase &&)=default | |
ProductResolverIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductResolverIndexAndSkipBit > &) const |
std::vector< ProductResolverIndexAndSkipBit > const & | itemsToGetFrom (BranchType iType) const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
EDConsumerBase const & | operator= (EDConsumerBase const &)=delete |
EDConsumerBase & | operator= (EDConsumerBase &&)=default |
bool | registeredToConsume (ProductResolverIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductResolverIndexHelper const &, bool iPrefetchMayGet) |
virtual | ~EDConsumerBase () noexcept(false) |
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 |
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 103 of file PATPackedCandidateProducer.cc.
References edm::EDConsumerBase::consumes(), edm::ParameterSet::getParameter(), and SVWhiteLists_.
pat::PATPackedCandidateProducer::~PATPackedCandidateProducer | ( | ) |
Definition at line 136 of file PATPackedCandidateProducer.cc.
|
inlineprivate |
Definition at line 94 of file PATPackedCandidateProducer.cc.
References funct::cos(), and funct::sin().
|
inlineprivate |
Definition at line 97 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::covarianceSchema(), pat::PackedCandidate::eta(), pat::PackedCandidate::hasTrackDetails(), edm::Ref< C, T, F >::key(), and pat::PackedCandidate::vertexRef().
Referenced by sort_indexes().
|
overridevirtual |
Definition at line 140 of file PATPackedCandidateProducer.cc.
References funct::abs(), begin, EnergyCorrector::c, Cands_, packedPFCandidates_cfi::chargedHadronIsolation, ChargedHadronIsolation_, covariancePackingSchemas_, covarianceVersion_, DEFINE_FWK_MODULE, allConversions_cfi::dz, reco::TrackBase::dz(), reco::PFCandidate::ecalEnergy(), edm::View< T >::end(), reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), reco::TrackBase::eta(), edm::helper::Filler< Map >::fill(), edm::Event::getByToken(), reco::PFCandidate::gsfTrackRef(), reco::HitPattern::hasValidHitInPixelLayer(), reco::PFCandidate::hcalEnergy(), reco::TrackBase::highPurity, reco::TrackBase::hitPattern(), mps_fire::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(), crabWrapper::key, edm::Ptr< T >::key(), edm::Ref< C, T, F >::key(), cutsCKF_cfi::lostHits, HPSPFTaus_cff::mapping, minPtForChargedHadronProperties_, minPtForTrackProperties_, reco::HitPattern::MISSING_INNER_HITS, pat::PackedCandidate::moreLostInnerHits, eostools::move(), reco::PFCandidate::muonRef(), pat::PackedCandidate::noLostInnerHits, reco::HitPattern::numberOfLostHits(), reco::HitPattern::numberOfValidPixelHits(), pat::PackedCandidate::oneLostInnerHit, reco::LeafCandidate::pdgId(), reco::LeafCandidate::phi(), reco::TrackBase::phi(), GeomDetEnumerators::PixelBarrel, reco::LeafCandidate::polarP4(), edm::Handle< T >::product(), reco::LeafCandidate::pt(), reco::TrackBase::pt(), PuppiCands_, PuppiCandsMap_, PuppiCandsNoLep_, PuppiWeight_, PuppiWeightNoLep_, edm::Event::put(), PVAsso_, PVAssoQuality_, PVOrigs_, PVs_, btvTracks_cfi::quality, pat::qualityMap, reco::PFCandidate::rawEcalEnergy(), reco::PFCandidate::rawHcalEnergy(), reco::TrackBase::referencePoint(), edm::View< T >::size(), sort_indexes(), storeChargedHadronIsolation_, SVWhiteLists_, TKOrigs_, reco::RecoChargedCandidate::track(), reco::PFCandidate::trackRef(), pat::PackedCandidate::UsedInFitTight, usePuppi_, pat::PackedCandidate::validHitInFirstPixelBarrelLayer, reco::PFCandidate::vertex(), and badGlobalMuonTaggersAOD_cff::vtx.
|
inline |
Definition at line 61 of file PATPackedCandidateProducer.cc.
References candsOrdering(), mps_fire::i, training_settings::idx, and findQualityFiles::v.
Referenced by produce().
|
private |
Definition at line 74 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 87 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 92 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 91 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 89 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 90 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 83 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 82 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 84 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 80 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 81 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 76 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 77 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 78 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 75 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 86 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 85 of file PATPackedCandidateProducer.cc.
Referenced by PATPackedCandidateProducer(), and produce().
|
private |
Definition at line 79 of file PATPackedCandidateProducer.cc.
Referenced by produce().
|
private |
Definition at line 72 of file PATPackedCandidateProducer.cc.
Referenced by produce().