ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/DGele/PhysicsTools/PatAlgos/plugins/PATJetProducer.h
Revision: 1.2
Committed: Tue Oct 20 17:42:57 2009 UTC (15 years, 6 months ago) by dgele
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +2 -2 lines
State: FILE REMOVED
Log Message:
remove

File Contents

# Content
1 //
2 // $Id: PATJetProducer.h,v 1.1 2009/10/20 17:15:14 dgele Exp $
3 //
4
5 #ifndef PhysicsTools_PatAlgos_PATJetProducer_h
6 #define PhysicsTools_PatAlgos_PATJetProducer_h
7
8 /**
9 \class pat::PATJetProducer PATJetProducer.h "PhysicsTools/PatAlgos/interface/PATJetProducer.h"
10 \brief Produces pat::Jet's
11
12 The PATJetProducer produces analysis-level pat::Jet's starting from
13 a collection of objects of JetType.
14
15 \author Steven Lowette, Jeremy Andrea
16 \version $Id: PATJetProducer.h,v 1.1 2009/10/20 17:15:14 dgele Exp $
17 */
18
19
20 #include "FWCore/Framework/interface/EDProducer.h"
21 #include "FWCore/Framework/interface/Event.h"
22 #include "FWCore/ParameterSet/interface/ParameterSet.h"
23 #include "FWCore/ParameterSet/interface/InputTag.h"
24 #include "DataFormats/Common/interface/View.h"
25
26 #include "PhysicsTools/Utilities/interface/PtComparator.h"
27
28 #include "DataFormats/PatCandidates/interface/Jet.h"
29 #include "DataFormats/PatCandidates/interface/Electron.h"
30 #include "DataFormats/PatCandidates/interface/Muon.h"
31
32 #include "PhysicsTools/PatAlgos/interface/EfficiencyLoader.h"
33 #include "PhysicsTools/PatAlgos/interface/KinResolutionsLoader.h"
34
35 #include "DataFormats/PatCandidates/interface/UserData.h"
36 #include "PhysicsTools/PatAlgos/interface/PATUserDataHelper.h"
37
38 class JetFlavourIdentifier;
39
40
41 namespace pat {
42
43 class PATJetProducer : public edm::EDProducer {
44
45 public:
46
47 explicit PATJetProducer(const edm::ParameterSet & iConfig);
48 ~PATJetProducer();
49
50 virtual void produce(edm::Event & iEvent, const edm::EventSetup & iSetup);
51
52 private:
53
54 // configurables
55 edm::InputTag jetsSrc_;
56 bool embedCaloTowers_;
57 bool getJetMCFlavour_;
58 edm::InputTag jetPartonMapSource_;
59 bool addGenPartonMatch_;
60 bool embedGenPartonMatch_;
61 edm::InputTag genPartonSrc_;
62 bool addGenJetMatch_;
63 edm::InputTag genJetSrc_;
64 bool addPartonJetMatch_;
65 edm::InputTag partonJetSrc_;
66 bool addJetCorrFactors_;
67 std::vector<edm::InputTag> jetCorrFactorsSrc_;
68 bool addTrigMatch_;
69 std::vector<edm::InputTag> trigMatchSrc_;
70
71 bool addBTagInfo_;
72 bool addDiscriminators_;
73 std::vector<edm::InputTag> discriminatorTags_;
74 std::vector<std::string> discriminatorLabels_;
75 bool addTagInfos_;
76 std::vector<edm::InputTag> tagInfoTags_;
77 std::vector<std::string> tagInfoLabels_;
78 bool addAssociatedTracks_;
79 edm::InputTag trackAssociation_;
80 bool addJetCharge_;
81 edm::InputTag jetCharge_;
82 // tools
83 GreaterByPt<Jet> pTComparator_;
84
85 bool addEfficiencies_;
86 pat::helper::EfficiencyLoader efficiencyLoader_;
87
88 bool addResolutions_;
89 pat::helper::KinResolutionsLoader resolutionLoader_;
90
91
92 bool useUserData_;
93 pat::PATUserDataHelper<pat::Jet> userDataHelper_;
94
95 };
96
97
98 }
99
100 #endif