CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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);
40 
41  virtual void produce(edm::Event & iEvent, const edm::EventSetup& iSetup) override;
42 
43  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
44 
45  private:
46 
47  // configurables
50  std::vector<edm::EDGetTokenT<edm::ValueMap<JetCorrFactors> > > jetCorrFactorsTokens_;
51 
54  std::vector<edm::InputTag> discriminatorTags_;
55  std::vector<edm::EDGetTokenT<reco::JetFloatAssociation::Container> > discriminatorTokens_;
56  std::vector<std::string> discriminatorLabels_;
58  std::vector<edm::InputTag> tagInfoTags_;
59  std::vector<edm::EDGetTokenT<edm::View<reco::BaseTagInfo> > > tagInfoTokens_;
60  std::vector<std::string> tagInfoLabels_;
61 
63 
66  //
67  bool printWarning_; // this is introduced to issue warnings only once per job
68 
69  };
70 
71 
72 }
73 
74 #endif
Assists in assimilating all pat::UserData into pat objects.
GreaterByPt< Jet > pTComparator_
Definition: PATJetUpdater.h:62
edm::EDGetTokenT< edm::View< reco::Jet > > jetsToken_
Definition: PATJetUpdater.h:48
std::vector< edm::InputTag > tagInfoTags_
Definition: PATJetUpdater.h:58
PATJetUpdater(const edm::ParameterSet &iConfig)
std::vector< edm::EDGetTokenT< edm::View< reco::BaseTagInfo > > > tagInfoTokens_
Definition: PATJetUpdater.h:59
std::vector< edm::EDGetTokenT< reco::JetFloatAssociation::Container > > discriminatorTokens_
Definition: PATJetUpdater.h:55
int iEvent
Definition: GenABIO.cc:230
Produces pat::Jet&#39;s.
Definition: PATJetUpdater.h:34
std::vector< edm::InputTag > discriminatorTags_
Definition: PATJetUpdater.h:54
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::vector< std::string > discriminatorLabels_
Definition: PATJetUpdater.h:56
pat::PATUserDataHelper< pat::Jet > userDataHelper_
Definition: PATJetUpdater.h:65
std::vector< std::string > tagInfoLabels_
Definition: PATJetUpdater.h:60
virtual void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
std::vector< edm::EDGetTokenT< edm::ValueMap< JetCorrFactors > > > jetCorrFactorsTokens_
Definition: PATJetUpdater.h:50