CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CaloJetTester.h
Go to the documentation of this file.
1 #ifndef ValidationRecoJetsCaloJetTester_h
2 #define ValidationRecoJetsCaloJetTester_h
3 
4 // Producer for validation histograms for CaloJet objects
5 // F. Ratnikov, Sept. 7, 2006
6 // Modified by J F Novak July 10, 2008
7 // $Id: CaloJetTester.h,v 1.26 2013/04/06 06:50:11 kovitang Exp $
8 
9 #include <string>
10 
15 
16 namespace reco {
17  class CaloJet;
18  class GenJet;
19 }
20 
21 class MonitorElement;
22 
24 public:
25 
28 
29  virtual void analyze(const edm::Event&, const edm::EventSetup&);
30  virtual void beginJob() ;
31  virtual void endJob() ;
32 
33 private:
34 
35 
36 
37  void fillMatchHists (const reco::GenJet& fGenJet, const reco::CaloJet& fCaloJet, std::vector<reco::Vertex> goodVertices);
38 
41  std::string mOutputFile;
43  std::string METType_;
44  std::string inputGenMETLabel_;
45  std::string inputCaloMETLabel_;
46 
47  // count number of events
49 
50  // Generic Jet Parameters
78 
79  //Corr jets
103 
104  // nvtx
142 
143  // Leading Jet Parameters
152 
155 
158 
159  // DiJet Parameters
162 
163  // CaloJet specific
199 
200  // pthat
203 
204  // GenJet Generic Jet Parameters
210 
211  // GenJet Leading Jet Parameters
214 
215  // CaloJet<->GenJet matching
228 
231 
241 
246 
251 
268 
272 
273  // Matching parameters
277  double mRThreshold;
278 
279  std::string JetCorrectionService;
280 
281  // Switch on/off unimportant histogram
282  std::string mTurnOnEverything;
283 
284  // Energy Profiles
290 
291  // CaloMET
303 
304  // RecHits
317 
318  //Correction
320 };
321 #endif
MonitorElement * mEtaFineBin3m
Definition: CaloJetTester.h:58
MonitorElement * mpTScale_1500_3500_d
MonitorElement * mpTScale_c_nvtx_5_10
MonitorElement * mpTScale1DF_600_1500
MonitorElement * mpTScaleB_s
MonitorElement * mEmEnergyInEE_3000
MonitorElement * mpTScale1DB_30_200
MonitorElement * mMatchedGenJetsPt
MonitorElement * mpTScale_30_200_s
Jets made from CaloTowers.
Definition: CaloJet.h:30
MonitorElement * mEEEne
MonitorElement * mjetArea
MonitorElement * mpTResponse_1500_3500_d
MonitorElement * mpTResponse_30_d
edm::InputTag mInputCollection
Definition: CaloJetTester.h:39
MonitorElement * mHadEnergyInHE_80
MonitorElement * mCaloMEy_3000
MonitorElement * mHadEnergyInHB_80
MonitorElement * mpTScale_a_nvtx_5_10
MonitorElement * mMaxEInHadTowers
double mReverseEnergyFractionThreshold
MonitorElement * mpTResponse_nvtx_5_10
MonitorElement * mEtaFineBin2p
Definition: CaloJetTester.h:54
MonitorElement * mpTScale1DF_30_200
MonitorElement * mpTScale_c_nvtx_30_inf
MonitorElement * mConstituents
Definition: CaloJetTester.h:73
MonitorElement * mpTScale1DB_1500_3500
MonitorElement * mPtFirst
MonitorElement * mDelEta
MonitorElement * mNJets2
MonitorElement * mpTRatio_1500_3500_d
Definition: CaloJetTester.h:92
MonitorElement * mCaloMEx
MonitorElement * mpTScale_a
MonitorElement * mGenPt_3000
MonitorElement * mEmEnergyInEB_3000
MonitorElement * mHadEnergyInHE
MonitorElement * mpTScale_a_nvtx_20_30
double mRThreshold
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * mNJetsEtaF
MonitorElement * mEtaFineBin
Definition: CaloJetTester.h:52
MonitorElement * mCorrJetPt_3000
Definition: CaloJetTester.h:82
void fillMatchHists(const reco::GenJet &fGenJet, const reco::CaloJet &fCaloJet, std::vector< reco::Vertex > goodVertices)
MonitorElement * mEnergyFractionHadronic_E
MonitorElement * mpTScaleB_d
std::string mOutputFile
Definition: CaloJetTester.h:41
MonitorElement * mEtaFineBin2m
Definition: CaloJetTester.h:57
MonitorElement * mpTScale_nvtx_0_5
MonitorElement * mpTScale1DE_600_1500
MonitorElement * mDelPt
MonitorElement * mHFTotal_80
MonitorElement * mPtFirst_3000
MonitorElement * mpTRatioF_d
Definition: CaloJetTester.h:88
std::string mTurnOnEverything
MonitorElement * mHadEnergyInHB
MonitorElement * mHOEne
std::string inputGenMETLabel_
Definition: CaloJetTester.h:44
MonitorElement * mEBEne
MonitorElement * mpTScale_b_nvtx_0_5
MonitorElement * mpTScale1DE_30_200
MonitorElement * mDelPhi
MonitorElement * mPt_80
Definition: CaloJetTester.h:68
MonitorElement * mpTRatioE_d
Definition: CaloJetTester.h:87
MonitorElement * mpTScale_1500_3500_s
MonitorElement * mHadEnergyInHE_3000
MonitorElement * mNJetsEtaF_30
MonitorElement * mpTScale_c_nvtx_20_30
MonitorElement * mPt
Definition: CaloJetTester.h:67
MonitorElement * mEScale_pt10
MonitorElement * mNJets1
MonitorElement * mpTScale1D_1500_3500
MonitorElement * mpTScalePhiB_d
MonitorElement * mEnergyFractionEm_E
MonitorElement * mHFShort_80
double mMatchGenPtThreshold
MonitorElement * mEmEnergyInHF
MonitorElement * mpTRatioB_d
Definition: CaloJetTester.h:86
MonitorElement * mHadEnergyInHO_3000
MonitorElement * mpTScaleF_s
MonitorElement * mpTResponse_nvtx_30_inf
MonitorElement * mpTScale_b
MonitorElement * mHadEnergyInHB_3000
MonitorElement * mCaloMEy
MonitorElement * mCaloMETSig
MonitorElement * mEmTiming
Definition: CaloJetTester.h:77
MonitorElement * mRMatch
MonitorElement * mAllGenJetsPt
MonitorElement * mHadTiming
Definition: CaloJetTester.h:76
MonitorElement * mHFTotal_3000
MonitorElement * mpTScale_nvtx_5_10
MonitorElement * mHFShort_3000
MonitorElement * mpTRatio_600_1500_d
Definition: CaloJetTester.h:91
MonitorElement * mEFirst
MonitorElement * mCaloMETSig_3000
MonitorElement * mCaloMET
MonitorElement * mEnergyFractionHadronic_B
MonitorElement * mMjj
virtual void endJob()
MonitorElement * mPhiFirst
MonitorElement * mHadJetEnergyProfile
MonitorElement * mEmEnergyProfile
MonitorElement * mDeltaE
MonitorElement * mpTResponseF_d
Definition: CaloJetTester.h:96
MonitorElement * mpTScale_b_nvtx_10_15
MonitorElement * mHFTime
MonitorElement * mHFLong_3000
MonitorElement * mpTScale_c_nvtx_0_5
MonitorElement * mE_80
Definition: CaloJetTester.h:62
MonitorElement * mP_80
Definition: CaloJetTester.h:65
MonitorElement * mpTScale_pT
std::string inputCaloMETLabel_
Definition: CaloJetTester.h:45
MonitorElement * mGenEtaFirst
MonitorElement * mGenJetMatchEnergyFraction
MonitorElement * mpTResponse_200_600_d
Definition: CaloJetTester.h:98
MonitorElement * mpTResponse_nvtx_20_30
MonitorElement * nvtx_0_60
MonitorElement * mMass
Definition: CaloJetTester.h:70
MonitorElement * mpTRatio
Definition: CaloJetTester.h:85
MonitorElement * mE_3000
Definition: CaloJetTester.h:63
MonitorElement * mConstituents_80
Definition: CaloJetTester.h:74
MonitorElement * mCaloMEx_3000
MonitorElement * mEmEnergyInEB_80
MonitorElement * mPhiFineBin
Definition: CaloJetTester.h:60
MonitorElement * mpTResponse_nvtx_15_20
MonitorElement * mEmEnergyInEE_80
MonitorElement * mpTScale_b_nvtx_15_20
MonitorElement * mpTResponse
Definition: CaloJetTester.h:93
MonitorElement * mCorrJetPt
Definition: CaloJetTester.h:80
MonitorElement * mpTRatio_200_600_d
Definition: CaloJetTester.h:90
MonitorElement * mHadEnergyInHO
MonitorElement * mpTScale_c
Jets made from MC generator particles.
Definition: GenJet.h:25
MonitorElement * mCorrJetEta
Definition: CaloJetTester.h:83
MonitorElement * mCorrJetPhi
Definition: CaloJetTester.h:84
MonitorElement * mpTScale1DB_600_1500
MonitorElement * mHBTime
MonitorElement * mEMJetEnergyProfile
MonitorElement * mGenEta
MonitorElement * mHadEnergyInHO_80
MonitorElement * mpTScalePhiE_d
MonitorElement * mEnergyFractionEm_F
MonitorElement * mReverseMatchEnergyFraction
tuple goodVertices
The Good vertices collection needed by the tracking failure filter ________||.
MonitorElement * mCaloMETPhi
MonitorElement * mpTScale_a_nvtx_15_20
MonitorElement * mpTScale_a_nvtx_10_15
MonitorElement * mHETime
MonitorElement * mpTScale1DE_200_600
MonitorElement * mHadEnergyInHF
MonitorElement * mMjj_3000
MonitorElement * mEnergyFractionHadronic_F
MonitorElement * mEETime
MonitorElement * mGenPt
MonitorElement * mpTScale_600_1500_s
MonitorElement * mpTResponse_nvtx_0_5
MonitorElement * mpTScale_nvtx_30_inf
MonitorElement * mPthat_3000
MonitorElement * mPhi
Definition: CaloJetTester.h:59
MonitorElement * mHFShort
MonitorElement * mEScaleFineBin
MonitorElement * mEtaFineBin1p
Definition: CaloJetTester.h:53
MonitorElement * mpTScale_b_nvtx_30_inf
MonitorElement * numberofevents
Definition: CaloJetTester.h:48
MonitorElement * mpTScale1D_200_600
MonitorElement * mpTScale_nvtx_10_15
MonitorElement * mpTScalePhiF_d
MonitorElement * mpTScale1D_30_200
MonitorElement * mEBTime
MonitorElement * mpTScale_200_600_d
MonitorElement * mHadEnergyProfile
MonitorElement * mPt_3000
Definition: CaloJetTester.h:69
MonitorElement * mMass_3000
Definition: CaloJetTester.h:72
MonitorElement * mpTResponse_600_1500_d
Definition: CaloJetTester.h:99
MonitorElement * mpTScaleE_d
MonitorElement * mPthat_80
MonitorElement * mpTScale1DF_200_600
MonitorElement * mpTScale_200_600_s
MonitorElement * mpTScale_b_nvtx_20_30
MonitorElement * mConstituents_3000
Definition: CaloJetTester.h:75
MonitorElement * mpTScale_a_nvtx_0_5
MonitorElement * mGenPt_80
MonitorElement * mHOTime
MonitorElement * nvtx_0_30
MonitorElement * mlinEScale
MonitorElement * mDeltaEta
MonitorElement * mpTResponseE_d
Definition: CaloJetTester.h:95
MonitorElement * mCorrJetPt_80
Definition: CaloJetTester.h:81
MonitorElement * mHFEne
MonitorElement * mpTScale_c_nvtx_15_20
virtual void beginJob()
MonitorElement * mHFLong_80
edm::InputTag inputMETLabel_
Definition: CaloJetTester.h:42
MonitorElement * mCaloSumET_3000
MonitorElement * mpTScaleE_s
MonitorElement * mHFTotal
MonitorElement * mpTScale_a_nvtx_30_inf
MonitorElement * mEmEnergyInEE
MonitorElement * mMass_80
Definition: CaloJetTester.h:71
MonitorElement * mNJetsEtaC
MonitorElement * mpTRatio_30_200_d
Definition: CaloJetTester.h:89
MonitorElement * mHEEne
MonitorElement * mEnergyFractionEm_B
MonitorElement * mEFirst_80
MonitorElement * mpTScale1DF_1500_3500
MonitorElement * mpTScale1DB_200_600
MonitorElement * mE
Definition: CaloJetTester.h:61
MonitorElement * mpTScale_600_1500_d
MonitorElement * mEta
Definition: CaloJetTester.h:51
MonitorElement * mpTScale1DE_1500_3500
MonitorElement * mN90
MonitorElement * mEtaFineBin1m
Definition: CaloJetTester.h:56
MonitorElement * mJetEnergyProfile
MonitorElement * mCaloMET_3000
MonitorElement * mP_3000
Definition: CaloJetTester.h:66
MonitorElement * mPtFirst_80
MonitorElement * mP
Definition: CaloJetTester.h:64
MonitorElement * mGenPhiFirst
MonitorElement * mMaxEInEmTowers
MonitorElement * mpTResponseB_d
Definition: CaloJetTester.h:94
MonitorElement * mEtaFirst
MonitorElement * mpTScale_b_nvtx_5_10
MonitorElement * mpTResponse_nvtx_10_15
MonitorElement * mpTScaleF_d
double mGenEnergyFractionThreshold
MonitorElement * mEtaFineBin3p
Definition: CaloJetTester.h:55
std::string METType_
Definition: CaloJetTester.h:43
MonitorElement * mEFirst_3000
MonitorElement * mpTScale_nvtx_20_30
MonitorElement * mpTScale_30_200_d
MonitorElement * mpTScale1D_600_1500
MonitorElement * mHFLong
MonitorElement * mpTScale_c_nvtx_10_15
MonitorElement * mHBEne
MonitorElement * mMatchedGenJetsEta
MonitorElement * mCaloSumET
MonitorElement * mDeltaPhi
MonitorElement * mpTScale_nvtx_15_20
MonitorElement * mEmEnergyInEB
MonitorElement * mAllGenJetsEta
std::string JetCorrectionService
MonitorElement * mpTResponse_30_200_d
Definition: CaloJetTester.h:97
MonitorElement * mGenPhi
CaloJetTester(const edm::ParameterSet &)
MonitorElement * mEScale
edm::InputTag mInputGenCollection
Definition: CaloJetTester.h:40