CMS 3D CMS Logo

PATJetUpdater.h
Go to the documentation of this file.
1 //
2 //
3 
4 #ifndef PhysicsTools_PatAlgos_PATJetUpdater_h
5 #define PhysicsTools_PatAlgos_PATJetUpdater_h
6 
24 
26 
28 
31 
32 namespace pat {
33 
35 
36  public:
37 
38  explicit PATJetUpdater(const edm::ParameterSet & iConfig);
39  ~PATJetUpdater() override;
40 
41  void produce(edm::Event & iEvent, const edm::EventSetup& iSetup) override;
42 
43  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
44 
45  private:
46 
47  // configurables
49  bool sort_;
51  std::vector<edm::EDGetTokenT<edm::ValueMap<JetCorrFactors> > > jetCorrFactorsTokens_;
52 
55  std::vector<edm::InputTag> discriminatorTags_;
56  std::vector<edm::EDGetTokenT<reco::JetFloatAssociation::Container> > discriminatorTokens_;
57  std::vector<std::string> discriminatorLabels_;
59  std::vector<edm::InputTag> tagInfoTags_;
60  std::vector<edm::EDGetTokenT<edm::View<reco::BaseTagInfo> > > tagInfoTokens_;
61  std::vector<std::string> tagInfoLabels_;
62 
64 
67  //
68  bool printWarning_; // this is introduced to issue warnings only once per job
69 
70  };
71 
72 
73 }
74 
75 #endif
Assists in assimilating all pat::UserData into pat objects.
GreaterByPt< Jet > pTComparator_
Definition: PATJetUpdater.h:63
~PATJetUpdater() override
edm::EDGetTokenT< edm::View< reco::Jet > > jetsToken_
Definition: PATJetUpdater.h:48
std::vector< edm::InputTag > tagInfoTags_
Definition: PATJetUpdater.h:59
PATJetUpdater(const edm::ParameterSet &iConfig)
Definition: HeavyIon.h:7
std::vector< edm::EDGetTokenT< edm::View< reco::BaseTagInfo > > > tagInfoTokens_
Definition: PATJetUpdater.h:60
std::vector< edm::EDGetTokenT< reco::JetFloatAssociation::Container > > discriminatorTokens_
Definition: PATJetUpdater.h:56
int iEvent
Definition: GenABIO.cc:224
Produces pat::Jet&#39;s.
Definition: PATJetUpdater.h:34
std::vector< edm::InputTag > discriminatorTags_
Definition: PATJetUpdater.h:55
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< std::string > discriminatorLabels_
Definition: PATJetUpdater.h:57
pat::PATUserDataHelper< pat::Jet > userDataHelper_
Definition: PATJetUpdater.h:66
std::vector< std::string > tagInfoLabels_
Definition: PATJetUpdater.h:61
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
std::vector< edm::EDGetTokenT< edm::ValueMap< JetCorrFactors > > > jetCorrFactorsTokens_
Definition: PATJetUpdater.h:51