CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PFJetTester.h
Go to the documentation of this file.
1 #ifndef ValidationRecoJetsPFJetTester_h
2 #define ValidationRecoJetsPFJetTester_h
3 
4 // Producer for validation histograms for PFJet objects
5 // F. Ratnikov, Sept. 7, 2006
6 // Modified by Chiyoung.Jeong Feb 2, 2010
7 // $Id: PFJetTester.h,v 1.5 2009/12/18 20:45:14 wmtan Exp $
8 
9 #include <string>
10 
13 
14 namespace reco {
15  class PFJet;
16  class GenJet;
17 }
18 
19 class MonitorElement;
20 
21 class PFJetTester : public edm::EDAnalyzer {
22 public:
23 
25  ~PFJetTester();
26 
27  virtual void analyze(const edm::Event&, const edm::EventSetup&);
28  virtual void beginJob() ;
29  virtual void endJob() ;
30 
31 private:
32 
33  void fillMatchHists (const reco::GenJet& fGenJet, const reco::PFJet& fPFJet);
34 
37  std::string mOutputFile;
39  std::string METType_;
40  std::string inputGenMETLabel_;
41  std::string inputCaloMETLabel_;
42 
43  // count number of events
45 
46  // Generic Jet Parameters
74 
75  // Leading Jet Parameters
84 
87 
90 
91  // DiJet Parameters
94 
95  // PFJet specific
100 
105 
110 
111  // MonitorElement* mMaxEInEmTowers;
112  // MonitorElement* mMaxEInHadTowers;
113  // MonitorElement* mHadEnergyInHO;
114  // MonitorElement* mHadEnergyInHB;
115  // MonitorElement* mHadEnergyInHF;
116  // MonitorElement* mHadEnergyInHE;
117  // MonitorElement* mHadEnergyInHO_80;
118  // MonitorElement* mHadEnergyInHB_80;
119  // MonitorElement* mHadEnergyInHE_80;
120  // MonitorElement* mHadEnergyInHO_3000;
121  // MonitorElement* mHadEnergyInHB_3000;
122  // MonitorElement* mHadEnergyInHE_3000;
123  // MonitorElement* mEmEnergyInEB;
124  // MonitorElement* mEmEnergyInEE;
125  // MonitorElement* mEmEnergyInHF;
126  // MonitorElement* mEmEnergyInEB_80;
127  // MonitorElement* mEmEnergyInEE_80;
128  // MonitorElement* mEmEnergyInEB_3000;
129  // MonitorElement* mEmEnergyInEE_3000;
130  // MonitorElement* mEnergyFractionHadronic;
131  // MonitorElement* mEnergyFractionEm;
132  // MonitorElement* mHFTotal;
133  // MonitorElement* mHFTotal_80;
134  // MonitorElement* mHFTotal_3000;
135  // MonitorElement* mHFLong;
136  // MonitorElement* mHFLong_80;
137  // MonitorElement* mHFLong_3000;
138  // MonitorElement* mHFShort;
139  // MonitorElement* mHFShort_80;
140  // MonitorElement* mHFShort_3000;
141  // MonitorElement* mN90;
142 
143  // pthat
146 
147  // GenJet Generic Jet Parameters
153 
154  // GenJet Leading Jet Parameters
157 
158  // PFJet<->GenJet matching
171 
174 
181 
186 
191 
208 
212 
213  // Matching parameters
217  double mRThreshold;
218 
219  // Switch on/off unimportant histogram
220  std::string mTurnOnEverything;
221 
222  // Energy Profiles
226  // MonitorElement* mHadJetEnergyProfile;
227  // MonitorElement* mEMJetEnergyProfile;
228 
229  // CaloMET
241 
242  // RecHits
255 
256 
257 };
258 #endif
MonitorElement * mpTScale_600_900_s
Definition: PFJetTester.h:184
MonitorElement * mPhiFineBin
Definition: PFJetTester.h:56
virtual void endJob()
Definition: PFJetTester.cc:389
MonitorElement * mCaloMEx_3000
Definition: PFJetTester.h:231
MonitorElement * mChargedHadronEnergy_80
Definition: PFJetTester.h:97
MonitorElement * mDeltaEta
Definition: PFJetTester.h:166
MonitorElement * mGenEta
Definition: PFJetTester.h:148
MonitorElement * mpTScale1DE_2700_3500
Definition: PFJetTester.h:202
MonitorElement * mNJets1
Definition: PFJetTester.h:88
MonitorElement * mNeutralEmEnergyFraction
Definition: PFJetTester.h:108
MonitorElement * mConstituents_3000
Definition: PFJetTester.h:71
MonitorElement * mEtaFineBin2m
Definition: PFJetTester.h:53
MonitorElement * mpTScaleB_d
Definition: PFJetTester.h:178
MonitorElement * mHETime
Definition: PFJetTester.h:246
MonitorElement * mChargedEmEnergy_80
Definition: PFJetTester.h:96
MonitorElement * mGenPt
Definition: PFJetTester.h:150
MonitorElement * mGenPt_3000
Definition: PFJetTester.h:152
MonitorElement * mpTScale1DB_2700_3500
Definition: PFJetTester.h:201
MonitorElement * mEETime
Definition: PFJetTester.h:254
edm::InputTag mInputCollection
Definition: PFJetTester.h:35
MonitorElement * mNeutralEmEnergy_80
Definition: PFJetTester.h:98
MonitorElement * mpTScale1D_60_120
Definition: PFJetTester.h:204
MonitorElement * mEFirst
Definition: PFJetTester.h:78
MonitorElement * mEBEne
Definition: PFJetTester.h:251
std::string METType_
Definition: PFJetTester.h:39
MonitorElement * mpTScale_2700_3500_s
Definition: PFJetTester.h:185
MonitorElement * mP
Definition: PFJetTester.h:60
MonitorElement * mChargedEmEnergy_3000
Definition: PFJetTester.h:101
PFJetTester(const edm::ParameterSet &)
Definition: PFJetTester.cc:47
MonitorElement * mNJetsEtaC
Definition: PFJetTester.h:85
MonitorElement * numberofevents
Definition: PFJetTester.h:44
MonitorElement * mlinEScale
Definition: PFJetTester.h:169
MonitorElement * mHOEne
Definition: PFJetTester.h:247
MonitorElement * mpTScaleE_d
Definition: PFJetTester.h:179
MonitorElement * mDeltaE
Definition: PFJetTester.h:170
MonitorElement * mConstituents
Definition: PFJetTester.h:69
MonitorElement * mNeutralHadronEnergy_80
Definition: PFJetTester.h:99
MonitorElement * mChargedHadronEnergyFraction
Definition: PFJetTester.h:107
MonitorElement * mGenJetMatchEnergyFraction
Definition: PFJetTester.h:163
MonitorElement * mpTScaleF_s
Definition: PFJetTester.h:177
MonitorElement * mPthat_3000
Definition: PFJetTester.h:145
MonitorElement * mpTScale_60_120_d
Definition: PFJetTester.h:187
MonitorElement * mMjj_3000
Definition: PFJetTester.h:93
double mGenEnergyFractionThreshold
Definition: PFJetTester.h:215
MonitorElement * mEBTime
Definition: PFJetTester.h:252
MonitorElement * mPtFirst_80
Definition: PFJetTester.h:82
Jets made from PFObjects.
Definition: PFJet.h:22
MonitorElement * mNJets2
Definition: PFJetTester.h:89
MonitorElement * mEEEne
Definition: PFJetTester.h:253
MonitorElement * mPt_80
Definition: PFJetTester.h:64
MonitorElement * mpTScale1D_2700_3500
Definition: PFJetTester.h:207
MonitorElement * mCaloSumET_3000
Definition: PFJetTester.h:238
MonitorElement * mpTScale_2700_3500_d
Definition: PFJetTester.h:190
MonitorElement * mHBEne
Definition: PFJetTester.h:243
std::string mOutputFile
Definition: PFJetTester.h:37
MonitorElement * mCaloMETSig
Definition: PFJetTester.h:239
MonitorElement * mpTScale1DE_600_900
Definition: PFJetTester.h:199
MonitorElement * mChargedEmEnergyFraction
Definition: PFJetTester.h:106
MonitorElement * mAllGenJetsPt
Definition: PFJetTester.h:159
MonitorElement * mPtFirst
Definition: PFJetTester.h:81
MonitorElement * mCaloMET
Definition: PFJetTester.h:234
MonitorElement * mpTScaleB_s
Definition: PFJetTester.h:175
MonitorElement * mPtFirst_3000
Definition: PFJetTester.h:83
MonitorElement * mMass_80
Definition: PFJetTester.h:67
double mRThreshold
Definition: PFJetTester.h:217
MonitorElement * mMjj
Definition: PFJetTester.h:92
MonitorElement * mHBTime
Definition: PFJetTester.h:244
MonitorElement * mpTScale1DB_600_900
Definition: PFJetTester.h:198
MonitorElement * mP_80
Definition: PFJetTester.h:61
MonitorElement * mDelEta
Definition: PFJetTester.h:209
MonitorElement * mMatchedGenJetsEta
Definition: PFJetTester.h:162
MonitorElement * mEmEnergyProfile
Definition: PFJetTester.h:224
MonitorElement * mpTScale_200_300_d
Definition: PFJetTester.h:188
MonitorElement * mEScale_pt10
Definition: PFJetTester.h:172
MonitorElement * mEmTiming
Definition: PFJetTester.h:73
MonitorElement * mEtaFirst
Definition: PFJetTester.h:76
MonitorElement * mE
Definition: PFJetTester.h:57
MonitorElement * mHOTime
Definition: PFJetTester.h:248
MonitorElement * mHFTime
Definition: PFJetTester.h:250
MonitorElement * mMass
Definition: PFJetTester.h:66
MonitorElement * mNeutralEmEnergy_3000
Definition: PFJetTester.h:103
Jets made from MC generator particles.
Definition: GenJet.h:25
std::string inputGenMETLabel_
Definition: PFJetTester.h:40
MonitorElement * mPhi
Definition: PFJetTester.h:55
MonitorElement * mpTScaleF_d
Definition: PFJetTester.h:180
MonitorElement * mCaloMETPhi
Definition: PFJetTester.h:236
MonitorElement * mPt
Definition: PFJetTester.h:63
MonitorElement * mDelPt
Definition: PFJetTester.h:211
void fillMatchHists(const reco::GenJet &fGenJet, const reco::PFJet &fPFJet)
Definition: PFJetTester.cc:823
MonitorElement * mpTScale1DB_200_300
Definition: PFJetTester.h:195
virtual void analyze(const edm::Event &, const edm::EventSetup &)
Definition: PFJetTester.cc:394
double mMatchGenPtThreshold
Definition: PFJetTester.h:214
MonitorElement * mConstituents_80
Definition: PFJetTester.h:70
MonitorElement * mpTScale1DF_200_300
Definition: PFJetTester.h:197
edm::InputTag inputMETLabel_
Definition: PFJetTester.h:38
MonitorElement * mGenPhi
Definition: PFJetTester.h:149
MonitorElement * mpTScale1DB_60_120
Definition: PFJetTester.h:192
MonitorElement * mHadEnergyProfile
Definition: PFJetTester.h:223
std::string inputCaloMETLabel_
Definition: PFJetTester.h:41
MonitorElement * mCaloMEx
Definition: PFJetTester.h:230
MonitorElement * mNeutralHadronEnergyFraction
Definition: PFJetTester.h:109
double mReverseEnergyFractionThreshold
Definition: PFJetTester.h:216
MonitorElement * mGenPt_80
Definition: PFJetTester.h:151
MonitorElement * mEtaFineBin1m
Definition: PFJetTester.h:52
virtual void beginJob()
Definition: PFJetTester.cc:386
MonitorElement * mEta
Definition: PFJetTester.h:47
MonitorElement * mGenEtaFirst
Definition: PFJetTester.h:155
edm::InputTag mInputGenCollection
Definition: PFJetTester.h:36
MonitorElement * mPt_3000
Definition: PFJetTester.h:65
MonitorElement * mEFirst_3000
Definition: PFJetTester.h:80
MonitorElement * mEFirst_80
Definition: PFJetTester.h:79
MonitorElement * mpTScale1DE_60_120
Definition: PFJetTester.h:193
MonitorElement * mCaloMETSig_3000
Definition: PFJetTester.h:240
MonitorElement * mRMatch
Definition: PFJetTester.h:165
MonitorElement * mNeutralHadronEnergy_3000
Definition: PFJetTester.h:104
MonitorElement * mHEEne
Definition: PFJetTester.h:245
MonitorElement * mEtaFineBin2p
Definition: PFJetTester.h:50
MonitorElement * mCaloSumET
Definition: PFJetTester.h:237
MonitorElement * mAllGenJetsEta
Definition: PFJetTester.h:161
MonitorElement * mCaloMEy
Definition: PFJetTester.h:232
MonitorElement * mCaloMEy_3000
Definition: PFJetTester.h:233
MonitorElement * mEtaFineBin3p
Definition: PFJetTester.h:51
MonitorElement * mEScaleFineBin
Definition: PFJetTester.h:173
MonitorElement * mpTScale1D_200_300
Definition: PFJetTester.h:205
MonitorElement * mpTScale1D_600_900
Definition: PFJetTester.h:206
MonitorElement * mpTScale_600_900_d
Definition: PFJetTester.h:189
MonitorElement * mDelPhi
Definition: PFJetTester.h:210
MonitorElement * mpTScale1DF_60_120
Definition: PFJetTester.h:194
MonitorElement * mHadTiming
Definition: PFJetTester.h:72
MonitorElement * mChargedHadronEnergy_3000
Definition: PFJetTester.h:102
MonitorElement * mE_80
Definition: PFJetTester.h:58
MonitorElement * mEScale
Definition: PFJetTester.h:168
MonitorElement * mpTScaleE_s
Definition: PFJetTester.h:176
std::string mTurnOnEverything
Definition: PFJetTester.h:220
MonitorElement * mEtaFineBin
Definition: PFJetTester.h:48
MonitorElement * mPhiFirst
Definition: PFJetTester.h:77
MonitorElement * mHFEne
Definition: PFJetTester.h:249
MonitorElement * mCaloMET_3000
Definition: PFJetTester.h:235
MonitorElement * mpTScale_60_120_s
Definition: PFJetTester.h:182
MonitorElement * mGenPhiFirst
Definition: PFJetTester.h:156
MonitorElement * mJetEnergyProfile
Definition: PFJetTester.h:225
MonitorElement * mMatchedGenJetsPt
Definition: PFJetTester.h:160
MonitorElement * mpTScale1DE_200_300
Definition: PFJetTester.h:196
MonitorElement * mReverseMatchEnergyFraction
Definition: PFJetTester.h:164
MonitorElement * mMass_3000
Definition: PFJetTester.h:68
MonitorElement * mEtaFineBin1p
Definition: PFJetTester.h:49
MonitorElement * mP_3000
Definition: PFJetTester.h:62
MonitorElement * mDeltaPhi
Definition: PFJetTester.h:167
MonitorElement * mEtaFineBin3m
Definition: PFJetTester.h:54
MonitorElement * mE_3000
Definition: PFJetTester.h:59
MonitorElement * mPthat_80
Definition: PFJetTester.h:144
MonitorElement * mpTScale_200_300_s
Definition: PFJetTester.h:183
MonitorElement * mpTScale1DF_600_900
Definition: PFJetTester.h:200
MonitorElement * mNJetsEtaF
Definition: PFJetTester.h:86
MonitorElement * mpTScale1DF_2700_3500
Definition: PFJetTester.h:203