CMS 3D CMS Logo

PATJetProducer.h
Go to the documentation of this file.
1 //
2 //
3 
4 #ifndef PhysicsTools_PatAlgos_PATJetProducer_h
5 #define PhysicsTools_PatAlgos_PATJetProducer_h
6 
23 
26 
28 
32 
35 
38 
39 class JetFlavourIdentifier;
40 
41 namespace pat {
42 
44  public:
45  explicit PATJetProducer(const edm::ParameterSet& iConfig);
46  ~PATJetProducer() override;
47 
48  void produce(edm::Event& iEvent, const edm::EventSetup& iSetup) override;
49 
50  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
51 
52  private:
53  // configurables
69  // edm::EDGetTokenT<edm::View<reco::SomePartonJetType> > partonJetToken_;
71  std::vector<edm::EDGetTokenT<edm::ValueMap<JetCorrFactors> > > jetCorrFactorsTokens_;
72 
75  std::vector<edm::InputTag> discriminatorTags_;
76  std::vector<edm::EDGetTokenT<reco::JetFloatAssociation::Container> > discriminatorTokens_;
77  std::vector<std::string> discriminatorLabels_;
79  std::vector<edm::InputTag> tagInfoTags_;
80  std::vector<edm::EDGetTokenT<edm::View<reco::BaseTagInfo> > > tagInfoTokens_;
81  std::vector<std::string> tagInfoLabels_;
86  bool addJetID_;
88  // tools
91 
94 
97 
100  //
101  bool printWarning_; // this is introduced to issue warnings only once per job
102  };
103 
104 } // namespace pat
105 
106 #endif
pat::PATJetProducer::discriminatorTags_
std::vector< edm::InputTag > discriminatorTags_
Definition: PATJetProducer.h:75
pat::PATJetProducer::printWarning_
bool printWarning_
Definition: PATJetProducer.h:101
pat::PATJetProducer::addGenJetMatch_
bool addGenJetMatch_
Definition: PATJetProducer.h:65
pat::PATUserDataHelper< pat::Jet >
GreaterByPt
Definition: PtComparator.h:24
pat::PATJetProducer::addJetFlavourInfo_
bool addJetFlavourInfo_
Definition: PATJetProducer.h:59
pat::PATJetProducer::genPartonToken_
edm::EDGetTokenT< edm::Association< reco::GenParticleCollection > > genPartonToken_
Definition: PATJetProducer.h:64
pat::PATJetProducer::jetIDMapToken_
edm::EDGetTokenT< reco::JetIDValueMap > jetIDMapToken_
Definition: PATJetProducer.h:87
pat::PATJetProducer::PATJetProducer
PATJetProducer(const edm::ParameterSet &iConfig)
Definition: PATJetProducer.cc:40
pat::PATJetProducer::addBTagInfo_
bool addBTagInfo_
Definition: PATJetProducer.h:73
pat::helper::EfficiencyLoader
Definition: EfficiencyLoader.h:16
edm::EDGetTokenT
Definition: EDGetToken.h:33
JetFlavourInfoMatching.h
Muon.h
pat::PATJetProducer::addEfficiencies_
bool addEfficiencies_
Definition: PATJetProducer.h:92
pat::PATJetProducer::addResolutions_
bool addResolutions_
Definition: PATJetProducer.h:95
pat::PATJetProducer::discriminatorTokens_
std::vector< edm::EDGetTokenT< reco::JetFloatAssociation::Container > > discriminatorTokens_
Definition: PATJetProducer.h:76
EDProducer.h
PtComparator.h
pat::PATJetProducer::embedPFCandidates_
bool embedPFCandidates_
Definition: PATJetProducer.h:56
pat::PATJetProducer::efficiencyLoader_
pat::helper::EfficiencyLoader efficiencyLoader_
Definition: PATJetProducer.h:93
EfficiencyLoader.h
pat::PATJetProducer::caloPTComparator_
GreaterByPt< CaloTower > caloPTComparator_
Definition: PATJetProducer.h:90
pat::PATJetProducer::embedGenPartonMatch_
bool embedGenPartonMatch_
Definition: PATJetProducer.h:63
pat::PATJetProducer::embedGenJetMatch_
bool embedGenJetMatch_
Definition: PATJetProducer.h:66
pat::PATJetProducer::discriminatorLabels_
std::vector< std::string > discriminatorLabels_
Definition: PATJetProducer.h:77
pat::PATJetProducer::jetPartonMapToken_
edm::EDGetTokenT< reco::JetFlavourMatchingCollection > jetPartonMapToken_
Definition: PATJetProducer.h:60
pat::PATJetProducer::addJetCorrFactors_
bool addJetCorrFactors_
Definition: PATJetProducer.h:70
pat::PATJetProducer::userDataHelper_
pat::PATUserDataHelper< pat::Jet > userDataHelper_
Definition: PATJetProducer.h:99
pat::PATJetProducer::~PATJetProducer
~PATJetProducer() override
Definition: PATJetProducer.cc:154
pat::PATJetProducer::produce
void produce(edm::Event &iEvent, const edm::EventSetup &iSetup) override
Definition: PATJetProducer.cc:156
pat::helper::KinResolutionsLoader
Definition: KinResolutionsLoader.h:18
KinResolutionsLoader.h
pat::PATJetProducer::addDiscriminators_
bool addDiscriminators_
Definition: PATJetProducer.h:74
pat::PATJetProducer::addPartonJetMatch_
bool addPartonJetMatch_
Definition: PATJetProducer.h:68
pat::PATJetProducer::tagInfoTags_
std::vector< edm::InputTag > tagInfoTags_
Definition: PATJetProducer.h:79
pat::PATJetProducer
Produces pat::Jet's.
Definition: PATJetProducer.h:43
pat::PATJetProducer::useUserData_
bool useUserData_
Definition: PATJetProducer.h:98
edm::ConfigurationDescriptions
Definition: ConfigurationDescriptions.h:28
pat::PATJetProducer::tagInfoTokens_
std::vector< edm::EDGetTokenT< edm::View< reco::BaseTagInfo > > > tagInfoTokens_
Definition: PATJetProducer.h:80
pat::PATJetProducer::addJetID_
bool addJetID_
Definition: PATJetProducer.h:86
edm::ParameterSet
Definition: ParameterSet.h:47
pat::PATJetProducer::tagInfoLabels_
std::vector< std::string > tagInfoLabels_
Definition: PATJetProducer.h:81
Event.h
pat::PATJetProducer::jetFlavourInfoToken_
edm::EDGetTokenT< reco::JetFlavourInfoMatchingCollection > jetFlavourInfoToken_
Definition: PATJetProducer.h:61
UserData.h
pat::PATJetProducer::addGenPartonMatch_
bool addGenPartonMatch_
Definition: PATJetProducer.h:62
iEvent
int iEvent
Definition: GenABIO.cc:224
pat::PATJetProducer::genJetToken_
edm::EDGetTokenT< edm::Association< reco::GenJetCollection > > genJetToken_
Definition: PATJetProducer.h:67
pat::PATJetProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition: PATJetProducer.cc:462
edm::stream::EDProducer
Definition: EDProducer.h:38
edm::EventSetup
Definition: EventSetup.h:57
pat
Definition: HeavyIon.h:7
Jet.h
pat::PATJetProducer::jetChargeToken_
edm::EDGetTokenT< reco::JetFloatAssociation::Container > jetChargeToken_
Definition: PATJetProducer.h:85
InputTag.h
pat::PATJetProducer::getJetMCFlavour_
bool getJetMCFlavour_
Definition: PATJetProducer.h:57
pat::PATJetProducer::addTagInfos_
bool addTagInfos_
Definition: PATJetProducer.h:78
pat::PATJetProducer::pTComparator_
GreaterByPt< Jet > pTComparator_
Definition: PATJetProducer.h:89
pat::PATJetProducer::jetsToken_
edm::EDGetTokenT< edm::View< reco::Jet > > jetsToken_
Definition: PATJetProducer.h:54
pat::PATJetProducer::useLegacyJetMCFlavour_
bool useLegacyJetMCFlavour_
Definition: PATJetProducer.h:58
pat::PATJetProducer::addAssociatedTracks_
bool addAssociatedTracks_
Definition: PATJetProducer.h:82
PATUserDataHelper.h
pat::PATJetProducer::resolutionLoader_
pat::helper::KinResolutionsLoader resolutionLoader_
Definition: PATJetProducer.h:96
pat::PATJetProducer::addJetCharge_
bool addJetCharge_
Definition: PATJetProducer.h:84
Electron.h
pat::PATJetProducer::jetCorrFactorsTokens_
std::vector< edm::EDGetTokenT< edm::ValueMap< JetCorrFactors > > > jetCorrFactorsTokens_
Definition: PATJetProducer.h:71
View.h
ParameterSet.h
edm::Event
Definition: Event.h:73
JetFlavourMatching.h
pat::PATJetProducer::embedCaloTowers_
bool embedCaloTowers_
Definition: PATJetProducer.h:55
pat::PATJetProducer::trackAssociationToken_
edm::EDGetTokenT< reco::JetTracksAssociation::Container > trackAssociationToken_
Definition: PATJetProducer.h:83