Public Member Functions | |
bool | candsOrdering (pat::PackedCandidate i, pat::PackedCandidate j) |
PATPackedCandidateProducer (const edm::ParameterSet &) | |
virtual void | produce (edm::Event &, const edm::EventSetup &) |
template<typename T > | |
std::vector< size_t > | sort_indexes (const std::vector< T > &v) |
~PATPackedCandidateProducer () | |
Public Member Functions inherited from edm::EDProducer | |
EDProducer () | |
ModuleDescription const & | moduleDescription () const |
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 | |
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 | |
float | calcDxy (float dx, float dy, float phi) |
float | calcDz (reco::Candidate::Point p, reco::Candidate::Point v, const reco::Candidate &c) |
Private Attributes | |
edm::EDGetTokenT < reco::PFCandidateCollection > | Cands_ |
double | minPtForTrackProperties_ |
edm::EDGetTokenT< std::vector < reco::PFCandidate > > | PuppiCands_ |
edm::EDGetTokenT < edm::ValueMap < reco::CandidatePtr > > | PuppiCandsMap_ |
edm::EDGetTokenT< std::vector < reco::PFCandidate > > | PuppiCandsNoLep_ |
edm::EDGetTokenT < edm::ValueMap< float > > | PuppiWeight_ |
edm::EDGetTokenT < edm::ValueMap< float > > | PuppiWeightNoLep_ |
edm::EDGetTokenT < edm::Association < reco::VertexCollection > > | PVAsso_ |
edm::EDGetTokenT < edm::ValueMap< int > > | PVAssoQuality_ |
edm::EDGetTokenT < reco::VertexCollection > | PVOrigs_ |
edm::EDGetTokenT < reco::VertexCollection > | PVs_ |
edm::EDGetTokenT< edm::View < reco::CompositePtrCandidate > > | SVWhiteList_ |
edm::EDGetTokenT < reco::TrackCollection > | TKOrigs_ |
Additional Inherited Members | |
Public Types inherited from edm::EDProducer | |
typedef EDProducer | ModuleType |
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::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 36 of file PATPackedCandidateProducer.cc.
|
explicit |
Definition at line 90 of file PATPackedCandidateProducer.cc.
pat::PATPackedCandidateProducer::~PATPackedCandidateProducer | ( | ) |
Definition at line 110 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().
|
virtual |
Implements edm::EDProducer.
Definition at line 114 of file PATPackedCandidateProducer.cc.
References funct::abs(), EnergyCorrector::c, reco::TrackBase::dz(), edm::helper::Filler< Map >::fill(), edm::Event::getByToken(), reco::PFCandidate::gsfTrackRef(), reco::HitPattern::hasValidHitInFirstPixelBarrel(), 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_25ns14e33_v1_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, python.multivaluedict::sort(), 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.
|
private |
Definition at line 71 of file PATPackedCandidateProducer.cc.