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
JPTJetTesterUnCorr Class Reference

#include <JPTJetTesterUnCorr.h>

Inheritance diagram for JPTJetTesterUnCorr:
edm::EDAnalyzer

Public Member Functions

virtual void analyze (const edm::Event &, const edm::EventSetup &)
 
virtual void beginJob ()
 
virtual void endJob ()
 
 JPTJetTesterUnCorr (const edm::ParameterSet &)
 
 ~JPTJetTesterUnCorr ()
 
- 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::JPTJet &fJPTJet)
 
double getSumPt (const reco::TrackRefVector &tracks)
 

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
 
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
 
MonitorElementmEmEnergyProfile
 
MonitorElementmEmTiming
 
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
 
MonitorElementmHadEnergyProfile
 
MonitorElementmHadTiming
 
MonitorElementmHBEne
 
MonitorElementmHBTime
 
MonitorElementmHEEne
 
MonitorElementmHETime
 
MonitorElementmHFEne
 
MonitorElementmHFTime
 
MonitorElementmHOEne
 
MonitorElementmHOTime
 
edm::InputTag mInputCollection
 
edm::InputTag mInputGenCollection
 
MonitorElementmjetArea
 
MonitorElementmJetEnergyProfile
 
MonitorElementmlinEScale
 
MonitorElementmMass
 
MonitorElementmMass_3000
 
MonitorElementmMass_80
 
MonitorElementmMatchedGenJetsEta
 
MonitorElementmMatchedGenJetsPt
 
double mMatchGenPtThreshold
 
MonitorElementmMjj
 
MonitorElementmMjj_3000
 
MonitorElementmMultiplicityElecInVertexInCalo
 
MonitorElementmMultiplicityElecInVertexOutCalo
 
MonitorElementmMultiplicityElecOutVertexInCalo
 
MonitorElementmMultiplicityMuonInVertexInCalo
 
MonitorElementmMultiplicityMuonInVertexOutCalo
 
MonitorElementmMultiplicityMuonOutVertexInCalo
 
MonitorElementmMultiplicityPionInVertexInCalo
 
MonitorElementmMultiplicityPionInVertexOutCalo
 
MonitorElementmMultiplicityPionOutVertexInCalo
 
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
 
MonitorElementmPtFractionElecInVertexInCalo
 
MonitorElementmPtFractionElecInVertexOutCalo
 
MonitorElementmPtFractionElecOutVertexInCalo
 
MonitorElementmPtFractionMuonInVertexInCalo
 
MonitorElementmPtFractionMuonInVertexOutCalo
 
MonitorElementmPtFractionMuonOutVertexInCalo
 
MonitorElementmPtFractionPionInVertexInCalo
 
MonitorElementmPtFractionPionInVertexOutCalo
 
MonitorElementmPtFractionPionOutVertexInCalo
 
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
 
MonitorElementmRMatch
 
double mRThreshold
 
std::string mTurnOnEverything
 
MonitorElementnumberofevents
 

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 JPTJetTesterUnCorr.h.

Constructor & Destructor Documentation

JPTJetTesterUnCorr::JPTJetTesterUnCorr ( const edm::ParameterSet iConfig)

Definition at line 49 of file JPTJetTesterUnCorr.cc.

References DQMStore::book1D(), DQMStore::bookProfile(), MuonErrorMatrixValues_cff::etaRange, edm::InputTag::label(), mDelEta, mDelPhi, mDelPt, mDeltaEta, mDeltaPhi, mE, mE_80, mEmEnergyProfile, mEmTiming, mEScale_pt10, mEScaleFineBin, mEta, mEtaFineBin, mEtaFirst, mGenEta, mGenEtaFirst, mGenPhi, mGenPhiFirst, mGenPt, mGenPt_80, mHadEnergyProfile, mHadTiming, mInputCollection, mJetEnergyProfile, mMass, mMass_80, mMjj, mMjj_3000, 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, mTurnOnEverything, numberofevents, and DQMStore::setCurrentFolder().

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

Definition at line 391 of file JPTJetTesterUnCorr.cc.

392 {
393 }

Member Function Documentation

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

Implements edm::EDAnalyzer.

Definition at line 403 of file JPTJetTesterUnCorr.cc.

References HiRecoJets_cff::caloTowers, deltaR(), PFRecoTauDiscriminationAgainstElectronDeadECAL_cfi::dR, reco::LeafCandidate::eta(), MonitorElement::Fill(), fillMatchHists(), edm::Event::getByLabel(), edm::Event::getManyByType(), i, edm::EventBase::isRealData(), edm::HandleBase::isValid(), j, metsig::jet, edm::InputTag::label(), scaleCards::mass, mE, mE_80, mEmTiming, mEta, mEtaFineBin, mEtaFirst, mGenEta, mGenEtaFirst, mGenPhi, mGenPhiFirst, mGenPt, mGenPt_80, mHadTiming, mInputCollection, mInputGenCollection, mMass, mMass_80, mMatchGenPtThreshold, mMjj, mMjj_3000, mNJets1, mNJets2, mNJetsEtaC, mNJetsEtaF, mP, mP_80, mPhi, mPhiFineBin, mPhiFirst, mPt, mPt_80, mPtFirst, mPtFirst_3000, mPtFirst_80, mPthat_3000, mPthat_80, mRThreshold, mTurnOnEverything, njet, numberofevents, reco::LeafCandidate::phi(), and reco::LeafCandidate::pt().

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

Reimplemented from edm::EDAnalyzer.

Definition at line 395 of file JPTJetTesterUnCorr.cc.

395  {
396 }
void JPTJetTesterUnCorr::endJob ( void  )
virtual

Reimplemented from edm::EDAnalyzer.

Definition at line 398 of file JPTJetTesterUnCorr.cc.

References mOutputFile.

void JPTJetTesterUnCorr::fillMatchHists ( const reco::GenJet fGenJet,
const reco::JPTJet fJPTJet 
)
private

Definition at line 825 of file JPTJetTesterUnCorr.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().

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

Definition at line 946 of file JPTJetTesterUnCorr.cc.

References edm::RefVector< C, T, F >::begin(), edm::RefVector< C, T, F >::end(), and reco::TrackBase::pt().

946  {
947 
948  double sumpt = 0.;
949 
950  for (reco::TrackRefVector::const_iterator itrack = tracks.begin(); itrack != tracks.end(); ++itrack){
951  const reco::Track& track = **itrack;
952  sumpt += track.pt();
953  }
954 
955  return sumpt;
956 
957 }
const_iterator end() const
Termination of iteration.
Definition: RefVector.h:249
const_iterator begin() const
Initialize an iterator over the RefVector.
Definition: RefVector.h:244
double pt() const
track transverse momentum
Definition: TrackBase.h:131

Member Data Documentation

std::string JPTJetTesterUnCorr::inputCaloMETLabel_
private

Definition at line 43 of file JPTJetTesterUnCorr.h.

std::string JPTJetTesterUnCorr::inputGenMETLabel_
private

Definition at line 42 of file JPTJetTesterUnCorr.h.

edm::InputTag JPTJetTesterUnCorr::inputMETLabel_
private

Definition at line 40 of file JPTJetTesterUnCorr.h.

std::string JPTJetTesterUnCorr::JetCorrectionService
private

Definition at line 251 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mAllGenJetsEta
private

Definition at line 190 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mAllGenJetsPt
private

Definition at line 188 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCaloMET
private

Definition at line 270 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCaloMET_3000
private

Definition at line 271 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCaloMETPhi
private

Definition at line 272 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCaloMETSig
private

Definition at line 275 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCaloMETSig_3000
private

Definition at line 276 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCaloMEx
private

Definition at line 266 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCaloMEx_3000
private

Definition at line 267 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCaloMEy
private

Definition at line 268 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCaloMEy_3000
private

Definition at line 269 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCaloSumET
private

Definition at line 273 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCaloSumET_3000
private

Definition at line 274 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCorrJetEta
private

Definition at line 81 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCorrJetPhi
private

Definition at line 82 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCorrJetPt
private

Definition at line 78 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCorrJetPt_3000
private

Definition at line 80 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mCorrJetPt_80
private

Definition at line 79 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mDelEta
private

Definition at line 241 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mDelPhi
private

Definition at line 242 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mDelPt
private

Definition at line 243 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mDeltaE
private

Definition at line 199 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mDeltaEta
private

Definition at line 195 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mDeltaPhi
private

Definition at line 196 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mE
private

Definition at line 59 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mE_3000
private

Definition at line 61 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mE_80
private

Definition at line 60 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mEBEne
private

Definition at line 287 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mEBTime
private

Definition at line 288 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mEEEne
private

Definition at line 289 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mEETime
private

Definition at line 290 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mEFirst
private

Definition at line 96 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mEFirst_3000
private

Definition at line 98 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mEFirst_80
private

Definition at line 97 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mEmEnergyProfile
private

Definition at line 258 of file JPTJetTesterUnCorr.h.

Referenced by JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mEmTiming
private

Definition at line 75 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mEScale
private

Definition at line 197 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mEScale_pt10
private

Definition at line 201 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mEScaleFineBin
private

Definition at line 202 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mEta
private

Definition at line 49 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mEtaFineBin
private

Definition at line 50 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mEtaFineBin1m
private

Definition at line 54 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mEtaFineBin1p
private

Definition at line 51 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mEtaFineBin2m
private

Definition at line 55 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mEtaFineBin2p
private

Definition at line 52 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mEtaFineBin3m
private

Definition at line 56 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mEtaFineBin3p
private

Definition at line 53 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mEtaFirst
private

Definition at line 94 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

std::string JPTJetTesterUnCorr::METType_
private

Definition at line 41 of file JPTJetTesterUnCorr.h.

double JPTJetTesterUnCorr::mGenEnergyFractionThreshold
private

Definition at line 247 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mGenEta
private

Definition at line 177 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mGenEtaFirst
private

Definition at line 184 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mGenJetMatchEnergyFraction
private

Definition at line 192 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mGenPhi
private

Definition at line 178 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mGenPhiFirst
private

Definition at line 185 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mGenPt
private

Definition at line 179 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mGenPt_3000
private

Definition at line 181 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mGenPt_80
private

Definition at line 180 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mHadEnergyProfile
private

Definition at line 257 of file JPTJetTesterUnCorr.h.

Referenced by JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mHadTiming
private

Definition at line 74 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mHBEne
private

Definition at line 279 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mHBTime
private

Definition at line 280 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mHEEne
private

Definition at line 281 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mHETime
private

Definition at line 282 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mHFEne
private

Definition at line 285 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mHFTime
private

Definition at line 286 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mHOEne
private

Definition at line 283 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mHOTime
private

Definition at line 284 of file JPTJetTesterUnCorr.h.

edm::InputTag JPTJetTesterUnCorr::mInputCollection
private

Definition at line 37 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

edm::InputTag JPTJetTesterUnCorr::mInputGenCollection
private

Definition at line 38 of file JPTJetTesterUnCorr.h.

Referenced by analyze().

MonitorElement* JPTJetTesterUnCorr::mjetArea
private

Definition at line 91 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mJetEnergyProfile
private

Definition at line 259 of file JPTJetTesterUnCorr.h.

Referenced by JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mlinEScale
private

Definition at line 198 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mMass
private

Definition at line 68 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mMass_3000
private

Definition at line 70 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mMass_80
private

Definition at line 69 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mMatchedGenJetsEta
private

Definition at line 191 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mMatchedGenJetsPt
private

Definition at line 189 of file JPTJetTesterUnCorr.h.

double JPTJetTesterUnCorr::mMatchGenPtThreshold
private

Definition at line 246 of file JPTJetTesterUnCorr.h.

Referenced by analyze().

MonitorElement* JPTJetTesterUnCorr::mMjj
private

Definition at line 110 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mMjj_3000
private

Definition at line 111 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mMultiplicityElecInVertexInCalo
private

Definition at line 135 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mMultiplicityElecInVertexOutCalo
private

Definition at line 136 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mMultiplicityElecOutVertexInCalo
private

Definition at line 137 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mMultiplicityMuonInVertexInCalo
private

Definition at line 131 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mMultiplicityMuonInVertexOutCalo
private

Definition at line 132 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mMultiplicityMuonOutVertexInCalo
private

Definition at line 133 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mMultiplicityPionInVertexInCalo
private

Definition at line 127 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mMultiplicityPionInVertexOutCalo
private

Definition at line 128 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mMultiplicityPionOutVertexInCalo
private

Definition at line 129 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mNJets1
private

Definition at line 106 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mNJets2
private

Definition at line 107 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mNJetsEtaC
private

Definition at line 103 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mNJetsEtaF
private

Definition at line 104 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

std::string JPTJetTesterUnCorr::mOutputFile
private

Definition at line 39 of file JPTJetTesterUnCorr.h.

Referenced by endJob(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mP
private

Definition at line 62 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mP_3000
private

Definition at line 64 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mP_80
private

Definition at line 63 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mPhi
private

Definition at line 57 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mPhiFineBin
private

Definition at line 58 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mPhiFirst
private

Definition at line 95 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mPt
private

Definition at line 65 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mPt_3000
private

Definition at line 67 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mPt_80
private

Definition at line 66 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mPtFirst
private

Definition at line 99 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mPtFirst_3000
private

Definition at line 101 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mPtFirst_80
private

Definition at line 100 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mPtFractionElecInVertexInCalo
private

Definition at line 122 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mPtFractionElecInVertexOutCalo
private

Definition at line 123 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mPtFractionElecOutVertexInCalo
private

Definition at line 124 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mPtFractionMuonInVertexInCalo
private

Definition at line 118 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mPtFractionMuonInVertexOutCalo
private

Definition at line 119 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mPtFractionMuonOutVertexInCalo
private

Definition at line 120 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mPtFractionPionInVertexInCalo
private

Definition at line 114 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mPtFractionPionInVertexOutCalo
private

Definition at line 115 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mPtFractionPionOutVertexInCalo
private

Definition at line 116 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mPthat_3000
private

Definition at line 174 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mPthat_80
private

Definition at line 173 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTRatio
private

Definition at line 83 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTRatio_1500_3500_d
private

Definition at line 90 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTRatio_200_600_d
private

Definition at line 88 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTRatio_30_200_d
private

Definition at line 87 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTRatio_600_1500_d
private

Definition at line 89 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTRatioB_d
private

Definition at line 84 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTRatioE_d
private

Definition at line 85 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTRatioF_d
private

Definition at line 86 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTScale1D_1500_3500
private

Definition at line 239 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTScale1D_200_600
private

Definition at line 237 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTScale1D_30_200
private

Definition at line 236 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTScale1D_600_1500
private

Definition at line 238 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTScale1DB_1500_3500
private

Definition at line 233 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale1DB_200_600
private

Definition at line 227 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale1DB_30_200
private

Definition at line 224 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale1DB_600_1500
private

Definition at line 230 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale1DE_1500_3500
private

Definition at line 234 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale1DE_200_600
private

Definition at line 228 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale1DE_30_200
private

Definition at line 225 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale1DE_600_1500
private

Definition at line 231 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale1DF_1500_3500
private

Definition at line 235 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale1DF_200_600
private

Definition at line 229 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale1DF_30_200
private

Definition at line 226 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale1DF_600_1500
private

Definition at line 232 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale_1500_3500_d
private

Definition at line 222 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale_1500_3500_s
private

Definition at line 217 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTScale_200_600_d
private

Definition at line 220 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale_200_600_s
private

Definition at line 215 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTScale_30_200_d
private

Definition at line 219 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale_30_200_s
private

Definition at line 214 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTScale_600_1500_d
private

Definition at line 221 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScale_600_1500_s
private

Definition at line 216 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTScaleB_d
private

Definition at line 207 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScaleB_s
private

Definition at line 204 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTScaleE_d
private

Definition at line 208 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScaleE_s
private

Definition at line 205 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTScaleF_d
private

Definition at line 209 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScaleF_s
private

Definition at line 206 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mpTScalePhiB_d
private

Definition at line 210 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScalePhiE_d
private

Definition at line 211 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

MonitorElement* JPTJetTesterUnCorr::mpTScalePhiF_d
private

Definition at line 212 of file JPTJetTesterUnCorr.h.

Referenced by fillMatchHists(), and JPTJetTesterUnCorr().

double JPTJetTesterUnCorr::mReverseEnergyFractionThreshold
private

Definition at line 248 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mReverseMatchEnergyFraction
private

Definition at line 193 of file JPTJetTesterUnCorr.h.

MonitorElement* JPTJetTesterUnCorr::mRMatch
private

Definition at line 194 of file JPTJetTesterUnCorr.h.

double JPTJetTesterUnCorr::mRThreshold
private

Definition at line 249 of file JPTJetTesterUnCorr.h.

Referenced by analyze().

std::string JPTJetTesterUnCorr::mTurnOnEverything
private

Definition at line 254 of file JPTJetTesterUnCorr.h.

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

MonitorElement* JPTJetTesterUnCorr::numberofevents
private

Definition at line 46 of file JPTJetTesterUnCorr.h.

Referenced by analyze(), and JPTJetTesterUnCorr().