CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Member Functions | Private Attributes
CaloJetTesterUnCorr Class Reference

#include <CaloJetTesterUnCorr.h>

Inheritance diagram for CaloJetTesterUnCorr:
edm::EDAnalyzer

Public Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
virtual void beginJob ()
 
 CaloJetTesterUnCorr (const edm::ParameterSet &)
 
virtual void endJob ()
 
 ~CaloJetTesterUnCorr ()
 
- Public Member Functions inherited from edm::EDAnalyzer
 EDAnalyzer ()
 
std::string workerType () const
 
virtual ~EDAnalyzer ()
 

Private Member Functions

void fillMatchHists (const reco::GenJet &fGenJet, const reco::CaloJet &fCaloJet)
 

Private Attributes

std::string inputCaloMETLabel_
 
std::string inputGenMETLabel_
 
edm::InputTag inputMETLabel_
 
std::string JetCorrectionService
 
MonitorElementmAllGenJetsEta
 
MonitorElementmAllGenJetsPt
 
MonitorElementmCaloMET
 
MonitorElementmCaloMET_3000
 
MonitorElementmCaloMETPhi
 
MonitorElementmCaloMETSig
 
MonitorElementmCaloMETSig_3000
 
MonitorElementmCaloMEx
 
MonitorElementmCaloMEx_3000
 
MonitorElementmCaloMEy
 
MonitorElementmCaloMEy_3000
 
MonitorElementmCaloSumET
 
MonitorElementmCaloSumET_3000
 
MonitorElementmConstituents
 
MonitorElementmConstituents_3000
 
MonitorElementmConstituents_80
 
MonitorElementmCorrJetEta
 
MonitorElementmCorrJetPhi
 
MonitorElementmCorrJetPt
 
MonitorElementmCorrJetPt_3000
 
MonitorElementmCorrJetPt_80
 
MonitorElementmDelEta
 
MonitorElementmDelPhi
 
MonitorElementmDelPt
 
MonitorElementmDeltaE
 
MonitorElementmDeltaEta
 
MonitorElementmDeltaPhi
 
MonitorElementmE
 
MonitorElementmE_3000
 
MonitorElementmE_80
 
MonitorElementmEBEne
 
MonitorElementmEBTime
 
MonitorElementmEEEne
 
MonitorElementmEETime
 
MonitorElementmEFirst
 
MonitorElementmEFirst_3000
 
MonitorElementmEFirst_80
 
MonitorElementmEmEnergyInEB
 
MonitorElementmEmEnergyInEB_3000
 
MonitorElementmEmEnergyInEB_80
 
MonitorElementmEmEnergyInEE
 
MonitorElementmEmEnergyInEE_3000
 
MonitorElementmEmEnergyInEE_80
 
MonitorElementmEmEnergyInHF
 
MonitorElementmEmEnergyProfile
 
MonitorElementmEMJetEnergyProfile
 
MonitorElementmEmTiming
 
MonitorElementmEnergyFractionEm_B
 
MonitorElementmEnergyFractionEm_E
 
MonitorElementmEnergyFractionEm_F
 
MonitorElementmEnergyFractionHadronic_B
 
MonitorElementmEnergyFractionHadronic_E
 
MonitorElementmEnergyFractionHadronic_F
 
MonitorElementmEScale
 
MonitorElementmEScale_pt10
 
MonitorElementmEScaleFineBin
 
MonitorElementmEta
 
MonitorElementmEtaFineBin
 
MonitorElementmEtaFineBin1m
 
MonitorElementmEtaFineBin1p
 
MonitorElementmEtaFineBin2m
 
MonitorElementmEtaFineBin2p
 
MonitorElementmEtaFineBin3m
 
MonitorElementmEtaFineBin3p
 
MonitorElementmEtaFirst
 
std::string METType_
 
double mGenEnergyFractionThreshold
 
MonitorElementmGenEta
 
MonitorElementmGenEtaFirst
 
MonitorElementmGenJetMatchEnergyFraction
 
MonitorElementmGenPhi
 
MonitorElementmGenPhiFirst
 
MonitorElementmGenPt
 
MonitorElementmGenPt_3000
 
MonitorElementmGenPt_80
 
MonitorElementmHadEnergyInHB
 
MonitorElementmHadEnergyInHB_3000
 
MonitorElementmHadEnergyInHB_80
 
MonitorElementmHadEnergyInHE
 
MonitorElementmHadEnergyInHE_3000
 
MonitorElementmHadEnergyInHE_80
 
MonitorElementmHadEnergyInHF
 
MonitorElementmHadEnergyInHO
 
MonitorElementmHadEnergyInHO_3000
 
MonitorElementmHadEnergyInHO_80
 
MonitorElementmHadEnergyProfile
 
MonitorElementmHadJetEnergyProfile
 
MonitorElementmHadTiming
 
MonitorElementmHBEne
 
MonitorElementmHBTime
 
MonitorElementmHEEne
 
MonitorElementmHETime
 
MonitorElementmHFEne
 
MonitorElementmHFLong
 
MonitorElementmHFLong_3000
 
MonitorElementmHFLong_80
 
MonitorElementmHFShort
 
MonitorElementmHFShort_3000
 
MonitorElementmHFShort_80
 
MonitorElementmHFTime
 
MonitorElementmHFTotal
 
MonitorElementmHFTotal_3000
 
MonitorElementmHFTotal_80
 
MonitorElementmHOEne
 
MonitorElementmHOTime
 
edm::InputTag mInputCollection
 
edm::InputTag mInputGenCollection
 
MonitorElementmjetArea
 
MonitorElementmJetEnergyProfile
 
MonitorElementmlinEScale
 
MonitorElementmMass
 
MonitorElementmMass_3000
 
MonitorElementmMass_80
 
MonitorElementmMatchedGenJetsEta
 
MonitorElementmMatchedGenJetsPt
 
double mMatchGenPtThreshold
 
MonitorElementmMaxEInEmTowers
 
MonitorElementmMaxEInHadTowers
 
MonitorElementmMjj
 
MonitorElementmMjj_3000
 
MonitorElementmN90
 
MonitorElementmNJets1
 
MonitorElementmNJets2
 
MonitorElementmNJetsEtaC
 
MonitorElementmNJetsEtaF
 
std::string mOutputFile
 
MonitorElementmP
 
MonitorElementmP_3000
 
MonitorElementmP_80
 
MonitorElementmPhi
 
MonitorElementmPhiFineBin
 
MonitorElementmPhiFirst
 
MonitorElementmPt
 
MonitorElementmPt_3000
 
MonitorElementmPt_80
 
MonitorElementmPtFirst
 
MonitorElementmPtFirst_3000
 
MonitorElementmPtFirst_80
 
MonitorElementmPthat_3000
 
MonitorElementmPthat_80
 
MonitorElementmpTRatio
 
MonitorElementmpTRatio_1500_3500_d
 
MonitorElementmpTRatio_200_600_d
 
MonitorElementmpTRatio_30_200_d
 
MonitorElementmpTRatio_600_1500_d
 
MonitorElementmpTRatioB_d
 
MonitorElementmpTRatioE_d
 
MonitorElementmpTRatioF_d
 
MonitorElementmpTScale1D_1500_3500
 
MonitorElementmpTScale1D_200_600
 
MonitorElementmpTScale1D_30_200
 
MonitorElementmpTScale1D_600_1500
 
MonitorElementmpTScale1DB_1500_3500
 
MonitorElementmpTScale1DB_200_600
 
MonitorElementmpTScale1DB_30_200
 
MonitorElementmpTScale1DB_600_1500
 
MonitorElementmpTScale1DE_1500_3500
 
MonitorElementmpTScale1DE_200_600
 
MonitorElementmpTScale1DE_30_200
 
MonitorElementmpTScale1DE_600_1500
 
MonitorElementmpTScale1DF_1500_3500
 
MonitorElementmpTScale1DF_200_600
 
MonitorElementmpTScale1DF_30_200
 
MonitorElementmpTScale1DF_600_1500
 
MonitorElementmpTScale_1500_3500_d
 
MonitorElementmpTScale_1500_3500_s
 
MonitorElementmpTScale_200_600_d
 
MonitorElementmpTScale_200_600_s
 
MonitorElementmpTScale_30_200_d
 
MonitorElementmpTScale_30_200_s
 
MonitorElementmpTScale_600_1500_d
 
MonitorElementmpTScale_600_1500_s
 
MonitorElementmpTScaleB_d
 
MonitorElementmpTScaleB_s
 
MonitorElementmpTScaleE_d
 
MonitorElementmpTScaleE_s
 
MonitorElementmpTScaleF_d
 
MonitorElementmpTScaleF_s
 
MonitorElementmpTScalePhiB_d
 
MonitorElementmpTScalePhiE_d
 
MonitorElementmpTScalePhiF_d
 
double mReverseEnergyFractionThreshold
 
MonitorElementmReverseMatchEnergyFraction
 
MonitorElementmRho
 
MonitorElementmRMatch
 
double mRThreshold
 
std::string mTurnOnEverything
 
MonitorElementnumberofevents
 
edm::InputTag rho_tag_
 

Additional Inherited Members

- Public Types inherited from edm::EDAnalyzer
typedef EDAnalyzer ModuleType
 
typedef WorkerT< EDAnalyzerWorkerType
 
- Static Public Member Functions inherited from edm::EDAnalyzer
static const std::string & baseType ()
 
static void fillDescriptions (ConfigurationDescriptions &descriptions)
 
static void prevalidate (ConfigurationDescriptions &)
 
- Protected Member Functions inherited from edm::EDAnalyzer
CurrentProcessingContext const * currentContext () const
 

Detailed Description

Definition at line 22 of file CaloJetTesterUnCorr.h.

Constructor & Destructor Documentation

CaloJetTesterUnCorr::CaloJetTesterUnCorr ( const edm::ParameterSet iConfig)

= mCaloMEx = mCaloMEx_3000 = mCaloMEy = mCaloMEy_3000 = mCaloMETSig = mCaloMETSig_3000

Definition at line 43 of file CaloJetTesterUnCorr.cc.

References DQMStore::book1D(), DQMStore::bookProfile(), MuonErrorMatrixValues_cff::etaRange, edm::InputTag::label(), mConstituents, mConstituents_80, mDelEta, mDelPhi, mDelPt, mDeltaEta, mDeltaPhi, mE, mE_80, mEmEnergyInEB, mEmEnergyInEB_80, mEmEnergyInEE, mEmEnergyInEE_80, mEmEnergyInHF, mEmTiming, mEnergyFractionEm_B, mEnergyFractionEm_E, mEnergyFractionEm_F, mEnergyFractionHadronic_B, mEnergyFractionHadronic_E, mEnergyFractionHadronic_F, mEScale_pt10, mEScaleFineBin, mEta, mEtaFineBin, mEtaFirst, mGenEta, mGenEtaFirst, mGenPhi, mGenPhiFirst, mGenPt, mGenPt_80, mHadEnergyInHB, mHadEnergyInHB_80, mHadEnergyInHE, mHadEnergyInHE_80, mHadEnergyInHF, mHadEnergyInHO, mHadEnergyInHO_3000, mHadEnergyInHO_80, mHadTiming, mHFLong, mHFLong_80, mHFShort, mHFShort_80, mHFTotal, mHFTotal_80, mInputCollection, mjetArea, mMass, mMass_80, mMaxEInEmTowers, mMaxEInHadTowers, mMjj, mMjj_3000, mN90, mNJets1, mNJets2, mNJetsEtaC, mNJetsEtaF, mOutputFile, mP, mP_80, mPhi, mPhiFineBin, mPhiFirst, mPt, mPt_80, mPtFirst, mPtFirst_3000, mPtFirst_80, mPthat_3000, mPthat_80, mpTScale1DB_1500_3500, mpTScale1DB_200_600, mpTScale1DB_30_200, mpTScale1DB_600_1500, mpTScale1DE_1500_3500, mpTScale1DE_200_600, mpTScale1DE_30_200, mpTScale1DE_600_1500, mpTScale1DF_1500_3500, mpTScale1DF_200_600, mpTScale1DF_30_200, mpTScale1DF_600_1500, mpTScale_1500_3500_d, mpTScale_200_600_d, mpTScale_30_200_d, mpTScale_600_1500_d, mpTScaleB_d, mpTScaleE_d, mpTScaleF_d, mpTScalePhiB_d, mpTScalePhiE_d, mpTScalePhiF_d, mRho, mTurnOnEverything, numberofevents, and DQMStore::setCurrentFolder().

44  : mInputCollection (iConfig.getParameter<edm::InputTag>( "src" )),
45  mInputGenCollection (iConfig.getParameter<edm::InputTag>( "srcGen" )),
46  rho_tag_ (iConfig.getParameter<edm::InputTag>( "srcRho" )),
47  mOutputFile (iConfig.getUntrackedParameter<std::string>("outputFile", "")),
48  mMatchGenPtThreshold (iConfig.getParameter<double>("genPtThreshold")),
49  mGenEnergyFractionThreshold (iConfig.getParameter<double>("genEnergyFractionThreshold")),
50  mReverseEnergyFractionThreshold (iConfig.getParameter<double>("reverseEnergyFractionThreshold")),
51  mRThreshold (iConfig.getParameter<double>("RThreshold")),
52  mTurnOnEverything (iConfig.getUntrackedParameter<std::string>("TurnOnEverything",""))
53 {
56  = mP = mP_80 = mPt = mPt_80
69  = mN90
71  //= mCaloMET = mCaloMET_3000 = mCaloMETPhi = mCaloSumET = mCaloSumET_3000
74  //= mAllGenJetsPt = mMatchedGenJetsPt = mAllGenJetsEta = mMatchedGenJetsEta
75  //= mGenJetMatchEnergyFraction = mReverseMatchEnergyFraction = mRMatch
76  = mDeltaEta = mDeltaPhi //= mEScale = mlinEScale = mDeltaE
77  //= mHadEnergyProfile = mEmEnergyProfile = mJetEnergyProfile = mHadJetEnergyProfile = mEMJetEnergyProfile
79  //= mpTScaleB_s = mpTScaleE_s = mpTScaleF_s
82  //= mpTScale_30_200_s = mpTScale_200_600_s = mpTScale_600_1500_s = mpTScale_1500_3500_s
84 
89  /*
90  = mpTScale1D_30_200 = mpTScale1D_200_600 = mpTScale1D_600_1500 = mpTScale1D_1500_3500
91  = mHBEne = mHBTime = mHEEne = mHETime = mHFEne = mHFTime = mHOEne = mHOTime
92  = mEBEne = mEBTime = mEEEne = mEETime
93  */
94 
96  = 0;
97 
99  if (dbe) {
100  dbe->setCurrentFolder("JetMET/RecoJetsV/CaloJetTask_" + mInputCollection.label());
101  //
102  numberofevents = dbe->book1D("numberofevents","numberofevents", 3, 0 , 2);
103  //
104  mEta = dbe->book1D("Eta", "Eta", 120, -6, 6);
105  mEtaFineBin = dbe->book1D("EtaFineBin_Pt10", "EtaFineBin_Pt10", 600, -6, 6);
106  /*
107  mEtaFineBin1p = dbe->book1D("EtaFineBin1p_Pt10", "EtaFineBin1p_Pt10", 100, 0, 1.3);
108  mEtaFineBin2p = dbe->book1D("EtaFineBin2p_Pt10", "EtaFineBin2p_Pt10", 100, 1.3, 3);
109  mEtaFineBin3p = dbe->book1D("EtaFineBin3p_Pt10", "EtaFineBin3p_Pt10", 100, 3, 5);
110  mEtaFineBin1m = dbe->book1D("EtaFineBin1m_Pt10", "EtaFineBin1m_Pt10", 100, -1.3, 0);
111  mEtaFineBin2m = dbe->book1D("EtaFineBin2m_Pt10", "EtaFineBin2m_Pt10", 100, -3, -1.3);
112  mEtaFineBin3m = dbe->book1D("EtaFineBin3m_Pt10", "EtaFineBin3m_Pt10", 100, -5, -3);
113  */
114  //
115  mPhi = dbe->book1D("Phi", "Phi", 70, -3.5, 3.5);
116  mPhiFineBin = dbe->book1D("PhiFineBin_Pt10", "PhiFineBin_Pt10", 350, -3.5, 3.5);
117  //
118  mE = dbe->book1D("E", "E", 100, 0, 500);
119  mE_80 = dbe->book1D("E_80", "E_80", 100, 0, 5000);
120  //
121  mP = dbe->book1D("P", "P", 100, 0, 500);
122  mP_80 = dbe->book1D("P_80", "P_80", 100, 0, 5000);
123  //
124  mPt = dbe->book1D("Pt", "Pt", 100, 0, 150);
125  mPt_80 = dbe->book1D("Pt_80", "Pt_80", 100, 0, 4000);
126  //
127  mMass = dbe->book1D("Mass", "Mass", 100, 0, 200);
128  mMass_80 = dbe->book1D("Mass_80", "Mass_80", 100, 0, 500);
129  //
130  mConstituents = dbe->book1D("Constituents", "# of Constituents", 100, 0, 100);
131  mConstituents_80 = dbe->book1D("Constituents_80", "# of Constituents_80", 40, 0, 40);
132  //
133  mEtaFirst = dbe->book1D("EtaFirst", "EtaFirst", 120, -6, 6);
134  mPhiFirst = dbe->book1D("PhiFirst", "PhiFirst", 70, -3.5, 3.5);
135  mPtFirst = dbe->book1D("PtFirst", "PtFirst", 100, 0, 50);
136  mPtFirst_80 = dbe->book1D("PtFirst_80", "PtFirst_80", 100, 0, 140);
137  mPtFirst_3000 = dbe->book1D("PtFirst_3000", "PtFirst_3000", 100, 0, 4000);
138  //
139  mMjj = dbe->book1D("Mjj", "Mjj", 100, 0, 2000);
140  mMjj_3000 = dbe->book1D("Mjj_3000", "Mjj_3000", 100, 0, 10000);
141  mDelEta = dbe->book1D("DelEta", "DelEta", 100, -.5, .5);
142  mDelPhi = dbe->book1D("DelPhi", "DelPhi", 100, -.5, .5);
143  mDelPt = dbe->book1D("DelPt", "DelPt", 100, -1, 1);
144  //
145  mMaxEInEmTowers = dbe->book1D("MaxEInEmTowers", "MaxEInEmTowers", 100, 0, 100);
146  mMaxEInHadTowers = dbe->book1D("MaxEInHadTowers", "MaxEInHadTowers", 100, 0, 100);
147  mHadEnergyInHO = dbe->book1D("HadEnergyInHO", "HadEnergyInHO", 100, 0, 10);
148  mHadEnergyInHB = dbe->book1D("HadEnergyInHB", "HadEnergyInHB", 100, 0, 150);
149  mHadEnergyInHF = dbe->book1D("HadEnergyInHF", "HadEnergyInHF", 100, 0, 50);
150  mHadEnergyInHE = dbe->book1D("HadEnergyInHE", "HadEnergyInHE", 100, 0, 150);
151  //
152  mHadEnergyInHO_80 = dbe->book1D("HadEnergyInHO_80", "HadEnergyInHO_80", 100, 0, 50);
153  mHadEnergyInHB_80 = dbe->book1D("HadEnergyInHB_80", "HadEnergyInHB_80", 100, 0, 3000);
154  mHadEnergyInHE_80 = dbe->book1D("HadEnergyInHE_80", "HadEnergyInHE_80", 100, 0, 3000);
155  mHadEnergyInHO_3000 = dbe->book1D("HadEnergyInHO_3000", "HadEnergyInHO_3000", 100, 0, 500);
156  //
157  mEmEnergyInEB = dbe->book1D("EmEnergyInEB", "EmEnergyInEB", 100, 0, 150);
158  mEmEnergyInEE = dbe->book1D("EmEnergyInEE", "EmEnergyInEE", 100, 0, 150);
159  mEmEnergyInHF = dbe->book1D("EmEnergyInHF", "EmEnergyInHF", 120, -20, 100);
160  mEmEnergyInEB_80 = dbe->book1D("EmEnergyInEB_80", "EmEnergyInEB_80", 100, 0, 3000);
161  mEmEnergyInEE_80 = dbe->book1D("EmEnergyInEE_80", "EmEnergyInEE_80", 100, 0, 3000);
162  mEnergyFractionHadronic_B = dbe->book1D("EnergyFractionHadronic_B", "EnergyFractionHadronic_B", 120, -0.1, 1.1);
163  mEnergyFractionHadronic_E = dbe->book1D("EnergyFractionHadronic_E", "EnergyFractionHadronic_E", 120, -0.1, 1.1);
164  mEnergyFractionHadronic_F = dbe->book1D("EnergyFractionHadronic_F", "EnergyFractionHadronic_F", 120, -0.1, 1.1);
165  mEnergyFractionEm_B = dbe->book1D("EnergyFractionEm_B", "EnergyFractionEm_B", 120, -0.1, 1.1);
166  mEnergyFractionEm_E = dbe->book1D("EnergyFractionEm_E", "EnergyFractionEm_E", 120, -0.1, 1.1);
167  mEnergyFractionEm_F = dbe->book1D("EnergyFractionEm_F", "EnergyFractionEm_F", 120, -0.1, 1.1);
168  //
169  mHFTotal = dbe->book1D("HFTotal", "HFTotal", 100, 0, 150);
170  mHFTotal_80 = dbe->book1D("HFTotal_80", "HFTotal_80", 100, 0, 3000);
171 
172  mHFLong = dbe->book1D("HFLong", "HFLong", 100, 0, 150);
173  mHFLong_80 = dbe->book1D("HFLong_80", "HFLong_80", 100, 0, 3000);
174 
175  mHFShort = dbe->book1D("HFShort", "HFShort", 100, 0, 150);
176  mHFShort_80 = dbe->book1D("HFShort_80", "HFShort_80", 100, 0, 3000);
177 
178  //
179  mN90 = dbe->book1D("N90", "N90", 50, 0, 50);
180  //
181  mGenEta = dbe->book1D("GenEta", "GenEta", 120, -6, 6);
182  mGenPhi = dbe->book1D("GenPhi", "GenPhi", 70, -3.5, 3.5);
183  mGenPt = dbe->book1D("GenPt", "GenPt", 100, 0, 150);
184  mGenPt_80 = dbe->book1D("GenPt_80", "GenPt_80", 100, 0, 1500);
185  //
186  mGenEtaFirst = dbe->book1D("GenEtaFirst", "GenEtaFirst", 120, -6, 6);
187  mGenPhiFirst = dbe->book1D("GenPhiFirst", "GenPhiFirst", 70, -3.5, 3.5);
188  //
189  /*
190  mCaloMEx = dbe->book1D("CaloMEx","CaloMEx",200,-150,150);
191  mCaloMEx_3000 = dbe->book1D("CaloMEx_3000","CaloMEx_3000",100,-500,500);
192  mCaloMEy = dbe->book1D("CaloMEy","CaloMEy",200,-150,150);
193  mCaloMEy_3000 = dbe->book1D("CaloMEy_3000","CaloMEy_3000",100,-500,500);
194  mCaloMETSig = dbe->book1D("CaloMETSig","CaloMETSig",100,0,15);
195  mCaloMETSig_3000 = dbe->book1D("CaloMETSig_3000","CaloMETSig_3000",100,0,50);
196  mCaloMET = dbe->book1D("CaloMET","CaloMET",100,0,150);
197  mCaloMET_3000 = dbe->book1D("CaloMET_3000","CaloMET_3000",100,0,1000);
198  mCaloMETPhi = dbe->book1D("CaloMETPhi","CaloMETPhi",70, -3.5, 3.5);
199  mCaloSumET = dbe->book1D("CaloSumET","CaloSumET",100,0,500);
200  mCaloSumET_3000 = dbe->book1D("CaloSumET_3000","CaloSumET_3000",100,3000,8000);
201  */
202  //
203  mHadTiming = dbe->book1D("HadTiming", "HadTiming", 75, -50, 100);
204  mEmTiming = dbe->book1D("EMTiming", "EMTiming", 75, -50, 100);
205  //
206  mNJetsEtaC = dbe->book1D("NJetsEtaC_Pt10", "NJetsEtaC_Pt10", 15, 0, 15);
207  mNJetsEtaF = dbe->book1D("NJetsEtaF_Pt10", "NJetsEtaF_Pt10", 15, 0, 15);
208  //
209  mNJets1 = dbe->bookProfile("NJets1", "NJets1", 100, 0, 200, 100, 0, 50, "s");
210  mNJets2 = dbe->bookProfile("NJets2", "NJets2", 100, 0, 4000, 100, 0, 50, "s");
211  //
212  /*
213  mHBEne = dbe->book1D( "HBEne", "HBEne", 1000, -20, 100 );
214  mHBTime = dbe->book1D( "HBTime", "HBTime", 200, -200, 200 );
215  mHEEne = dbe->book1D( "HEEne", "HEEne", 1000, -20, 100 );
216  mHETime = dbe->book1D( "HETime", "HETime", 200, -200, 200 );
217  mHOEne = dbe->book1D( "HOEne", "HOEne", 1000, -20, 100 );
218  mHOTime = dbe->book1D( "HOTime", "HOTime", 200, -200, 200 );
219  mHFEne = dbe->book1D( "HFEne", "HFEne", 1000, -20, 100 );
220  mHFTime = dbe->book1D( "HFTime", "HFTime", 200, -200, 200 );
221  mEBEne = dbe->book1D( "EBEne", "EBEne", 1000, -20, 100 );
222  mEBTime = dbe->book1D( "EBTime", "EBTime", 200, -200, 200 );
223  mEEEne = dbe->book1D( "EEEne", "EEEne", 1000, -20, 100 );
224  mEETime = dbe->book1D( "EETime", "EETime", 200, -200, 200 );
225  */
226  //
227  mPthat_80 = dbe->book1D("Pthat_80", "Pthat_80", 100, 0.0, 1000.0);
228  mPthat_3000 = dbe->book1D("Pthat_3000", "Pthat_3000", 100, 1000.0, 4000.0);
229 
230 
231  mjetArea = dbe->book1D("jetArea","jetArea",26,-0.5,12.5);
232  mRho = dbe->book1D("Rho","Rho",20,0,20);
233 
234  //
235  double log10PtMin = 0.5; //=3.1622766
236  double log10PtMax = 3.75; //=5623.41325
237  int log10PtBins = 26;
238  //double etaMin = -6.;
239  //double etaMax = 6.;
240  //int etaBins = 50;
241  double etaRange[91] = {-6.0,-5.8,-5.6,-5.4,-5.2,-5.0,-4.8,-4.6,-4.4,-4.2,-4.0,-3.8,-3.6,-3.4,-3.2,-3.0,-2.9,-2.8,-2.7,-2.6,-2.5,-2.4,-2.3,-2.2,-2.1,-2.0,-1.9,-1.8,-1.7,-1.6,-1.5,-1.4,-1.3,-1.2,-1.1,-1.0,-0.9,-0.8,-0.7,-0.6,-0.5,-0.4,-0.3,-0.2,-0.1,0.0,0.1,0.2,0.3,0.4,0.5,0.6,0.7,0.8,0.9,1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,1.9,2.0,2.1,2.2,2.3,2.4,2.5,2.6,2.7,2.8,2.9,3.0,3.2,3.4,3.6,3.8,4.0,4.2,4.4,4.6,4.8,5.0,5.2,5.4,5.6,5.8,6.0};
242 
243  //double linPtMin = 5;
244  //double linPtMax = 155;
245  //int linPtBins = 15;
246 
247  // int log10PtFineBins = 50;
248  /*
249  mAllGenJetsPt = dbe->book1D("GenJetLOGpT", "GenJet LOG(pT_gen)",
250  log10PtBins, log10PtMin, log10PtMax);
251  mMatchedGenJetsPt = dbe->book1D("MatchedGenJetLOGpT", "MatchedGenJet LOG(pT_gen)",
252  log10PtBins, log10PtMin, log10PtMax);
253  mAllGenJetsEta = dbe->book2D("GenJetEta", "GenJet Eta vs LOG(pT_gen)",
254  log10PtBins, log10PtMin, log10PtMax, etaBins, etaMin, etaMax);
255  mMatchedGenJetsEta = dbe->book2D("MatchedGenJetEta", "MatchedGenJet Eta vs LOG(pT_gen)",
256  log10PtBins, log10PtMin, log10PtMax, etaBins, etaMin, etaMax);
257  */
258  //
259  if (mTurnOnEverything.compare("yes")==0) {
260  /*
261  mHadEnergyProfile = dbe->bookProfile2D("HadEnergyProfile", "HadEnergyProfile", 82, -41, 41, 73, 0, 73, 100, 0, 10000, "s");
262  mEmEnergyProfile = dbe->bookProfile2D("EmEnergyProfile", "EmEnergyProfile", 82, -41, 41, 73, 0, 73, 100, 0, 10000, "s");
263  */
264  }
265  /*
266  mJetEnergyProfile = dbe->bookProfile2D("JetEnergyProfile", "JetEnergyProfile", 50, -5, 5, 36, -3.1415987, 3.1415987, 100, 0, 10000, "s");
267  mHadJetEnergyProfile = dbe->bookProfile2D("HadJetEnergyProfile", "HadJetEnergyProfile", 50, -5, 5, 36, -3.1415987, 3.1415987, 100, 0, 10000, "s");
268  mEMJetEnergyProfile = dbe->bookProfile2D("EMJetEnergyProfile", "EMJetEnergyProfile", 50, -5, 5, 36, -3.1415987, 3.1415987, 100, 0, 10000, "s");
269  */
270  //
271  if (mTurnOnEverything.compare("yes")==0) {
272  /*
273  mGenJetMatchEnergyFraction = dbe->book3D("GenJetMatchEnergyFraction", "GenJetMatchEnergyFraction vs LOG(pT_gen) vs eta",
274  log10PtBins, log10PtMin, log10PtMax, etaBins, etaMin, etaMax, 101, 0, 1.01);
275  mReverseMatchEnergyFraction = dbe->book3D("ReverseMatchEnergyFraction", "ReverseMatchEnergyFraction vs LOG(pT_gen) vs eta",
276  log10PtBins, log10PtMin, log10PtMax, etaBins, etaMin, etaMax, 101, 0, 1.01);
277  mRMatch = dbe->book3D("RMatch", "delta(R)(Gen-Calo) vs LOG(pT_gen) vs eta",
278  log10PtBins, log10PtMin, log10PtMax, etaBins, etaMin, etaMax, 30, 0, 3);
279  */
280 /*
281  mDeltaEta = dbe->book3D("DeltaEta", "DeltaEta vs LOG(pT_gen) vs eta",
282  log10PtBins, log10PtMin, log10PtMax, etaBins, etaMin, etaMax, 100, -1, 1);
283  mDeltaPhi = dbe->book3D("DeltaPhi", "DeltaPhi vs LOG(pT_gen) vs eta",
284  log10PtBins, log10PtMin, log10PtMax, etaBins, etaMin, etaMax, 100, -1, 1);
285 */
286  /*
287  mEScale = dbe->book3D("EScale", "EnergyScale vs LOG(pT_gen) vs eta",
288  log10PtBins, log10PtMin, log10PtMax, etaBins, etaMin, etaMax, 100, 0, 2);
289  mlinEScale = dbe->book3D("linEScale", "EnergyScale vs LOG(pT_gen) vs eta",
290  linPtBins, linPtMin, linPtMax, etaBins, etaMin, etaMax, 100, 0, 2);
291  mDeltaE = dbe->book3D("DeltaE", "DeltaE vs LOG(pT_gen) vs eta",
292  log10PtBins, log10PtMin, log10PtMax, etaBins, etaMin, etaMax, 2000, -200, 200);
293  */
294  //
295  /*
296  mEScale_pt10 = dbe->book3D("EScale_pt10", "EnergyScale vs LOG(pT_gen) vs eta",
297  log10PtBins, log10PtMin, log10PtMax, 90,etaRange, 100, 0, 2);
298  mEScaleFineBin = dbe->book3D("EScaleFineBins", "EnergyScale vs LOG(pT_gen) vs eta",
299  log10PtFineBins, log10PtMin, log10PtMax, 90,etaRange, 100, 0, 2);
300 */
301  }
302  //mpTScaleB_s = dbe->bookProfile("pTScaleB_s", "pTScale_s_0<|eta|<1.3",
303  // log10PtBins, log10PtMin, log10PtMax, 0, 2, "s");
304  //mpTScaleE_s = dbe->bookProfile("pTScaleE_s", "pTScale_s_1.3<|eta|<3.0",
305  // log10PtBins, log10PtMin, log10PtMax, 0, 2, "s");
306  // mpTScaleF_s = dbe->bookProfile("pTScaleF_s", "pTScale_s_3.0<|eta|<5.0",
307  // log10PtBins, log10PtMin, log10PtMax, 0, 2, "s");
308  mpTScaleB_d = dbe->bookProfile("pTScaleB_d", "pTScale_d_0<|eta|<1.5",
309  log10PtBins, log10PtMin, log10PtMax, 0, 2, " ");
310  mpTScaleE_d = dbe->bookProfile("pTScaleE_d", "pTScale_d_1.5<|eta|<3.0",
311  log10PtBins, log10PtMin, log10PtMax, 0, 2, " ");
312  mpTScaleF_d = dbe->bookProfile("pTScaleF_d", "pTScale_d_3.0<|eta|<6.0",
313  log10PtBins, log10PtMin, log10PtMax, 0, 2, " ");
314  mpTScalePhiB_d = dbe->bookProfile("pTScalePhiB_d", "pTScalePhi_d_0<|eta|<1.5",
315  70, -3.5, 3.5, 0, 2, " ");
316  mpTScalePhiE_d = dbe->bookProfile("pTScalePhiE_d", "pTScalePhi_d_1.5<|eta|<3.0",
317  70, -3.5, 3.5, 0, 2, " ");
318  mpTScalePhiF_d = dbe->bookProfile("pTScalePhiF_d", "pTScalePhi_d_3.0<|eta|<6.0",
319  70, -3.5, 3.5, 0, 2, " ");
320 //mpTScale_30_200_s = dbe->bookProfile("pTScale_30_200_s", "pTScale_s_30<pT<200",
321 // etaBins, etaMin, etaMax, 0., 2., "s");
322 //mpTScale_200_600_s = dbe->bookProfile("pTScale_200_600_s", "pTScale_s_200<pT<600",
323 // etaBins, etaMin, etaMax, 0., 2., "s");
324 //mpTScale_600_1500_s = dbe->bookProfile("pTScale_600_1500_s", "pTScale_s_600<pT<1500",
325 // etaBins, etaMin, etaMax, 0., 2., "s");
326 //mpTScale_1500_3500_s = dbe->bookProfile("pTScale_1500_3500_s", "pTScale_s_1500<pt<3500",
327 // etaBins, etaMin, etaMax, 0., 2., "s");
328  mpTScale_30_200_d = dbe->bookProfile("pTScale_30_200_d", "pTScale_d_30<pT<200",
329  90,etaRange, 0., 2., " ");
330  mpTScale_200_600_d = dbe->bookProfile("pTScale_200_600_d", "pTScale_d_200<pT<600",
331  90,etaRange, 0., 2., " ");
332  mpTScale_600_1500_d = dbe->bookProfile("pTScale_600_1500_d", "pTScale_d_600<pT<1500",
333  90,etaRange, 0., 2., " ");
334  mpTScale_1500_3500_d = dbe->bookProfile("pTScale_1500_3500_d", "pTScale_d_1500<pt<3500",
335  90,etaRange, 0., 2., " ");
336 
337  mpTScale1DB_30_200 = dbe->book1D("pTScale1DB_30_200", "pTScale_distribution_for_0<|eta|<1.5_30_200",
338  100, 0, 2);
339  mpTScale1DE_30_200 = dbe->book1D("pTScale1DE_30_200", "pTScale_distribution_for_1.5<|eta|<3.0_30_200",
340  50, 0, 2);
341  mpTScale1DF_30_200 = dbe->book1D("pTScale1DF_30_200", "pTScale_distribution_for_3.0<|eta|<6.0_30_200",
342  50, 0, 2);
343 
344  mpTScale1DB_200_600 = dbe->book1D("pTScale1DB_200_600", "pTScale_distribution_for_0<|eta|<1.5_200_600",
345  100, 0, 2);
346  mpTScale1DE_200_600 = dbe->book1D("pTScale1DE_200_600", "pTScale_distribution_for_1.5<|eta|<3.0_200_600",
347  50, 0, 2);
348  mpTScale1DF_200_600 = dbe->book1D("pTScale1DF_200_600", "pTScale_distribution_for_3.0<|eta|<6.0_200_600",
349  50, 0, 2);
350 
351  mpTScale1DB_600_1500 = dbe->book1D("pTScale1DB_600_1500", "pTScale_distribution_for_0<|eta|<1.5_600_1500",
352  100, 0, 2);
353  mpTScale1DE_600_1500 = dbe->book1D("pTScale1DE_600_1500", "pTScale_distribution_for_1.5<|eta|<3.0_600_1500",
354  50, 0, 2);
355  mpTScale1DF_600_1500 = dbe->book1D("pTScale1DF_600_1500", "pTScale_distribution_for_3.0<|eta|<6.0_600_1500",
356  50, 0, 2);
357 
358  mpTScale1DB_1500_3500 = dbe->book1D("pTScale1DB_1500_3500", "pTScale_distribution_for_0<|eta|<1.5_1500_3500",
359  100, 0, 2);
360  mpTScale1DE_1500_3500 = dbe->book1D("pTScale1DE_1500_3500", "pTScale_distribution_for_1.5<|eta|<3.0_1500_3500",
361  50, 0, 2);
362  mpTScale1DF_1500_3500 = dbe->book1D("pTScale1DF_1500_3500", "pTScale_distribution_for_3.0<|eta|<6.0_1500_3500",
363  50, 0, 2);
364 /*
365  mpTScale1D_30_200 = dbe->book1D("pTScale1D_30_200", "pTScale_distribution_for_30<pT<200",
366  100, 0, 2);
367  mpTScale1D_200_600 = dbe->book1D("pTScale1D_200_600", "pTScale_distribution_for_200<pT<600",
368  100, 0, 2);
369  mpTScale1D_600_1500 = dbe->book1D("pTScale1D_600_1500", "pTScale_distribution_for_600<pT<1500",
370  100, 0, 2);
371  mpTScale1D_1500_3500 = dbe->book1D("pTScale1D_1500_3500", "pTScale_distribution_for_1500<pt<3500",
372  100, 0, 2);
373 */
374  }
375 
376  if (mOutputFile.empty ()) {
377  LogInfo("OutputInfo") << " CaloJet histograms will NOT be saved";
378  }
379  else {
380  LogInfo("OutputInfo") << " CaloJethistograms will be saved to file:" << mOutputFile;
381  }
382 }
MonitorElement * mE_80
MonitorElement * mHadEnergyInHB_80
MonitorElement * mNJetsEtaF
MonitorElement * mHadEnergyInHO_80
T getParameter(std::string const &) const
T getUntrackedParameter(std::string const &, T const &) const
MonitorElement * mHadEnergyInHO
MonitorElement * mHadEnergyInHE
MonitorElement * mPt
MonitorElement * mpTScale1DE_200_600
MonitorElement * mDeltaPhi
MonitorElement * mpTScaleB_d
MonitorElement * mPtFirst_3000
MonitorElement * book1D(const char *name, const char *title, int nchX, double lowX, double highX)
Book 1D histogram.
Definition: DQMStore.cc:717
MonitorElement * mRho
MonitorElement * mpTScalePhiB_d
MonitorElement * mNJets2
MonitorElement * mGenEtaFirst
MonitorElement * mpTScaleF_d
MonitorElement * mHadEnergyInHF
MonitorElement * mHadEnergyInHE_80
MonitorElement * mpTScale1DE_600_1500
MonitorElement * mHFTotal_80
MonitorElement * mHadEnergyInHB
MonitorElement * mHadEnergyInHO_3000
MonitorElement * mPtFirst
MonitorElement * mHFShort
MonitorElement * mpTScale1DB_30_200
MonitorElement * mEmEnergyInEB_80
MonitorElement * mpTScale_1500_3500_d
MonitorElement * mPhiFineBin
MonitorElement * mEnergyFractionEm_F
MonitorElement * mpTScale1DE_30_200
MonitorElement * mpTScaleE_d
MonitorElement * mEnergyFractionHadronic_E
MonitorElement * mMjj_3000
MonitorElement * mpTScale1DF_1500_3500
MonitorElement * mNJets1
MonitorElement * mpTScale1DB_1500_3500
MonitorElement * mDelPt
MonitorElement * mEtaFirst
MonitorElement * mpTScale1DF_200_600
MonitorElement * mMass_80
MonitorElement * mGenPhi
MonitorElement * mPhi
MonitorElement * mGenPt_80
MonitorElement * mPthat_80
MonitorElement * mGenPhiFirst
MonitorElement * mEtaFineBin
MonitorElement * mEmTiming
MonitorElement * mP_80
MonitorElement * mConstituents
MonitorElement * bookProfile(const char *name, const char *title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, const char *option="s")
Definition: DQMStore.cc:1031
MonitorElement * mEmEnergyInEE
MonitorElement * mpTScale1DF_600_1500
MonitorElement * mGenEta
MonitorElement * mConstituents_80
MonitorElement * mHFShort_80
MonitorElement * mNJetsEtaC
MonitorElement * numberofevents
MonitorElement * mPhiFirst
MonitorElement * mMaxEInEmTowers
MonitorElement * mpTScale1DE_1500_3500
MonitorElement * mMass
MonitorElement * mpTScale_30_200_d
MonitorElement * mDeltaEta
MonitorElement * mEmEnergyInEB
MonitorElement * mEScaleFineBin
MonitorElement * mEnergyFractionHadronic_F
MonitorElement * mpTScale1DF_30_200
MonitorElement * mpTScale_200_600_d
MonitorElement * mpTScalePhiF_d
MonitorElement * mEScale_pt10
std::string const & label() const
Definition: InputTag.h:25
MonitorElement * mDelEta
MonitorElement * mEta
edm::InputTag mInputCollection
MonitorElement * mEmEnergyInEE_80
MonitorElement * mEnergyFractionEm_E
MonitorElement * mjetArea
MonitorElement * mPthat_3000
MonitorElement * mpTScale1DB_200_600
MonitorElement * mHadTiming
MonitorElement * mDelPhi
MonitorElement * mGenPt
MonitorElement * mMaxEInHadTowers
MonitorElement * mpTScale_600_1500_d
MonitorElement * mEmEnergyInHF
MonitorElement * mPtFirst_80
MonitorElement * mEnergyFractionHadronic_B
MonitorElement * mpTScalePhiE_d
MonitorElement * mPt_80
MonitorElement * mHFLong
MonitorElement * mHFLong_80
MonitorElement * mHFTotal
edm::InputTag mInputGenCollection
void setCurrentFolder(const std::string &fullpath)
Definition: DQMStore.cc:429
MonitorElement * mpTScale1DB_600_1500
MonitorElement * mEnergyFractionEm_B
CaloJetTesterUnCorr::~CaloJetTesterUnCorr ( )

Definition at line 384 of file CaloJetTesterUnCorr.cc.

385 {
386 }

Member Function Documentation

void CaloJetTesterUnCorr::analyze ( const edm::Event mEvent,
const edm::EventSetup mSetup 
)
virtual

Implements edm::EDAnalyzer.

Definition at line 396 of file CaloJetTesterUnCorr.cc.

References HiRecoJets_cff::caloTowers, deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::LeafCandidate::eta(), MonitorElement::Fill(), fillMatchHists(), edm::Event::getByLabel(), JetMatchingTools::getGenParticles(), edm::Event::getManyByType(), i, edm::EventBase::isRealData(), edm::HandleBase::isValid(), j, metsig::jet, edm::InputTag::label(), scaleCards::mass, mConstituents, mConstituents_80, mE, mE_80, mEmEnergyInEB, mEmEnergyInEB_80, mEmEnergyInEE, mEmEnergyInEE_80, mEmEnergyInHF, mEmTiming, mEnergyFractionEm_B, mEnergyFractionEm_E, mEnergyFractionEm_F, mEnergyFractionHadronic_B, mEnergyFractionHadronic_E, mEnergyFractionHadronic_F, mEta, mEtaFineBin, mEtaFirst, mGenEnergyFractionThreshold, mGenEta, mGenEtaFirst, mGenPhi, mGenPhiFirst, mGenPt, mGenPt_80, mHadEnergyInHB, mHadEnergyInHB_80, mHadEnergyInHE, mHadEnergyInHE_80, mHadEnergyInHF, mHadEnergyInHO, mHadEnergyInHO_3000, mHadEnergyInHO_80, mHadTiming, mHFLong, mHFLong_80, mHFShort, mHFShort_80, mHFTotal, mHFTotal_80, mInputCollection, mInputGenCollection, mjetArea, mMass, mMass_80, mMatchGenPtThreshold, mMaxEInEmTowers, mMaxEInHadTowers, mMjj, mMjj_3000, mN90, mNJets1, mNJets2, mNJetsEtaC, mNJetsEtaF, mP, mP_80, mPhi, mPhiFineBin, mPhiFirst, mPt, mPt_80, mPtFirst, mPtFirst_3000, mPtFirst_80, mPthat_3000, mPthat_80, mReverseEnergyFractionThreshold, mRho, mRThreshold, mTurnOnEverything, njet, numberofevents, JetMatchingTools::overlapEnergyFraction(), reco::LeafCandidate::phi(), reco::LeafCandidate::pt(), and rho_tag_.

397 {
398  double countsfornumberofevents = 1;
399  numberofevents->Fill(countsfornumberofevents);
400  // *********************************
401  // *** Get pThat
402  // *********************************
403 if (!mEvent.isRealData()){
405  mEvent.getByLabel("generator", evt);
406  if (evt.isValid()) {
407  HepMC::GenEvent * myGenEvent = new HepMC::GenEvent(*(evt->GetEvent()));
408 
409  double pthat = myGenEvent->event_scale();
410 
411  mPthat_80->Fill(pthat);
412  mPthat_3000->Fill(pthat);
413 
414  delete myGenEvent;
415  }
416 }
417  // ***********************************
418  // *** Get CaloMET
419  // ***********************************
420 /*
421  const CaloMET *calomet;
422  edm::Handle<CaloMETCollection> calo;
423  mEvent.getByLabel("met", calo);
424  if (!calo.isValid()) {
425  edm::LogInfo("OutputInfo") << " failed to retrieve data required by MET Task";
426  edm::LogInfo("OutputInfo") << " MET Task cannot continue...!";
427  } else {
428  const CaloMETCollection *calometcol = calo.product();
429  calomet = &(calometcol->front());
430 
431  double caloSumET = calomet->sumEt();
432  double caloMETSig = calomet->mEtSig();
433  double caloMET = calomet->pt();
434  double caloMEx = calomet->px();
435  double caloMEy = calomet->py();
436  double caloMETPhi = calomet->phi();
437 
438  mCaloMEx->Fill(caloMEx);
439  mCaloMEx_3000->Fill(caloMEx);
440  mCaloMEy->Fill(caloMEy);
441  mCaloMEy_3000->Fill(caloMEy);
442  mCaloMET->Fill(caloMET);
443  mCaloMET_3000->Fill(caloMET);
444  mCaloMETPhi->Fill(caloMETPhi);
445  mCaloSumET->Fill(caloSumET);
446  mCaloSumET_3000->Fill(caloSumET);
447  mCaloMETSig->Fill(caloMETSig);
448  mCaloMETSig_3000->Fill(caloMETSig);
449 
450  }
451 */
452  // ***********************************
453  // *** Get the CaloTower collection
454  // ***********************************
456  mEvent.getByLabel( "towerMaker", caloTowers );
457  if (caloTowers.isValid()) {
458  for( CaloTowerCollection::const_iterator cal = caloTowers->begin(); cal != caloTowers->end(); ++ cal ){
459 
460  //To compensate for the index
461  if (mTurnOnEverything.compare("yes")==0) {
462  /*
463  if (cal->ieta() >> 0 ){mHadEnergyProfile->Fill (cal->ieta()-1, cal->iphi(), cal->hadEnergy());
464  mEmEnergyProfile->Fill (cal->ieta()-1, cal->iphi(), cal->emEnergy());}
465  mHadEnergyProfile->Fill (cal->ieta(), cal->iphi(), cal->hadEnergy());
466  mEmEnergyProfile->Fill (cal->ieta(), cal->iphi(), cal->emEnergy());
467  */
468  }
469 
470  mHadTiming->Fill (cal->hcalTime());
471  mEmTiming->Fill (cal->ecalTime());
472  }
473  }
474 
475  // ***********************************
476  // *** Get the RecHits collection
477  // ***********************************
478  try {
479  std::vector<edm::Handle<HBHERecHitCollection> > colls;
480  mEvent.getManyByType(colls);
481  std::vector<edm::Handle<HBHERecHitCollection> >::iterator i;
482  for (i=colls.begin(); i!=colls.end(); i++) {
483  for (HBHERecHitCollection::const_iterator j=(*i)->begin(); j!=(*i)->end(); j++) {
484  // std::cout << *j << std::endl;
485  /*
486  if (j->id().subdet() == HcalBarrel) {
487  mHBEne->Fill(j->energy());
488  mHBTime->Fill(j->time());
489  }
490  if (j->id().subdet() == HcalEndcap) {
491  mHEEne->Fill(j->energy());
492  mHETime->Fill(j->time());
493  }
494  */
495  }
496  }
497  } catch (...) {
498  edm::LogInfo("OutputInfo") << " No HB/HE RecHits.";
499  }
500 
501  try {
502  std::vector<edm::Handle<HFRecHitCollection> > colls;
503  mEvent.getManyByType(colls);
504  std::vector<edm::Handle<HFRecHitCollection> >::iterator i;
505  for (i=colls.begin(); i!=colls.end(); i++) {
506  for (HFRecHitCollection::const_iterator j=(*i)->begin(); j!=(*i)->end(); j++) {
507  // std::cout << *j << std::endl;
508  /*
509  if (j->id().subdet() == HcalForward) {
510  mHFEne->Fill(j->energy());
511  mHFTime->Fill(j->time());
512  }
513  */
514  }
515  }
516  } catch (...) {
517  edm::LogInfo("OutputInfo") << " No HF RecHits.";
518  }
519 
520  try {
521  std::vector<edm::Handle<HORecHitCollection> > colls;
522  mEvent.getManyByType(colls);
523  std::vector<edm::Handle<HORecHitCollection> >::iterator i;
524  for (i=colls.begin(); i!=colls.end(); i++) {
525  for (HORecHitCollection::const_iterator j=(*i)->begin(); j!=(*i)->end(); j++) {
526  /*
527  if (j->id().subdet() == HcalOuter) {
528  //mHOEne->Fill(j->energy());
529  //mHOTime->Fill(j->time());
530  }
531  */
532  }
533  }
534  } catch (...) {
535  edm::LogInfo("OutputInfo") << " No HO RecHits.";
536  }
537  try {
538  std::vector<edm::Handle<EBRecHitCollection> > colls;
539  mEvent.getManyByType(colls);
540  std::vector<edm::Handle<EBRecHitCollection> >::iterator i;
541  for (i=colls.begin(); i!=colls.end(); i++) {
542  for (EBRecHitCollection::const_iterator j=(*i)->begin(); j!=(*i)->end(); j++) {
543  // if (j->id() == EcalBarrel) {
544  //mEBEne->Fill(j->energy());
545  //mEBTime->Fill(j->time());
546  // }
547  // std::cout << *j << std::endl;
548  // std::cout << j->id() << std::endl;
549  }
550  }
551  } catch (...) {
552  edm::LogInfo("OutputInfo") << " No EB RecHits.";
553  }
554 
555  try {
556  std::vector<edm::Handle<EERecHitCollection> > colls;
557  mEvent.getManyByType(colls);
558  std::vector<edm::Handle<EERecHitCollection> >::iterator i;
559  for (i=colls.begin(); i!=colls.end(); i++) {
560  for (EERecHitCollection::const_iterator j=(*i)->begin(); j!=(*i)->end(); j++) {
561  // if (j->id().subdet() == EcalEndcap) {
562  //mEEEne->Fill(j->energy());
563  //mEETime->Fill(j->time());
564  // }
565  // std::cout << *j << std::endl;
566  }
567  }
568  } catch (...) {
569  edm::LogInfo("OutputInfo") << " No EE RecHits.";
570  }
571 
572 
573  //***********************************
574  //*** Get the Jet Rho
575  //***********************************
576  edm::Handle<double> pRho;
577  mEvent.getByLabel(rho_tag_,pRho);
578  if( pRho.isValid() ) {
579  double rho_ = *pRho;
580  if(mRho) mRho->Fill(rho_);
581  }
582 
583  //***********************************
584  //*** Get the Jet collection
585  //***********************************
586  math::XYZTLorentzVector p4tmp[2];
587  Handle<CaloJetCollection> caloJets;
588  mEvent.getByLabel(mInputCollection, caloJets);
589  if (!caloJets.isValid()) return;
590  CaloJetCollection::const_iterator jet = caloJets->begin ();
591  int jetIndex = 0;
592  int nJet = 0;
593  int nJetF = 0;
594  int nJetC = 0;
595  for (; jet != caloJets->end (); jet++, jetIndex++) {
596 
597 
598  if (jet->pt() > 10.) {
599  if (fabs(jet->eta()) > 1.5)
600  nJetF++;
601  else
602  nJetC++;
603  }
604  if (jet->pt() > 10.) {
605  if (mEta) mEta->Fill (jet->eta());
606  if (mEtaFineBin) mEtaFineBin->Fill (jet->eta());
607  //if (mEtaFineBin1p) mEtaFineBin1p->Fill (jet->eta());
608  //if (mEtaFineBin2p) mEtaFineBin2p->Fill (jet->eta());
609  //if (mEtaFineBin3p) mEtaFineBin3p->Fill (jet->eta());
610  //if (mEtaFineBin1m) mEtaFineBin1m->Fill (jet->eta());
611  //if (mEtaFineBin2m) mEtaFineBin2m->Fill (jet->eta());
612  //if (mEtaFineBin3m) mEtaFineBin3m->Fill (jet->eta());
613  if (mPhiFineBin) mPhiFineBin->Fill (jet->phi());
614  }
615  if (mjetArea) mjetArea->Fill(jet->jetArea());
616  if (mPhi) mPhi->Fill (jet->phi());
617  if (mE) mE->Fill (jet->energy());
618  if (mE_80) mE_80->Fill (jet->energy());
619  if (mP) mP->Fill (jet->p());
620  if (mP_80) mP_80->Fill (jet->p());
621  if (mPt) mPt->Fill (jet->pt());
622  if (mPt_80) mPt_80->Fill (jet->pt());
623  if (mMass) mMass->Fill (jet->mass());
624  if (mMass_80) mMass_80->Fill (jet->mass());
625  if (mConstituents) mConstituents->Fill (jet->nConstituents());
626  if (mConstituents_80) mConstituents_80->Fill (jet->nConstituents());
627  if (jet == caloJets->begin ()) { // first jet
628  if (mEtaFirst) mEtaFirst->Fill (jet->eta());
629  if (mPhiFirst) mPhiFirst->Fill (jet->phi());
630  if (mPtFirst) mPtFirst->Fill (jet->pt());
631  if (mPtFirst_80) mPtFirst_80->Fill (jet->pt());
632  if (mPtFirst_3000) mPtFirst_3000->Fill (jet->pt());
633  }
634  if (jetIndex == 0) {
635  nJet++;
636  p4tmp[0] = jet->p4();
637  }
638  if (jetIndex == 1) {
639  nJet++;
640  p4tmp[1] = jet->p4();
641  }
642 
643  if (mMaxEInEmTowers) mMaxEInEmTowers->Fill (jet->maxEInEmTowers());
644  if (mMaxEInHadTowers) mMaxEInHadTowers->Fill (jet->maxEInHadTowers());
645  if (mHadEnergyInHO) mHadEnergyInHO->Fill (jet->hadEnergyInHO());
646  if (mHadEnergyInHO_80) mHadEnergyInHO_80->Fill (jet->hadEnergyInHO());
647  if (mHadEnergyInHO_3000) mHadEnergyInHO_3000->Fill (jet->hadEnergyInHO());
648  if (mHadEnergyInHB) mHadEnergyInHB->Fill (jet->hadEnergyInHB());
649  if (mHadEnergyInHB_80) mHadEnergyInHB_80->Fill (jet->hadEnergyInHB());
650  if (mHadEnergyInHF) mHadEnergyInHF->Fill (jet->hadEnergyInHF());
651  if (mHadEnergyInHE) mHadEnergyInHE->Fill (jet->hadEnergyInHE());
652  if (mHadEnergyInHE_80) mHadEnergyInHE_80->Fill (jet->hadEnergyInHE());
653  if (mEmEnergyInEB) mEmEnergyInEB->Fill (jet->emEnergyInEB());
654  if (mEmEnergyInEB_80) mEmEnergyInEB_80->Fill (jet->emEnergyInEB());
655  if (mEmEnergyInEE) mEmEnergyInEE->Fill (jet->emEnergyInEE());
656  if (mEmEnergyInEE_80) mEmEnergyInEE_80->Fill (jet->emEnergyInEE());
657  if (mEmEnergyInHF) mEmEnergyInHF->Fill (jet->emEnergyInHF());
658  if (fabs(jet->eta())<1.5) mEnergyFractionHadronic_B->Fill (jet->energyFractionHadronic());
659  if (fabs(jet->eta())>1.5 && fabs(jet->eta())<3.0) mEnergyFractionHadronic_E->Fill (jet->energyFractionHadronic());
660  if (fabs(jet->eta())>3.0 && fabs(jet->eta())<6.0) mEnergyFractionHadronic_F->Fill (jet->energyFractionHadronic());
661  if (fabs(jet->eta())<1.5) mEnergyFractionEm_B->Fill (jet->emEnergyFraction());
662  if (fabs(jet->eta())>1.5 && fabs(jet->eta())<3.0) mEnergyFractionEm_E->Fill (jet->emEnergyFraction());
663  if (fabs(jet->eta())>3.0 && fabs(jet->eta())<6.0) mEnergyFractionEm_F->Fill (jet->emEnergyFraction());
664  if (mHFTotal) mHFTotal->Fill (jet->hadEnergyInHF()+jet->emEnergyInHF());
665  if (mHFTotal_80) mHFTotal_80->Fill (jet->hadEnergyInHF()+jet->emEnergyInHF());
666  if (mHFLong) mHFLong->Fill (jet->hadEnergyInHF()*0.5+jet->emEnergyInHF());
667  if (mHFLong_80) mHFLong_80->Fill (jet->hadEnergyInHF()*0.5+jet->emEnergyInHF());
668  if (mHFShort) mHFShort->Fill (jet->hadEnergyInHF()*0.5);
669  if (mHFShort_80) mHFShort_80->Fill (jet->hadEnergyInHF()*0.5);
670 
671 
672 
673  if (mN90) mN90->Fill (jet->n90());
674  /*
675  mJetEnergyProfile->Fill (jet->eta(), jet->phi(), jet->energy());
676  mHadJetEnergyProfile->Fill (jet->eta(), jet->phi(), jet->hadEnergyInHO()+jet->hadEnergyInHB()+jet->hadEnergyInHF()+jet->hadEnergyInHE());
677  mEMJetEnergyProfile->Fill (jet->eta(), jet->phi(), jet->emEnergyInEB()+jet->emEnergyInEE()+jet->emEnergyInHF());
678  */
679  }
680 
681 
682 
683  if (mNJetsEtaC) mNJetsEtaC->Fill( nJetC );
684  if (mNJetsEtaF) mNJetsEtaF->Fill( nJetF );
685 
686  if (nJet == 2) {
687  if (mMjj) mMjj->Fill( (p4tmp[0]+p4tmp[1]).mass() );
688  if (mMjj_3000) mMjj_3000->Fill( (p4tmp[0]+p4tmp[1]).mass() );
689  }
690 
691  // Count Jets above Pt cut
692  for (int istep = 0; istep < 100; ++istep) {
693  int njet = 0;
694  float ptStep = (istep * (200./100.));
695 
696  for ( CaloJetCollection::const_iterator cal = caloJets->begin(); cal != caloJets->end(); ++ cal ) {
697  if ( cal->pt() > ptStep ) njet++;
698  }
699  mNJets1->Fill( ptStep, njet );
700  }
701 
702  for (int istep = 0; istep < 100; ++istep) {
703  int njet = 0;
704  float ptStep = (istep * (4000./100.));
705  for ( CaloJetCollection::const_iterator cal = caloJets->begin(); cal != caloJets->end(); ++ cal ) {
706  if ( cal->pt() > ptStep ) njet++;
707  }
708  mNJets2->Fill( ptStep, njet );
709  }
710 
711 if (!mEvent.isRealData()){
712  // Gen jet analysis
713  Handle<GenJetCollection> genJets;
714  mEvent.getByLabel(mInputGenCollection, genJets);
715  if (!genJets.isValid()) return;
716  GenJetCollection::const_iterator gjet = genJets->begin ();
717  int gjetIndex = 0;
718  for (; gjet != genJets->end (); gjet++, gjetIndex++) {
719  if (mGenEta) mGenEta->Fill (gjet->eta());
720  if (mGenPhi) mGenPhi->Fill (gjet->phi());
721  if (mGenPt) mGenPt->Fill (gjet->pt());
722  if (mGenPt_80) mGenPt_80->Fill (gjet->pt());
723  if (gjet == genJets->begin ()) { // first jet
724  if (mGenEtaFirst) mGenEtaFirst->Fill (gjet->eta());
725  if (mGenPhiFirst) mGenPhiFirst->Fill (gjet->phi());
726  }
727  }
728 
729 
730  // now match CaloJets to GenJets
731  JetMatchingTools jetMatching (mEvent);
732  if (!(mInputGenCollection.label().empty())) {
733  // Handle<GenJetCollection> genJets;
734  // mEvent.getByLabel(mInputGenCollection, genJets);
735 
736  std::vector <std::vector <const reco::GenParticle*> > genJetConstituents (genJets->size());
737  std::vector <std::vector <const reco::GenParticle*> > caloJetConstituents (caloJets->size());
738  if (mRThreshold > 0) {
739  }
740  else {
741  for (unsigned iGenJet = 0; iGenJet < genJets->size(); ++iGenJet) {
742  genJetConstituents [iGenJet] = jetMatching.getGenParticles ((*genJets) [iGenJet]);
743  }
744 
745  for (unsigned iCaloJet = 0; iCaloJet < caloJets->size(); ++iCaloJet) {
746  caloJetConstituents [iCaloJet] = jetMatching.getGenParticles ((*caloJets) [iCaloJet], false);
747  }
748  }
749 
750  for (unsigned iGenJet = 0; iGenJet < genJets->size(); ++iGenJet) { //****************************************************************
751  //for (unsigned iGenJet = 0; iGenJet < 1; ++iGenJet) { // only FIRST Jet !!!!
752  const GenJet& genJet = (*genJets) [iGenJet];
753  double genJetPt = genJet.pt();
754 
755  //std::cout << iGenJet <<". Genjet: pT = " << genJetPt << "GeV" << std::endl; // *****************************************************
756 
757  if (fabs(genJet.eta()) > 6.) continue; // out of detector
758  if (genJetPt < mMatchGenPtThreshold) continue; // no low momentum
759  //double logPtGen = log10 (genJetPt);
760  //mAllGenJetsPt->Fill (logPtGen);
761  //mAllGenJetsEta->Fill (logPtGen, genJet.eta());
762  if (caloJets->size() <= 0) continue; // no CaloJets - nothing to match
763  if (mRThreshold > 0) {
764  unsigned iCaloJetBest = 0;
765  double deltaRBest = 999.;
766  for (unsigned iCaloJet = 0; iCaloJet < caloJets->size(); ++iCaloJet) {
767  double dR = deltaR (genJet.eta(), genJet.phi(), (*caloJets) [iCaloJet].eta(), (*caloJets) [iCaloJet].phi());
768  if (deltaRBest < mRThreshold && dR < mRThreshold && genJet.pt() > 5.) {
769  /*
770  std::cout << "Yet another matched jet for GenJet pt=" << genJet.pt()
771  << " previous CaloJet pt/dr: " << (*caloJets) [iCaloJetBest].pt() << '/' << deltaRBest
772  << " new CaloJet pt/dr: " << (*caloJets) [iCaloJet].pt() << '/' << dR
773  << std::endl;
774  */
775  }
776  if (dR < deltaRBest) {
777  iCaloJetBest = iCaloJet;
778  deltaRBest = dR;
779  }
780  }
781  if (mTurnOnEverything.compare("yes")==0) {
782  //mRMatch->Fill (logPtGen, genJet.eta(), deltaRBest);
783  }
784  if (deltaRBest < mRThreshold) { // Matched
785  fillMatchHists (genJet, (*caloJets) [iCaloJetBest]);
786  }
787  }
788  else {
789  unsigned iCaloJetBest = 0;
790  double energyFractionBest = 0.;
791  for (unsigned iCaloJet = 0; iCaloJet < caloJets->size(); ++iCaloJet) {
792  double energyFraction = jetMatching.overlapEnergyFraction (genJetConstituents [iGenJet],
793  caloJetConstituents [iCaloJet]);
794  if (energyFraction > energyFractionBest) {
795  iCaloJetBest = iCaloJet;
796  energyFractionBest = energyFraction;
797  }
798  }
799  if (mTurnOnEverything.compare("yes")==0) {
800  //mGenJetMatchEnergyFraction->Fill (logPtGen, genJet.eta(), energyFractionBest);
801  }
802  if (energyFractionBest > mGenEnergyFractionThreshold) { // good enough
803  double reverseEnergyFraction = jetMatching.overlapEnergyFraction (caloJetConstituents [iCaloJetBest],
804  genJetConstituents [iGenJet]);
805  if (mTurnOnEverything.compare("yes")==0) {
806  //mReverseMatchEnergyFraction->Fill (logPtGen, genJet.eta(), reverseEnergyFraction);
807  }
808  if (reverseEnergyFraction > mReverseEnergyFractionThreshold) { // Matched
809  fillMatchHists (genJet, (*caloJets) [iCaloJetBest]);
810  }
811  }
812  }
813  }
814  }
815 }
816 
817 }
MonitorElement * mE_80
MonitorElement * mHadEnergyInHB_80
void getManyByType(std::vector< Handle< PROD > > &results) const
Definition: Event.h:408
MonitorElement * mNJetsEtaF
MonitorElement * mHadEnergyInHO_80
MonitorElement * mHadEnergyInHO
int i
Definition: DBlmapReader.cc:9
MonitorElement * mHadEnergyInHE
MonitorElement * mPt
MonitorElement * mPtFirst_3000
MonitorElement * mRho
MonitorElement * mNJets2
MonitorElement * mGenEtaFirst
MonitorElement * mHadEnergyInHF
MonitorElement * mHadEnergyInHE_80
MonitorElement * mHFTotal_80
MonitorElement * mHadEnergyInHB
std::vector< CaloTower >::const_iterator const_iterator
MonitorElement * mHadEnergyInHO_3000
MonitorElement * mPtFirst
MonitorElement * mHFShort
MonitorElement * mEmEnergyInEB_80
MonitorElement * mPhiFineBin
int njet
Definition: HydjetWrapper.h:91
bool isRealData() const
Definition: EventBase.h:60
virtual double eta() const
momentum pseudorapidity
MonitorElement * mEnergyFractionEm_F
MonitorElement * mEnergyFractionHadronic_E
MonitorElement * mMjj_3000
void Fill(long long x)
MonitorElement * mNJets1
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
Definition: LorentzVector.h:30
MonitorElement * mEtaFirst
MonitorElement * mMass_80
MonitorElement * mGenPhi
MonitorElement * mPhi
MonitorElement * mGenPt_80
MonitorElement * mPthat_80
int j
Definition: DBlmapReader.cc:9
MonitorElement * mGenPhiFirst
MonitorElement * mEtaFineBin
Jets made from MC generator particles.
Definition: GenJet.h:25
MonitorElement * mEmTiming
MonitorElement * mP_80
MonitorElement * mConstituents
MonitorElement * mEmEnergyInEE
MonitorElement * mGenEta
bool isValid() const
Definition: HandleBase.h:76
MonitorElement * mConstituents_80
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:356
MonitorElement * mHFShort_80
MonitorElement * mNJetsEtaC
MonitorElement * numberofevents
MonitorElement * mPhiFirst
double deltaR(double eta1, double eta2, double phi1, double phi2)
Definition: TreeUtility.cc:17
MonitorElement * mMaxEInEmTowers
MonitorElement * mMass
MonitorElement * mEmEnergyInEB
MonitorElement * mEnergyFractionHadronic_F
virtual double pt() const
transverse momentum
std::string const & label() const
Definition: InputTag.h:25
MonitorElement * mEta
edm::InputTag mInputCollection
MonitorElement * mEmEnergyInEE_80
MonitorElement * mEnergyFractionEm_E
MonitorElement * mjetArea
void fillMatchHists(const reco::GenJet &fGenJet, const reco::CaloJet &fCaloJet)
tuple mass
Definition: scaleCards.py:27
MonitorElement * mPthat_3000
MonitorElement * mHadTiming
MonitorElement * mGenPt
MonitorElement * mMaxEInHadTowers
MonitorElement * mEmEnergyInHF
MonitorElement * mPtFirst_80
MonitorElement * mEnergyFractionHadronic_B
MonitorElement * mPt_80
MonitorElement * mHFLong
virtual double phi() const
momentum azimuthal angle
MonitorElement * mHFLong_80
MonitorElement * mHFTotal
edm::InputTag mInputGenCollection
MonitorElement * mEnergyFractionEm_B
void CaloJetTesterUnCorr::beginJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 388 of file CaloJetTesterUnCorr.cc.

388  {
389 }
void CaloJetTesterUnCorr::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 391 of file CaloJetTesterUnCorr.cc.

References mOutputFile.

void CaloJetTesterUnCorr::fillMatchHists ( const reco::GenJet fGenJet,
const reco::CaloJet fCaloJet 
)
private

Definition at line 819 of file CaloJetTesterUnCorr.cc.

References reco::LeafCandidate::energy(), reco::LeafCandidate::eta(), MonitorElement::Fill(), mDelEta, mDelPhi, mDelPt, mDeltaEta, mDeltaPhi, mEScale_pt10, mEScaleFineBin, mpTScale1DB_1500_3500, mpTScale1DB_200_600, mpTScale1DB_30_200, mpTScale1DB_600_1500, mpTScale1DE_1500_3500, mpTScale1DE_200_600, mpTScale1DE_30_200, mpTScale1DE_600_1500, mpTScale1DF_1500_3500, mpTScale1DF_200_600, mpTScale1DF_30_200, mpTScale1DF_600_1500, mpTScale_1500_3500_d, mpTScale_200_600_d, mpTScale_30_200_d, mpTScale_600_1500_d, mpTScaleB_d, mpTScaleE_d, mpTScaleF_d, mpTScalePhiB_d, mpTScalePhiE_d, mpTScalePhiF_d, mTurnOnEverything, reco::LeafCandidate::phi(), and reco::LeafCandidate::pt().

Referenced by analyze().

819  {
820  double logPtGen = log10 (fGenJet.pt());
821  double PtGen = fGenJet.pt();
822  double PtCalo = fCaloJet.pt();
823  //mMatchedGenJetsPt->Fill (logPtGen);
824  //mMatchedGenJetsEta->Fill (logPtGen, fGenJet.eta());
825 
826  double PtThreshold = 10.;
827 
828  if (mTurnOnEverything.compare("yes")==0) {
829  mDeltaEta->Fill (logPtGen, fGenJet.eta(), fCaloJet.eta()-fGenJet.eta());
830  mDeltaPhi->Fill (logPtGen, fGenJet.eta(), fCaloJet.phi()-fGenJet.phi());
831  //mEScale->Fill (logPtGen, fGenJet.eta(), fCaloJet.energy()/fGenJet.energy());
832  //mlinEScale->Fill (fGenJet.pt(), fGenJet.eta(), fCaloJet.energy()/fGenJet.energy());
833  //mDeltaE->Fill (logPtGen, fGenJet.eta(), fCaloJet.energy()-fGenJet.energy());
834 
835  mEScaleFineBin->Fill (logPtGen, fGenJet.eta(), fCaloJet.energy()/fGenJet.energy());
836 
837  if (fGenJet.pt()>PtThreshold) {
838  mEScale_pt10->Fill (logPtGen, fGenJet.eta(), fCaloJet.energy()/fGenJet.energy());
839 
840  }
841 
842  }
843  if (fCaloJet.pt() > PtThreshold) {
844  mDelEta->Fill (fGenJet.eta()-fCaloJet.eta());
845  mDelPhi->Fill (fGenJet.phi()-fCaloJet.phi());
846  mDelPt->Fill ((fGenJet.pt()-fCaloJet.pt())/fGenJet.pt());
847  }
848 
849  if (fabs(fGenJet.eta())<1.5) {
850 
851  //mpTScaleB_s->Fill (log10(PtGen), PtCalo/PtGen);
852  mpTScaleB_d->Fill (log10(PtGen), PtCalo/PtGen);
853  mpTScalePhiB_d->Fill (fGenJet.phi(), PtCalo/PtGen);
854 
855  if (PtGen>30.0 && PtGen<200.0) {
856  mpTScale1DB_30_200->Fill (fCaloJet.pt()/fGenJet.pt());
857  }
858  if (PtGen>200.0 && PtGen<600.0) {
859  mpTScale1DB_200_600->Fill (fCaloJet.pt()/fGenJet.pt());
860  }
861  if (PtGen>600.0 && PtGen<1500.0) {
862  mpTScale1DB_600_1500->Fill (fCaloJet.pt()/fGenJet.pt());
863  }
864  if (PtGen>1500.0 && PtGen<3500.0) {
865  mpTScale1DB_1500_3500->Fill (fCaloJet.pt()/fGenJet.pt());
866  }
867 
868  }
869 
870  if (fabs(fGenJet.eta())>1.5 && fabs(fGenJet.eta())<3.0) {
871 
872  //mpTScaleE_s->Fill (log10(PtGen), PtCalo/PtGen);
873  mpTScaleE_d->Fill (log10(PtGen), PtCalo/PtGen);
874  mpTScalePhiE_d->Fill (fGenJet.phi(), PtCalo/PtGen);
875 
876  if (PtGen>30.0 && PtGen<200.0) {
877  mpTScale1DE_30_200->Fill (fCaloJet.pt()/fGenJet.pt());
878  }
879  if (PtGen>200.0 && PtGen<600.0) {
880  mpTScale1DE_200_600->Fill (fCaloJet.pt()/fGenJet.pt());
881  }
882  if (PtGen>600.0 && PtGen<1500.0) {
883  mpTScale1DE_600_1500->Fill (fCaloJet.pt()/fGenJet.pt());
884  }
885  if (PtGen>1500.0 && PtGen<3500.0) {
886  mpTScale1DE_1500_3500->Fill (fCaloJet.pt()/fGenJet.pt());
887  }
888 
889  }
890 
891  if (fabs(fGenJet.eta())>3.0 && fabs(fGenJet.eta())<6.0) {
892 
893  //mpTScaleF_s->Fill (log10(PtGen), PtCalo/PtGen);
894  mpTScaleF_d->Fill (log10(PtGen), PtCalo/PtGen);
895  mpTScalePhiF_d->Fill (fGenJet.phi(), PtCalo/PtGen);
896 
897  if (PtGen>30.0 && PtGen<200.0) {
898  mpTScale1DF_30_200->Fill (fCaloJet.pt()/fGenJet.pt());
899  }
900  if (PtGen>200.0 && PtGen<600.0) {
901  mpTScale1DF_200_600->Fill (fCaloJet.pt()/fGenJet.pt());
902  }
903  if (PtGen>600.0 && PtGen<1500.0) {
904  mpTScale1DF_600_1500->Fill (fCaloJet.pt()/fGenJet.pt());
905  }
906  if (PtGen>1500.0 && PtGen<3500.0) {
907  mpTScale1DF_1500_3500->Fill (fCaloJet.pt()/fGenJet.pt());
908  }
909 
910  }
911 
912  if (fGenJet.pt()>30.0 && fGenJet.pt()<200.0) {
913  //mpTScale_30_200_s->Fill (fGenJet.eta(),fCaloJet.pt()/fGenJet.pt());
914  mpTScale_30_200_d->Fill (fGenJet.eta(),fCaloJet.pt()/fGenJet.pt());
915  //mpTScale1D_30_200->Fill (fCaloJet.pt()/fGenJet.pt());
916  }
917 
918  if (fGenJet.pt()>200.0 && fGenJet.pt()<600.0) {
919  //mpTScale_200_600_s->Fill (fGenJet.eta(),fCaloJet.pt()/fGenJet.pt());
920  mpTScale_200_600_d->Fill (fGenJet.eta(),fCaloJet.pt()/fGenJet.pt());
921  //mpTScale1D_200_600->Fill (fCaloJet.pt()/fGenJet.pt());
922  }
923 
924  if (fGenJet.pt()>600.0 && fGenJet.pt()<1500.0) {
925  //mpTScale_600_1500_s->Fill (fGenJet.eta(),fCaloJet.pt()/fGenJet.pt());
926  mpTScale_600_1500_d->Fill (fGenJet.eta(),fCaloJet.pt()/fGenJet.pt());
927  //mpTScale1D_600_1500->Fill (fCaloJet.pt()/fGenJet.pt());
928  }
929 
930  if (fGenJet.pt()>1500.0 && fGenJet.pt()<3500.0) {
931  //mpTScale_1500_3500_s->Fill (fGenJet.eta(),fCaloJet.pt()/fGenJet.pt());
932  mpTScale_1500_3500_d->Fill (fGenJet.eta(),fCaloJet.pt()/fGenJet.pt());
933  //mpTScale1D_1500_3500->Fill (fCaloJet.pt()/fGenJet.pt());
934  }
935 
936 
937 
938 }
MonitorElement * mpTScale1DE_200_600
MonitorElement * mDeltaPhi
MonitorElement * mpTScaleB_d
MonitorElement * mpTScalePhiB_d
MonitorElement * mpTScaleF_d
MonitorElement * mpTScale1DE_600_1500
MonitorElement * mpTScale1DB_30_200
MonitorElement * mpTScale_1500_3500_d
virtual double eta() const
momentum pseudorapidity
MonitorElement * mpTScale1DE_30_200
MonitorElement * mpTScaleE_d
MonitorElement * mpTScale1DF_1500_3500
void Fill(long long x)
MonitorElement * mpTScale1DB_1500_3500
MonitorElement * mDelPt
virtual double energy() const
energy
MonitorElement * mpTScale1DF_200_600
MonitorElement * mpTScale1DF_600_1500
MonitorElement * mpTScale1DE_1500_3500
MonitorElement * mpTScale_30_200_d
MonitorElement * mDeltaEta
MonitorElement * mEScaleFineBin
MonitorElement * mpTScale1DF_30_200
MonitorElement * mpTScale_200_600_d
virtual double pt() const
transverse momentum
MonitorElement * mpTScalePhiF_d
MonitorElement * mEScale_pt10
MonitorElement * mDelEta
MonitorElement * mpTScale1DB_200_600
MonitorElement * mDelPhi
MonitorElement * mpTScale_600_1500_d
MonitorElement * mpTScalePhiE_d
virtual double phi() const
momentum azimuthal angle
MonitorElement * mpTScale1DB_600_1500

Member Data Documentation

std::string CaloJetTesterUnCorr::inputCaloMETLabel_
private

Definition at line 45 of file CaloJetTesterUnCorr.h.

std::string CaloJetTesterUnCorr::inputGenMETLabel_
private

Definition at line 44 of file CaloJetTesterUnCorr.h.

edm::InputTag CaloJetTesterUnCorr::inputMETLabel_
private

Definition at line 42 of file CaloJetTesterUnCorr.h.

std::string CaloJetTesterUnCorr::JetCorrectionService
private

Definition at line 232 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mAllGenJetsEta
private

Definition at line 171 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mAllGenJetsPt
private

Definition at line 169 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mCaloMET
private

Definition at line 249 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mCaloMET_3000
private

Definition at line 250 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mCaloMETPhi
private

Definition at line 251 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mCaloMETSig
private

Definition at line 254 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mCaloMETSig_3000
private

Definition at line 255 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mCaloMEx
private

Definition at line 245 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mCaloMEx_3000
private

Definition at line 246 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mCaloMEy
private

Definition at line 247 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mCaloMEy_3000
private

Definition at line 248 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mCaloSumET
private

Definition at line 252 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mCaloSumET_3000
private

Definition at line 253 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mConstituents
private

Definition at line 73 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mConstituents_3000
private

Definition at line 75 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mConstituents_80
private

Definition at line 74 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mCorrJetEta
private

Definition at line 83 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mCorrJetPhi
private

Definition at line 84 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mCorrJetPt
private

Definition at line 80 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mCorrJetPt_3000
private

Definition at line 82 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mCorrJetPt_80
private

Definition at line 81 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mDelEta
private

Definition at line 222 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mDelPhi
private

Definition at line 223 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mDelPt
private

Definition at line 224 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mDeltaE
private

Definition at line 180 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mDeltaEta
private

Definition at line 176 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mDeltaPhi
private

Definition at line 177 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mE
private

Definition at line 61 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mE_3000
private

Definition at line 63 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mE_80
private

Definition at line 62 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mEBEne
private

Definition at line 266 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEBTime
private

Definition at line 267 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEEEne
private

Definition at line 268 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEETime
private

Definition at line 269 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEFirst
private

Definition at line 99 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEFirst_3000
private

Definition at line 101 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEFirst_80
private

Definition at line 100 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEmEnergyInEB
private

Definition at line 129 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mEmEnergyInEB_3000
private

Definition at line 134 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEmEnergyInEB_80
private

Definition at line 132 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mEmEnergyInEE
private

Definition at line 130 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mEmEnergyInEE_3000
private

Definition at line 135 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEmEnergyInEE_80
private

Definition at line 133 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mEmEnergyInHF
private

Definition at line 131 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mEmEnergyProfile
private

Definition at line 239 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEMJetEnergyProfile
private

Definition at line 242 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEmTiming
private

Definition at line 77 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mEnergyFractionEm_B
private

Definition at line 139 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mEnergyFractionEm_E
private

Definition at line 140 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mEnergyFractionEm_F
private

Definition at line 141 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mEnergyFractionHadronic_B
private

Definition at line 136 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mEnergyFractionHadronic_E
private

Definition at line 137 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mEnergyFractionHadronic_F
private

Definition at line 138 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mEScale
private

Definition at line 178 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEScale_pt10
private

Definition at line 182 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mEScaleFineBin
private

Definition at line 183 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mEta
private

Definition at line 51 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mEtaFineBin
private

Definition at line 52 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mEtaFineBin1m
private

Definition at line 56 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEtaFineBin1p
private

Definition at line 53 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEtaFineBin2m
private

Definition at line 57 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEtaFineBin2p
private

Definition at line 54 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEtaFineBin3m
private

Definition at line 58 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEtaFineBin3p
private

Definition at line 55 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mEtaFirst
private

Definition at line 97 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

std::string CaloJetTesterUnCorr::METType_
private

Definition at line 43 of file CaloJetTesterUnCorr.h.

double CaloJetTesterUnCorr::mGenEnergyFractionThreshold
private

Definition at line 228 of file CaloJetTesterUnCorr.h.

Referenced by analyze().

MonitorElement* CaloJetTesterUnCorr::mGenEta
private

Definition at line 158 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mGenEtaFirst
private

Definition at line 165 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mGenJetMatchEnergyFraction
private

Definition at line 173 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mGenPhi
private

Definition at line 159 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mGenPhiFirst
private

Definition at line 166 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mGenPt
private

Definition at line 160 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mGenPt_3000
private

Definition at line 162 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mGenPt_80
private

Definition at line 161 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHadEnergyInHB
private

Definition at line 120 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHadEnergyInHB_3000
private

Definition at line 127 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mHadEnergyInHB_80
private

Definition at line 124 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHadEnergyInHE
private

Definition at line 122 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHadEnergyInHE_3000
private

Definition at line 128 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mHadEnergyInHE_80
private

Definition at line 125 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHadEnergyInHF
private

Definition at line 121 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHadEnergyInHO
private

Definition at line 119 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHadEnergyInHO_3000
private

Definition at line 126 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHadEnergyInHO_80
private

Definition at line 123 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHadEnergyProfile
private

Definition at line 238 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mHadJetEnergyProfile
private

Definition at line 241 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mHadTiming
private

Definition at line 76 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHBEne
private

Definition at line 258 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mHBTime
private

Definition at line 259 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mHEEne
private

Definition at line 260 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mHETime
private

Definition at line 261 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mHFEne
private

Definition at line 264 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mHFLong
private

Definition at line 145 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHFLong_3000
private

Definition at line 147 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mHFLong_80
private

Definition at line 146 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHFShort
private

Definition at line 148 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHFShort_3000
private

Definition at line 150 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mHFShort_80
private

Definition at line 149 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHFTime
private

Definition at line 265 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mHFTotal
private

Definition at line 142 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHFTotal_3000
private

Definition at line 144 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mHFTotal_80
private

Definition at line 143 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mHOEne
private

Definition at line 262 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mHOTime
private

Definition at line 263 of file CaloJetTesterUnCorr.h.

edm::InputTag CaloJetTesterUnCorr::mInputCollection
private

Definition at line 38 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

edm::InputTag CaloJetTesterUnCorr::mInputGenCollection
private

Definition at line 39 of file CaloJetTesterUnCorr.h.

Referenced by analyze().

MonitorElement* CaloJetTesterUnCorr::mjetArea
private

Definition at line 93 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mJetEnergyProfile
private

Definition at line 240 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mlinEScale
private

Definition at line 179 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mMass
private

Definition at line 70 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mMass_3000
private

Definition at line 72 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mMass_80
private

Definition at line 71 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mMatchedGenJetsEta
private

Definition at line 172 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mMatchedGenJetsPt
private

Definition at line 170 of file CaloJetTesterUnCorr.h.

double CaloJetTesterUnCorr::mMatchGenPtThreshold
private

Definition at line 227 of file CaloJetTesterUnCorr.h.

Referenced by analyze().

MonitorElement* CaloJetTesterUnCorr::mMaxEInEmTowers
private

Definition at line 117 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mMaxEInHadTowers
private

Definition at line 118 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mMjj
private

Definition at line 113 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mMjj_3000
private

Definition at line 114 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mN90
private

Definition at line 151 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mNJets1
private

Definition at line 109 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mNJets2
private

Definition at line 110 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mNJetsEtaC
private

Definition at line 106 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mNJetsEtaF
private

Definition at line 107 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

std::string CaloJetTesterUnCorr::mOutputFile
private

Definition at line 41 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and endJob().

MonitorElement* CaloJetTesterUnCorr::mP
private

Definition at line 64 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mP_3000
private

Definition at line 66 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mP_80
private

Definition at line 65 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mPhi
private

Definition at line 59 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mPhiFineBin
private

Definition at line 60 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mPhiFirst
private

Definition at line 98 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mPt
private

Definition at line 67 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mPt_3000
private

Definition at line 69 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mPt_80
private

Definition at line 68 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mPtFirst
private

Definition at line 102 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mPtFirst_3000
private

Definition at line 104 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mPtFirst_80
private

Definition at line 103 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mPthat_3000
private

Definition at line 155 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mPthat_80
private

Definition at line 154 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mpTRatio
private

Definition at line 85 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTRatio_1500_3500_d
private

Definition at line 92 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTRatio_200_600_d
private

Definition at line 90 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTRatio_30_200_d
private

Definition at line 89 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTRatio_600_1500_d
private

Definition at line 91 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTRatioB_d
private

Definition at line 86 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTRatioE_d
private

Definition at line 87 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTRatioF_d
private

Definition at line 88 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTScale1D_1500_3500
private

Definition at line 220 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTScale1D_200_600
private

Definition at line 218 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTScale1D_30_200
private

Definition at line 217 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTScale1D_600_1500
private

Definition at line 219 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTScale1DB_1500_3500
private

Definition at line 214 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale1DB_200_600
private

Definition at line 208 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale1DB_30_200
private

Definition at line 205 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale1DB_600_1500
private

Definition at line 211 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale1DE_1500_3500
private

Definition at line 215 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale1DE_200_600
private

Definition at line 209 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale1DE_30_200
private

Definition at line 206 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale1DE_600_1500
private

Definition at line 212 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale1DF_1500_3500
private

Definition at line 216 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale1DF_200_600
private

Definition at line 210 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale1DF_30_200
private

Definition at line 207 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale1DF_600_1500
private

Definition at line 213 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale_1500_3500_d
private

Definition at line 203 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale_1500_3500_s
private

Definition at line 198 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTScale_200_600_d
private

Definition at line 201 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale_200_600_s
private

Definition at line 196 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTScale_30_200_d
private

Definition at line 200 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale_30_200_s
private

Definition at line 195 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTScale_600_1500_d
private

Definition at line 202 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScale_600_1500_s
private

Definition at line 197 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTScaleB_d
private

Definition at line 188 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScaleB_s
private

Definition at line 185 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTScaleE_d
private

Definition at line 189 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScaleE_s
private

Definition at line 186 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTScaleF_d
private

Definition at line 190 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScaleF_s
private

Definition at line 187 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mpTScalePhiB_d
private

Definition at line 191 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScalePhiE_d
private

Definition at line 192 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::mpTScalePhiF_d
private

Definition at line 193 of file CaloJetTesterUnCorr.h.

Referenced by CaloJetTesterUnCorr(), and fillMatchHists().

double CaloJetTesterUnCorr::mReverseEnergyFractionThreshold
private

Definition at line 229 of file CaloJetTesterUnCorr.h.

Referenced by analyze().

MonitorElement* CaloJetTesterUnCorr::mReverseMatchEnergyFraction
private

Definition at line 174 of file CaloJetTesterUnCorr.h.

MonitorElement* CaloJetTesterUnCorr::mRho
private

Definition at line 94 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

MonitorElement* CaloJetTesterUnCorr::mRMatch
private

Definition at line 175 of file CaloJetTesterUnCorr.h.

double CaloJetTesterUnCorr::mRThreshold
private

Definition at line 230 of file CaloJetTesterUnCorr.h.

Referenced by analyze().

std::string CaloJetTesterUnCorr::mTurnOnEverything
private

Definition at line 235 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), CaloJetTesterUnCorr(), and fillMatchHists().

MonitorElement* CaloJetTesterUnCorr::numberofevents
private

Definition at line 48 of file CaloJetTesterUnCorr.h.

Referenced by analyze(), and CaloJetTesterUnCorr().

edm::InputTag CaloJetTesterUnCorr::rho_tag_
private

Definition at line 40 of file CaloJetTesterUnCorr.h.

Referenced by analyze().