Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef RecoMET_METPUSubtraction_MVAPFMEtDataProducer_h
0002 #define RecoMET_METPUSubtraction_MVAPFMEtDataProducer_h
0003 
0004 /** \class JVFJetIdProducer
0005  *
0006  * Discriminate jets originating from the hard-scatter event from pile-up jets,
0007  * based on the fraction of tracks within the jet that are associated to the hard-scatter vertex.
0008  * Jets outside the tracking acceptance are considered to originate from the hard-scatter event per default.
0009  * Optionally, they can be classified as pile-up.
0010  *
0011  * \authors Christian Veelken, LLR
0012  *
0013  */
0014 
0015 #include "FWCore/Framework/interface/Frameworkfwd.h"
0016 #include "FWCore/Framework/interface/stream/EDProducer.h"
0017 #include "FWCore/Framework/interface/Event.h"
0018 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0019 
0020 #include "PhysicsTools/SelectorUtils/interface/PFJetIDSelectionFunctor.h"
0021 #include "DataFormats/JetReco/interface/PileupJetIdentifier.h"
0022 
0023 #include "RecoMET/METPUSubtraction/interface/NoPileUpMEtAuxFunctions.h"
0024 
0025 class JVFJetIdProducer : public edm::stream::EDProducer<> {
0026 public:
0027   JVFJetIdProducer(const edm::ParameterSet&);
0028   ~JVFJetIdProducer() override;
0029 
0030 private:
0031   void produce(edm::Event&, const edm::EventSetup&) override;
0032 
0033   edm::EDGetTokenT<reco::PFJetCollection> srcJets_;
0034 
0035   edm::EDGetTokenT<reco::PFCandidateCollection> srcPFCandidates_;
0036   edm::EDGetTokenT<PFCandToVertexAssMap> srcPFCandToVertexAssociations_;
0037   edm::EDGetTokenT<reco::VertexCollection> srcHardScatterVertex_;
0038   double minTrackPt_;
0039   double dZcut_;
0040 
0041   double JVFcut_;
0042 
0043   int neutralJetOption_;
0044 
0045   int verbosity_;
0046 };
0047 
0048 #endif