Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:26:45

0001 #ifndef RECOMET_METPRODUCERS_PARTICLEFLOWFORCHARGEDMETPRODUCER_H
0002 #define RECOMET_METPRODUCERS_PARTICLEFLOWFORCHARGEDMETPRODUCER_H
0003 
0004 /*
0005   Producer of collection of charged PF candidates beloning to the main PV
0006   Author: Marco Zanetti, MIT
0007 */
0008 
0009 #include "FWCore/Framework/interface/Frameworkfwd.h"
0010 #include "FWCore/Framework/interface/stream/EDProducer.h"
0011 #include "FWCore/Framework/interface/Event.h"
0012 #include "FWCore/Framework/interface/MakerMacros.h"
0013 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0014 
0015 #include <DataFormats/VertexReco/interface/VertexFwd.h>
0016 #include <DataFormats/ParticleFlowCandidate/interface/PFCandidateFwd.h>
0017 
0018 namespace reco {
0019   class ParticleFlowForChargedMETProducer : public edm::stream::EDProducer<> {
0020   public:
0021     explicit ParticleFlowForChargedMETProducer(const edm::ParameterSet&);
0022     ~ParticleFlowForChargedMETProducer() override;
0023 
0024   private:
0025     void produce(edm::Event&, const edm::EventSetup&) override;
0026 
0027     edm::InputTag pfCollectionLabel;
0028     edm::InputTag pvCollectionLabel;
0029 
0030     edm::EDGetTokenT<VertexCollection> pvCollectionToken;
0031     edm::EDGetTokenT<PFCandidateCollection> pfCandidatesToken;
0032 
0033     double dzCut;
0034     double neutralEtThreshold;
0035   };
0036 }  // namespace reco
0037 
0038 #endif