#include <ParticleFlowForChargedMETProducer.h>
ParticleFlowForChargedMETProducer::ParticleFlowForChargedMETProducer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
ParticleFlowForChargedMETProducer::~ParticleFlowForChargedMETProducer |
( |
| ) |
|
|
override |
Definition at line 23 of file ParticleFlowForChargedMETProducer.cc.
References PFRecoTauChargedHadronBuilderPlugins_cfi::chargedPFCandidates, TrackSplittingMonitor_cfi::dzCut, edm::Event::getByToken(), mps_fire::i, edm::Ref< C, T, F >::isNonnull(), eostools::move(), pfChMet_cfi::neutralEtThreshold, zmumugammaAnalyzer_cfi::pfCandidates, reco::LeafCandidate::pt(), edm::Event::put(), anotherprimaryvertexanalyzer_cfi::pvCollection, reco::PFCandidate::trackRef(), and bphysicsOniaDQM_cfi::vertex.
27 VertexCollection::const_iterator
vertex = pvCollection->begin();
35 if (!pvCollection->empty()) {
36 for (
unsigned i = 0;
i < pfCandidates->size();
i++) {
40 if (pfCandPtr->trackRef().isNonnull()) {
41 if (pfCandPtr->trackRef()->dz((*vertex).position()) <
dzCut) {
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
bool getByToken(EDGetToken token, Handle< PROD > &result) const
double neutralEtThreshold
Particle reconstructed by the particle flow algorithm.
edm::EDGetTokenT< VertexCollection > pvCollectionToken
edm::EDGetTokenT< PFCandidateCollection > pfCandidatesToken
double reco::ParticleFlowForChargedMETProducer::dzCut |
|
private |
double reco::ParticleFlowForChargedMETProducer::neutralEtThreshold |
|
private |
edm::InputTag reco::ParticleFlowForChargedMETProducer::pfCollectionLabel |
|
private |
edm::InputTag reco::ParticleFlowForChargedMETProducer::pvCollectionLabel |
|
private |