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 
23 
25 
27 
30 
31 namespace pat {
32 
34  public:
35  explicit PATJetUpdater(const edm::ParameterSet& iConfig);
36  ~PATJetUpdater() override;
37 
38  void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
39 
40  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
41 
42  private:
43  // configurables
46  std::vector<edm::EDGetTokenT<edm::ValueMap<JetCorrFactors> > > jetCorrFactorsTokens_;
47 
50  std::vector<edm::InputTag> discriminatorTags_;
51  std::vector<edm::EDGetTokenT<reco::JetFloatAssociation::Container> > discriminatorTokens_;
52  std::vector<std::string> discriminatorLabels_;
54  std::vector<edm::InputTag> tagInfoTags_;
55  std::vector<edm::EDGetTokenT<edm::View<reco::BaseTagInfo> > > tagInfoTokens_;
56  std::vector<std::string> tagInfoLabels_;
57 
59 
62  //
63  bool printWarning_; // this is introduced to issue warnings only once per job
64  };
65 
66 } // namespace pat
67 
68 #endif
pat::PATUserDataHelper< pat::Jet >
GreaterByPt
Definition: PtComparator.h:24
pat::PATJetUpdater::tagInfoTokens_
std::vector< edm::EDGetTokenT< edm::View< reco::BaseTagInfo > > > tagInfoTokens_
Definition: PATJetUpdater.h:55
pat::PATJetUpdater::discriminatorLabels_
std::vector< std::string > discriminatorLabels_
Definition: PATJetUpdater.h:52
edm::EDGetTokenT
Definition: EDGetToken.h:33
pat::PATJetUpdater::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: PATJetUpdater.cc:228
EDProducer.h
PtComparator.h
pat::PATJetUpdater::discriminatorTokens_
std::vector< edm::EDGetTokenT< reco::JetFloatAssociation::Container > > discriminatorTokens_
Definition: PATJetUpdater.h:51
pat::PATJetUpdater::pTComparator_
GreaterByPt< Jet > pTComparator_
Definition: PATJetUpdater.h:58
pat::PATJetUpdater::addJetCorrFactors_
bool addJetCorrFactors_
Definition: PATJetUpdater.h:45
pat::PATJetUpdater::addDiscriminators_
bool addDiscriminators_
Definition: PATJetUpdater.h:49
pat::PATJetUpdater::PATJetUpdater
PATJetUpdater(const edm::ParameterSet &iConfig)
Definition: PATJetUpdater.cc:25
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
UserData.h
pat::PATJetUpdater::printWarning_
bool printWarning_
Definition: PATJetUpdater.h:63
iEvent
int iEvent
Definition: GenABIO.cc:224
pat::PATJetUpdater::jetCorrFactorsTokens_
std::vector< edm::EDGetTokenT< edm::ValueMap< JetCorrFactors > > > jetCorrFactorsTokens_
Definition: PATJetUpdater.h:46
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
pat
Definition: HeavyIon.h:7
pat::PATJetUpdater::tagInfoLabels_
std::vector< std::string > tagInfoLabels_
Definition: PATJetUpdater.h:56
Jet.h
pat::PATJetUpdater::discriminatorTags_
std::vector< edm::InputTag > discriminatorTags_
Definition: PATJetUpdater.h:50
pat::PATJetUpdater::userDataHelper_
pat::PATUserDataHelper< pat::Jet > userDataHelper_
Definition: PATJetUpdater.h:61
InputTag.h
pat::PATJetUpdater::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: PATJetUpdater.cc:90
pat::PATJetUpdater::jetsToken_
edm::EDGetTokenT< edm::View< reco::Jet > > jetsToken_
Definition: PATJetUpdater.h:44
pat::PATJetUpdater::useUserData_
bool useUserData_
Definition: PATJetUpdater.h:60
pat::PATJetUpdater::tagInfoTags_
std::vector< edm::InputTag > tagInfoTags_
Definition: PATJetUpdater.h:54
PATUserDataHelper.h
pat::PATJetUpdater::addTagInfos_
bool addTagInfos_
Definition: PATJetUpdater.h:53
View.h
ParameterSet.h
pat::PATJetUpdater
Produces pat::Jet's.
Definition: PATJetUpdater.h:33
edm::Event
Definition: Event.h:73
pat::PATJetUpdater::~PATJetUpdater
~PATJetUpdater() override
Definition: PATJetUpdater.cc:88
pat::PATJetUpdater::addBTagInfo_
bool addBTagInfo_
Definition: PATJetUpdater.h:48