#include <ParticleFlowForChargedMETProducer.h>
ParticleFlowForChargedMETProducer::ParticleFlowForChargedMETProducer |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
ParticleFlowForChargedMETProducer::~ParticleFlowForChargedMETProducer |
( |
| ) |
|
|
override |
Definition at line 24 of file ParticleFlowForChargedMETProducer.cc.
References PFRecoTauChargedHadronBuilderPlugins_cfi::chargedPFCandidates, pfChMet_cfi::dzCut, edm::Event::getByToken(), mps_fire::i, edm::Ref< C, T, F >::isNonnull(), eostools::move(), pfChMet_cfi::neutralEtThreshold, slimmedMuons_cfi::pfCandidates, reco::LeafCandidate::pt(), edm::Event::put(), anotherprimaryvertexanalyzer_cfi::pvCollection, and reco::PFCandidate::trackRef().
30 VertexCollection::const_iterator vertex = pvCollection->begin();
38 if (!pvCollection->empty()) {
39 for(
unsigned i=0;
i<pfCandidates->size();
i++ ) {
43 if (pfCandPtr->trackRef().isNonnull()) {
44 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 |