CMS 3D CMS Logo

PileupJetIdProducer.h
Go to the documentation of this file.
1 #ifndef RecoJets_JetProducers_plugins_PileupJetIDProducer_h
2 #define RecoJets_JetProducers_plugins_PileupJetIDProducer_h
3 
4 // -*- C++ -*-
5 //
6 // Package: PileupJetIdProducer
7 // Class: PileupJetIdProducer
8 //
16 //
17 // Original Author: Pasquale Musella,40 2-A12,+41227671706,
18 // Created: Wed Apr 18 15:48:47 CEST 2012
19 //
20 //
21 
22 
23 // system include files
24 #include <memory>
25 
26 // user include files
34 
36 
41 
45 
47 
48 // ------------------------------------------------------------------------------------------
50 public:
51  explicit PileupJetIdProducer(const edm::ParameterSet&);
52  ~PileupJetIdProducer() override;
53 
54  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
55 
56 private:
57  void produce(edm::Event&, const edm::EventSetup&) override;
58 
59 
60  void initJetEnergyCorrector(const edm::EventSetup &iSetup, bool isData);
61 
65  std::vector<std::pair<std::string, std::unique_ptr<PileupJetIdAlgo>> > algos_;
66 
69  std::unique_ptr<FactorizedJetCorrector> jecCor_;
70  std::vector<JetCorrectorParameters> jetCorPars_;
71 
76 
77 };
78 
79 #endif
std::vector< JetCorrectorParameters > jetCorPars_
edm::EDGetTokenT< reco::VertexCollection > input_vertex_token_
edm::EDGetTokenT< edm::View< reco::Jet > > input_jet_token_
PileupJetIdProducer(const edm::ParameterSet &)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
edm::EDGetTokenT< double > input_rho_token_
edm::FileInPath residualsTxt_
void initJetEnergyCorrector(const edm::EventSetup &iSetup, bool isData)
void produce(edm::Event &, const edm::EventSetup &) override
std::vector< std::pair< std::string, std::unique_ptr< PileupJetIdAlgo > > > algos_
edm::EDGetTokenT< edm::ValueMap< StoredPileupJetIdentifier > > input_vm_pujetid_token_
std::unique_ptr< FactorizedJetCorrector > jecCor_