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.16 2009/07/13 19:03:02 chjeong Exp $
8 
9 #include <string>
10 
13 
14 namespace reco {
15  class CaloJet;
16  class GenJet;
17 }
18 
19 class MonitorElement;
20 
22 public:
23 
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::CaloJet& fCaloJet);
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  // CaloJet specific
127 
128  // pthat
131 
132  // GenJet Generic Jet Parameters
138 
139  // GenJet Leading Jet Parameters
142 
143  // CaloJet<->GenJet matching
156 
159 
166 
171 
176 
193 
197 
198  // Matching parameters
202  double mRThreshold;
203 
204  // Switch on/off unimportant histogram
205  std::string mTurnOnEverything;
206 
207  // Energy Profiles
213 
214  // CaloMET
226 
227  // RecHits
240 
241 
242 };
243 #endif
MonitorElement * mEtaFineBin3m
Definition: CaloJetTester.h:54
MonitorElement * mpTScaleB_s
MonitorElement * mpTScale1DF_60_120
MonitorElement * mEmEnergyInEE_3000
MonitorElement * mMatchedGenJetsPt
Jets made from CaloTowers.
Definition: CaloJet.h:30
void fillMatchHists(const reco::GenJet &fGenJet, const reco::CaloJet &fCaloJet)
MonitorElement * mEEEne
edm::InputTag mInputCollection
Definition: CaloJetTester.h:35
MonitorElement * mHadEnergyInHE_80
MonitorElement * mCaloMEy_3000
MonitorElement * mHadEnergyInHB_80
MonitorElement * mMaxEInHadTowers
Definition: CaloJetTester.h:97
double mReverseEnergyFractionThreshold
MonitorElement * mEtaFineBin2p
Definition: CaloJetTester.h:50
MonitorElement * mpTScale1DF_200_300
MonitorElement * mConstituents
Definition: CaloJetTester.h:69
MonitorElement * mpTScale1D_60_120
MonitorElement * mPtFirst
Definition: CaloJetTester.h:81
MonitorElement * mDelEta
MonitorElement * mNJets2
Definition: CaloJetTester.h:89
MonitorElement * mCaloMEx
MonitorElement * mGenPt_3000
MonitorElement * mpTScale1DE_60_120
MonitorElement * mEmEnergyInEB_3000
MonitorElement * mpTScale_600_900_d
MonitorElement * mHadEnergyInHE
double mRThreshold
virtual void analyze(const edm::Event &, const edm::EventSetup &)
MonitorElement * mNJetsEtaF
Definition: CaloJetTester.h:86
MonitorElement * mEtaFineBin
Definition: CaloJetTester.h:48
MonitorElement * mpTScaleB_d
std::string mOutputFile
Definition: CaloJetTester.h:37
MonitorElement * mpTScale1DE_600_900
MonitorElement * mEtaFineBin2m
Definition: CaloJetTester.h:53
MonitorElement * mpTScale_600_900_s
MonitorElement * mDelPt
MonitorElement * mHFTotal_80
MonitorElement * mPtFirst_3000
Definition: CaloJetTester.h:83
std::string mTurnOnEverything
MonitorElement * mHadEnergyInHB
Definition: CaloJetTester.h:99
MonitorElement * mHOEne
std::string inputGenMETLabel_
Definition: CaloJetTester.h:40
MonitorElement * mEBEne
MonitorElement * mDelPhi
MonitorElement * mPt_80
Definition: CaloJetTester.h:64
MonitorElement * mHadEnergyInHE_3000
MonitorElement * mpTScale1DB_60_120
MonitorElement * mpTScale_2700_3500_s
MonitorElement * mPt
Definition: CaloJetTester.h:63
MonitorElement * mEScale_pt10
MonitorElement * mNJets1
Definition: CaloJetTester.h:88
MonitorElement * mHFShort_80
double mMatchGenPtThreshold
MonitorElement * mEmEnergyInHF
MonitorElement * mpTScale1D_200_300
MonitorElement * mHadEnergyInHO_3000
MonitorElement * mpTScaleF_s
MonitorElement * mpTScale_2700_3500_d
MonitorElement * mpTScale1DE_2700_3500
MonitorElement * mHadEnergyInHB_3000
MonitorElement * mpTScale1DF_2700_3500
MonitorElement * mEnergyFractionEm
MonitorElement * mCaloMEy
MonitorElement * mCaloMETSig
MonitorElement * mEmTiming
Definition: CaloJetTester.h:73
MonitorElement * mRMatch
MonitorElement * mAllGenJetsPt
MonitorElement * mHadTiming
Definition: CaloJetTester.h:72
MonitorElement * mHFTotal_3000
MonitorElement * mHFShort_3000
MonitorElement * mEFirst
Definition: CaloJetTester.h:78
MonitorElement * mCaloMETSig_3000
MonitorElement * mCaloMET
MonitorElement * mMjj
Definition: CaloJetTester.h:92
virtual void endJob()
MonitorElement * mPhiFirst
Definition: CaloJetTester.h:77
MonitorElement * mpTScale_200_300_s
MonitorElement * mHadJetEnergyProfile
MonitorElement * mEmEnergyProfile
MonitorElement * mDeltaE
MonitorElement * mHFTime
MonitorElement * mEnergyFractionHadronic
MonitorElement * mHFLong_3000
MonitorElement * mE_80
Definition: CaloJetTester.h:58
MonitorElement * mP_80
Definition: CaloJetTester.h:61
std::string inputCaloMETLabel_
Definition: CaloJetTester.h:41
MonitorElement * mGenEtaFirst
MonitorElement * mGenJetMatchEnergyFraction
MonitorElement * mMass
Definition: CaloJetTester.h:66
MonitorElement * mE_3000
Definition: CaloJetTester.h:59
MonitorElement * mConstituents_80
Definition: CaloJetTester.h:70
MonitorElement * mCaloMEx_3000
MonitorElement * mEmEnergyInEB_80
MonitorElement * mPhiFineBin
Definition: CaloJetTester.h:56
MonitorElement * mpTScale1DB_600_900
MonitorElement * mEmEnergyInEE_80
MonitorElement * mHadEnergyInHO
Definition: CaloJetTester.h:98
Jets made from MC generator particles.
Definition: GenJet.h:25
MonitorElement * mHBTime
MonitorElement * mpTScale1DF_600_900
MonitorElement * mEMJetEnergyProfile
MonitorElement * mGenEta
MonitorElement * mHadEnergyInHO_80
MonitorElement * mReverseMatchEnergyFraction
MonitorElement * mCaloMETPhi
MonitorElement * mHETime
MonitorElement * mHadEnergyInHF
MonitorElement * mMjj_3000
Definition: CaloJetTester.h:93
MonitorElement * mEETime
MonitorElement * mGenPt
MonitorElement * mPthat_3000
MonitorElement * mPhi
Definition: CaloJetTester.h:55
MonitorElement * mHFShort
MonitorElement * mEScaleFineBin
MonitorElement * mEtaFineBin1p
Definition: CaloJetTester.h:49
MonitorElement * numberofevents
Definition: CaloJetTester.h:44
MonitorElement * mEBTime
MonitorElement * mHadEnergyProfile
MonitorElement * mPt_3000
Definition: CaloJetTester.h:65
MonitorElement * mpTScale_200_300_d
MonitorElement * mMass_3000
Definition: CaloJetTester.h:68
MonitorElement * mpTScaleE_d
MonitorElement * mPthat_80
MonitorElement * mConstituents_3000
Definition: CaloJetTester.h:71
MonitorElement * mpTScale_60_120_d
MonitorElement * mGenPt_80
MonitorElement * mHOTime
MonitorElement * mlinEScale
MonitorElement * mDeltaEta
MonitorElement * mpTScale1DB_2700_3500
MonitorElement * mHFEne
virtual void beginJob()
MonitorElement * mpTScale1DE_200_300
MonitorElement * mHFLong_80
edm::InputTag inputMETLabel_
Definition: CaloJetTester.h:38
MonitorElement * mCaloSumET_3000
MonitorElement * mpTScale1DB_200_300
MonitorElement * mpTScaleE_s
MonitorElement * mHFTotal
MonitorElement * mEmEnergyInEE
MonitorElement * mMass_80
Definition: CaloJetTester.h:67
MonitorElement * mNJetsEtaC
Definition: CaloJetTester.h:85
MonitorElement * mHEEne
MonitorElement * mEFirst_80
Definition: CaloJetTester.h:79
MonitorElement * mE
Definition: CaloJetTester.h:57
MonitorElement * mEta
Definition: CaloJetTester.h:47
MonitorElement * mN90
MonitorElement * mEtaFineBin1m
Definition: CaloJetTester.h:52
MonitorElement * mJetEnergyProfile
MonitorElement * mCaloMET_3000
MonitorElement * mP_3000
Definition: CaloJetTester.h:62
MonitorElement * mPtFirst_80
Definition: CaloJetTester.h:82
MonitorElement * mP
Definition: CaloJetTester.h:60
MonitorElement * mGenPhiFirst
MonitorElement * mMaxEInEmTowers
Definition: CaloJetTester.h:96
MonitorElement * mEtaFirst
Definition: CaloJetTester.h:76
MonitorElement * mpTScaleF_d
double mGenEnergyFractionThreshold
MonitorElement * mEtaFineBin3p
Definition: CaloJetTester.h:51
std::string METType_
Definition: CaloJetTester.h:39
MonitorElement * mpTScale1D_600_900
MonitorElement * mEFirst_3000
Definition: CaloJetTester.h:80
MonitorElement * mpTScale_60_120_s
MonitorElement * mHFLong
MonitorElement * mHBEne
MonitorElement * mMatchedGenJetsEta
MonitorElement * mpTScale1D_2700_3500
MonitorElement * mCaloSumET
MonitorElement * mDeltaPhi
MonitorElement * mEmEnergyInEB
MonitorElement * mAllGenJetsEta
MonitorElement * mGenPhi
CaloJetTester(const edm::ParameterSet &)
MonitorElement * mEScale
edm::InputTag mInputGenCollection
Definition: CaloJetTester.h:36