#include <PrimaryVertexSorter.h>
Public Types | |
typedef edm::Association < reco::VertexCollection > | CandToVertex |
typedef edm::ValueMap< int > | CandToVertexQuality |
typedef ParticlesCollection | PFCollection |
typedef edm::ValueMap< float > | VertexScore |
Public Types inherited from edm::stream::EDProducer<> | |
using | CacheTypes = CacheContexts< T...> |
using | GlobalCache = typename CacheTypes::GlobalCache |
using | HasAbility = AbilityChecker< T...> |
using | InputProcessBlockCache = typename CacheTypes::InputProcessBlockCache |
using | LuminosityBlockCache = typename CacheTypes::LuminosityBlockCache |
using | LuminosityBlockContext = LuminosityBlockContextT< LuminosityBlockCache, RunCache, GlobalCache > |
using | LuminosityBlockSummaryCache = typename CacheTypes::LuminosityBlockSummaryCache |
using | RunCache = typename CacheTypes::RunCache |
using | RunContext = RunContextT< RunCache, GlobalCache > |
using | RunSummaryCache = typename CacheTypes::RunSummaryCache |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
void | doConsumesForTiming (const edm::ParameterSet &iConfig) |
template<> | |
void | doConsumesForTiming (const edm::ParameterSet &iConfig) |
template<> | |
void | doConsumesForTiming (const edm::ParameterSet &iConfig) |
template<> | |
void | doConsumesForTiming (const edm::ParameterSet &iConfig) |
bool | needsProductsForTiming () |
template<> | |
bool | needsProductsForTiming () |
template<> | |
bool | needsProductsForTiming () |
template<> | |
bool | needsProductsForTiming () |
std::pair< int, PrimaryVertexAssignment::Quality > | runAlgo (const reco::VertexCollection &vertices, const typename ParticlesCollection::value_type &pf, const edm::ValueMap< float > *trackTimeTag, const edm::ValueMap< float > *trackTimeResoTag, const edm::View< reco::Candidate > &jets, const TransientTrackBuilder &builder) |
template<> | |
std::pair< int, PrimaryVertexAssignment::Quality > | runAlgo (const reco::VertexCollection &vertices, const reco::RecoChargedRefCandidate &pf, const edm::ValueMap< float > *trackTimeTag, const edm::ValueMap< float > *trackTimeResoTag, const edm::View< reco::Candidate > &jets, const TransientTrackBuilder &builder) |
template<> | |
std::pair< int, PrimaryVertexAssignment::Quality > | runAlgo (const reco::VertexCollection &vertices, const reco::PFCandidate &pf, const edm::ValueMap< float > *trackTimeTag, const edm::ValueMap< float > *trackTimeResoTag, const edm::View< reco::Candidate > &jets, const TransientTrackBuilder &builder) |
template<> | |
std::pair< int, PrimaryVertexAssignment::Quality > | runAlgo (const reco::VertexCollection &vertices, const pat::PackedCandidate &pf, const edm::ValueMap< float > *trackTimeTag, const edm::ValueMap< float > *trackTimeResoTag, const edm::View< reco::Candidate > &jets, const TransientTrackBuilder &builder) |
Static Private Member Functions | |
static void | fillDescriptionsCommon (edm::ParameterSetDescription &descriptions) |
Private Attributes | |
PrimaryVertexAssignment | assignmentAlgo_ |
bool | produceOriginalMapping_ |
bool | producePFNoPileUp_ |
bool | producePFPileUp_ |
bool | produceSortedVertices_ |
int | qualityCut_ |
PrimaryVertexSorting | sortingAlgo_ |
edm::ESGetToken < TransientTrackBuilder, TransientTrackRecord > | tokenBuilder_ |
edm::EDGetTokenT< PFCollection > | tokenCandidates_ |
Candidates to be analyzed. More... | |
edm::EDGetTokenT< edm::View < reco::Candidate > > | tokenJets_ |
edm::EDGetTokenT < edm::ValueMap< float > > | tokenTrackTimeResoTag_ |
edm::EDGetTokenT < edm::ValueMap< float > > | tokenTrackTimeTag_ |
edm::EDGetTokenT < reco::VertexCollection > | tokenVertices_ |
vertices More... | |
bool | useMET_ |
bool | useTiming_ |
class to sort VertexCollection in decreasing order of the sum of the squared track pT's
Definition at line 35 of file PrimaryVertexSorter.h.
typedef edm::Association<reco::VertexCollection> PrimaryVertexSorter< ParticlesCollection >::CandToVertex |
Definition at line 37 of file PrimaryVertexSorter.h.
typedef edm::ValueMap<int> PrimaryVertexSorter< ParticlesCollection >::CandToVertexQuality |
Definition at line 38 of file PrimaryVertexSorter.h.
typedef ParticlesCollection PrimaryVertexSorter< ParticlesCollection >::PFCollection |
Definition at line 41 of file PrimaryVertexSorter.h.
typedef edm::ValueMap<float> PrimaryVertexSorter< ParticlesCollection >::VertexScore |
Definition at line 39 of file PrimaryVertexSorter.h.
|
explicit |
Definition at line 94 of file PrimaryVertexSorter.h.
References PrimaryVertexSorter< ParticlesCollection >::doConsumesForTiming(), PrimaryVertexSorter< ParticlesCollection >::produceOriginalMapping_, PrimaryVertexSorter< ParticlesCollection >::producePFNoPileUp_, PrimaryVertexSorter< ParticlesCollection >::producePFPileUp_, PrimaryVertexSorter< ParticlesCollection >::produceSortedVertices_, dt_dqm_sourceclient_common_cff::reco, and PrimaryVertexSorter< ParticlesCollection >::useTiming_.
|
inlineoverride |
Definition at line 45 of file PrimaryVertexSorter.h.
|
private |
|
inlineprivate |
Definition at line 392 of file PrimaryVertexSorter.h.
References edm::ParameterSet::getParameter(), PrimaryVertexSorter< ParticlesCollection >::tokenTrackTimeResoTag_, and PrimaryVertexSorter< ParticlesCollection >::tokenTrackTimeTag_.
|
inlineprivate |
Definition at line 399 of file PrimaryVertexSorter.h.
|
inlineprivate |
Definition at line 403 of file PrimaryVertexSorter.h.
|
static |
|
inline |
Definition at line 312 of file PrimaryVertexSorter.h.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, PrimaryVertexSorter< ParticlesCollection >::fillDescriptionsCommon(), and HLT_FULL_cff::InputTag.
|
inline |
Definition at line 329 of file PrimaryVertexSorter.h.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, PrimaryVertexSorter< ParticlesCollection >::fillDescriptionsCommon(), and HLT_FULL_cff::InputTag.
|
inline |
Definition at line 344 of file PrimaryVertexSorter.h.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::add(), submitPVResolutionJobs::desc, PrimaryVertexSorter< ParticlesCollection >::fillDescriptionsCommon(), and HLT_FULL_cff::InputTag.
|
inlinestaticprivate |
Definition at line 359 of file PrimaryVertexSorter.h.
References edm::ParameterSetDescription::add().
Referenced by PrimaryVertexSorter< ParticlesCollection >::fillDescriptions().
|
private |
Referenced by PrimaryVertexSorter< ParticlesCollection >::produce().
|
inlineprivate |
Definition at line 407 of file PrimaryVertexSorter.h.
|
inlineprivate |
Definition at line 412 of file PrimaryVertexSorter.h.
|
inlineprivate |
Definition at line 417 of file PrimaryVertexSorter.h.
|
override |
Definition at line 143 of file PrimaryVertexSorter.h.
References edm::helper::Filler< Map >::fill(), edm::Event::getByToken(), edm::EventSetup::getData(), mps_fire::i, edm::helper::Filler< Map >::insert(), fwrapper::jets, eostools::move(), PrimaryVertexSorter< ParticlesCollection >::needsProductsForTiming(), HLT_FULL_cff::particles, PrimaryVertexSorter< ParticlesCollection >::produceOriginalMapping_, PrimaryVertexSorter< ParticlesCollection >::producePFNoPileUp_, PrimaryVertexSorter< ParticlesCollection >::producePFPileUp_, PrimaryVertexSorter< ParticlesCollection >::produceSortedVertices_, edm::Event::put(), MetAnalyzer::pv(), PrimaryVertexSorter< ParticlesCollection >::qualityCut_, dt_dqm_sourceclient_common_cff::reco, PrimaryVertexSorter< ParticlesCollection >::runAlgo(), alignCSCRings::s, PrimaryVertexSorter< ParticlesCollection >::sortingAlgo_, PrimaryVertexSorter< ParticlesCollection >::tokenBuilder_, PrimaryVertexSorter< ParticlesCollection >::tokenCandidates_, PrimaryVertexSorter< ParticlesCollection >::tokenJets_, PrimaryVertexSorter< ParticlesCollection >::tokenTrackTimeResoTag_, PrimaryVertexSorter< ParticlesCollection >::tokenTrackTimeTag_, PrimaryVertexSorter< ParticlesCollection >::tokenVertices_, PrimaryVertexSorter< ParticlesCollection >::useMET_, PrimaryVertexSorter< ParticlesCollection >::useTiming_, and beam_dqm_sourceclient-live_cfg::vertices.
|
private |
Referenced by PrimaryVertexSorter< ParticlesCollection >::produce().
|
inlineprivate |
Definition at line 423 of file PrimaryVertexSorter.h.
References PrimaryVertexSorter< ParticlesCollection >::assignmentAlgo_, and PrimaryVertexAssignment::chargedHadronVertex().
|
inlineprivate |
Definition at line 433 of file PrimaryVertexSorter.h.
References PrimaryVertexSorter< ParticlesCollection >::assignmentAlgo_, and PrimaryVertexAssignment::chargedHadronVertex().
|
inlineprivate |
Definition at line 444 of file PrimaryVertexSorter.h.
References PrimaryVertexSorter< ParticlesCollection >::assignmentAlgo_, and PrimaryVertexAssignment::chargedHadronVertex().
VertexCollection PrimaryVertexSorter< ParticlesCollection >::sortedList | ( | const reco::VertexCollection & | primaryVertex | ) | const |
Definition at line 7 of file PrimaryVertexSorter.cc.
Referenced by QualityCutsAnalyzer::LoopOverJetTracksAssociation().
|
private |
Definition at line 52 of file PrimaryVertexSorter.h.
Referenced by PrimaryVertexSorter< ParticlesCollection >::runAlgo().
|
private |
Definition at line 66 of file PrimaryVertexSorter.h.
Referenced by PrimaryVertexSorter< ParticlesCollection >::PrimaryVertexSorter(), and PrimaryVertexSorter< ParticlesCollection >::produce().
|
private |
Definition at line 69 of file PrimaryVertexSorter.h.
Referenced by PrimaryVertexSorter< ParticlesCollection >::PrimaryVertexSorter(), and PrimaryVertexSorter< ParticlesCollection >::produce().
|
private |
Definition at line 68 of file PrimaryVertexSorter.h.
Referenced by PrimaryVertexSorter< ParticlesCollection >::PrimaryVertexSorter(), and PrimaryVertexSorter< ParticlesCollection >::produce().
|
private |
Definition at line 67 of file PrimaryVertexSorter.h.
Referenced by PrimaryVertexSorter< ParticlesCollection >::PrimaryVertexSorter(), and PrimaryVertexSorter< ParticlesCollection >::produce().
|
private |
Definition at line 70 of file PrimaryVertexSorter.h.
Referenced by PrimaryVertexSorter< ParticlesCollection >::produce().
|
private |
Definition at line 53 of file PrimaryVertexSorter.h.
Referenced by PrimaryVertexSorter< ParticlesCollection >::produce().
|
private |
Definition at line 64 of file PrimaryVertexSorter.h.
Referenced by PrimaryVertexSorter< ParticlesCollection >::produce().
|
private |
Candidates to be analyzed.
Definition at line 56 of file PrimaryVertexSorter.h.
Referenced by PrimaryVertexSorter< ParticlesCollection >::produce().
|
private |
Definition at line 60 of file PrimaryVertexSorter.h.
Referenced by PrimaryVertexSorter< ParticlesCollection >::produce().
|
private |
Definition at line 62 of file PrimaryVertexSorter.h.
Referenced by PrimaryVertexSorter< ParticlesCollection >::doConsumesForTiming(), and PrimaryVertexSorter< ParticlesCollection >::produce().
|
private |
Definition at line 61 of file PrimaryVertexSorter.h.
Referenced by PrimaryVertexSorter< ParticlesCollection >::doConsumesForTiming(), and PrimaryVertexSorter< ParticlesCollection >::produce().
|
private |
vertices
Definition at line 59 of file PrimaryVertexSorter.h.
Referenced by PrimaryVertexSorter< ParticlesCollection >::produce().
|
private |
Definition at line 71 of file PrimaryVertexSorter.h.
Referenced by PrimaryVertexSorter< ParticlesCollection >::produce().
|
private |
Definition at line 72 of file PrimaryVertexSorter.h.
Referenced by PrimaryVertexSorter< ParticlesCollection >::PrimaryVertexSorter(), and PrimaryVertexSorter< ParticlesCollection >::produce().