#include <CaloJetTester.h>
Definition at line 23 of file CaloJetTester.h.
CaloJetTester::CaloJetTester | ( | const edm::ParameterSet & | iConfig | ) |
Definition at line 53 of file CaloJetTester.cc.
References DQMStore::book1D(), DQMStore::bookProfile(), doJetCorrection, MuonErrorMatrixValues_cff::etaRange, edm::ParameterSet::getParameter(), JetCorrectionService, edm::InputTag::label(), mConstituents, mConstituents_80, mCorrJetEta, mCorrJetPhi, mCorrJetPt, mCorrJetPt_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, mNJetsEtaF_30, mOutputFile, mP, mP_80, mPhi, mPhiFineBin, mPhiFirst, mPt, mPt_80, mPtFirst, mPtFirst_3000, mPtFirst_80, mPthat_3000, mPthat_80, mpTRatio, mpTRatio_1500_3500_d, mpTRatio_200_600_d, mpTRatio_30_200_d, mpTRatio_600_1500_d, mpTRatioB_d, mpTRatioE_d, mpTRatioF_d, mpTResponse, mpTResponse_1500_3500_d, mpTResponse_200_600_d, mpTResponse_30_200_d, mpTResponse_30_d, mpTResponse_600_1500_d, mpTResponse_nvtx_0_5, mpTResponse_nvtx_10_15, mpTResponse_nvtx_15_20, mpTResponse_nvtx_20_30, mpTResponse_nvtx_30_inf, mpTResponse_nvtx_5_10, mpTResponseB_d, mpTResponseE_d, mpTResponseF_d, 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, mpTScale_a, mpTScale_a_nvtx_0_5, mpTScale_a_nvtx_10_15, mpTScale_a_nvtx_15_20, mpTScale_a_nvtx_20_30, mpTScale_a_nvtx_30_inf, mpTScale_a_nvtx_5_10, mpTScale_b, mpTScale_b_nvtx_0_5, mpTScale_b_nvtx_10_15, mpTScale_b_nvtx_15_20, mpTScale_b_nvtx_20_30, mpTScale_b_nvtx_30_inf, mpTScale_b_nvtx_5_10, mpTScale_c, mpTScale_c_nvtx_0_5, mpTScale_c_nvtx_10_15, mpTScale_c_nvtx_15_20, mpTScale_c_nvtx_20_30, mpTScale_c_nvtx_30_inf, mpTScale_c_nvtx_5_10, mpTScale_nvtx_0_5, mpTScale_nvtx_10_15, mpTScale_nvtx_15_20, mpTScale_nvtx_20_30, mpTScale_nvtx_30_inf, mpTScale_nvtx_5_10, mpTScale_pT, mpTScaleB_d, mpTScaleE_d, mpTScaleF_d, mpTScalePhiB_d, mpTScalePhiE_d, mpTScalePhiF_d, mTurnOnEverything, numberofevents, nvtx_0_30, nvtx_0_60, DQMStore::setCurrentFolder(), and edm::ParameterSet::tbl().
: mInputCollection (iConfig.getParameter<edm::InputTag>( "src" )), mInputGenCollection (iConfig.getParameter<edm::InputTag>( "srcGen" )), mOutputFile (iConfig.getUntrackedParameter<std::string>("outputFile", "")), mMatchGenPtThreshold (iConfig.getParameter<double>("genPtThreshold")), mGenEnergyFractionThreshold (iConfig.getParameter<double>("genEnergyFractionThreshold")), mReverseEnergyFractionThreshold (iConfig.getParameter<double>("reverseEnergyFractionThreshold")), mRThreshold (iConfig.getParameter<double>("RThreshold")), // JetCorrectionService (iConfig.getParameter<std::string> ("JetCorrectionService" )), mTurnOnEverything (iConfig.getUntrackedParameter<std::string>("TurnOnEverything","")){ // Protection against missing corrections doJetCorrection=false; if (iConfig.tbl().find("JetCorrectionService")!=iConfig.tbl().end()){ doJetCorrection=true; JetCorrectionService =iConfig.getParameter<std::string>("JetCorrectionService"); } numberofevents = mEta = mEtaFineBin = mPhi = mPhiFineBin = mE = mE_80 = mP = mP_80 = mPt = mPt_80 = mMass = mMass_80 = mConstituents = mConstituents_80 = mEtaFirst = mPhiFirst = mPtFirst = mPtFirst_80 = mPtFirst_3000 = mMjj = mMjj_3000 = mDelEta = mDelPhi = mDelPt = mMaxEInEmTowers = mMaxEInHadTowers = mHadEnergyInHO = mHadEnergyInHB = mHadEnergyInHF = mHadEnergyInHE = mHadEnergyInHO_80 = mHadEnergyInHB_80 = mHadEnergyInHE_80 = mHadEnergyInHO_3000 = mEmEnergyInEB = mEmEnergyInEE = mEmEnergyInHF = mEmEnergyInEB_80 = mEmEnergyInEE_80 = mEnergyFractionHadronic_B = mEnergyFractionHadronic_E = mEnergyFractionHadronic_F = mEnergyFractionEm_B = mEnergyFractionEm_E = mEnergyFractionEm_F = mHFLong = mHFTotal = mHFLong_80 = mHFShort = mHFShort_80 = mN90 = mHadTiming = mEmTiming = mNJetsEtaC = mNJetsEtaF = mNJets1 = mNJets2 = mNJetsEtaF_30 = mDeltaEta = mDeltaPhi = mEScale_pt10 = mEScaleFineBin = mpTScaleB_d = mpTScaleE_d = mpTScaleF_d = mpTScalePhiB_d = mpTScalePhiE_d = mpTScalePhiF_d = mpTScale_30_200_d = mpTScale_200_600_d = mpTScale_600_1500_d = mpTScale_1500_3500_d = mpTScale1DB_30_200 = mpTScale1DE_30_200 = mpTScale1DF_30_200 = mpTScale1DB_200_600 = mpTScale1DE_200_600 = mpTScale1DF_200_600 = mpTScale1DB_600_1500 = mpTScale1DE_600_1500 = mpTScale1DF_600_1500 = mpTScale1DB_1500_3500 = mpTScale1DE_1500_3500 = mpTScale1DF_1500_3500 = mPthat_80 = mPthat_3000 //Corr Jet = mCorrJetPt =mCorrJetPt_80 =mCorrJetEta =mCorrJetPhi =mpTRatio =mpTResponse = mpTRatioB_d = mpTRatioE_d = mpTRatioF_d = mpTRatio_30_200_d = mpTRatio_200_600_d = mpTRatio_600_1500_d = mpTRatio_1500_3500_d = mpTResponseB_d = mpTResponseE_d = mpTResponseF_d = mpTResponse_30_200_d = mpTResponse_200_600_d = mpTResponse_600_1500_d = mpTResponse_1500_3500_d = mpTResponse_30_d =mjetArea = nvtx_0_30 = nvtx_0_60 = mpTResponse_nvtx_0_5 = mpTResponse_nvtx_5_10 =mpTResponse_nvtx_10_15 = mpTResponse_nvtx_15_20 = mpTResponse_nvtx_20_30 = mpTResponse_nvtx_30_inf = mpTScale_a_nvtx_0_5 = mpTScale_b_nvtx_0_5 = mpTScale_c_nvtx_0_5 = mpTScale_a_nvtx_5_10 = mpTScale_b_nvtx_5_10 = mpTScale_c_nvtx_5_10 = mpTScale_a_nvtx_10_15 = mpTScale_b_nvtx_10_15 = mpTScale_c_nvtx_10_15 = mpTScale_a_nvtx_15_20 = mpTScale_b_nvtx_15_20 = mpTScale_c_nvtx_15_20 = mpTScale_a_nvtx_20_30 = mpTScale_b_nvtx_20_30 = mpTScale_c_nvtx_20_30 = mpTScale_a_nvtx_30_inf = mpTScale_b_nvtx_30_inf = mpTScale_c_nvtx_30_inf = mpTScale_nvtx_0_5 = mpTScale_nvtx_5_10 = mpTScale_nvtx_10_15 = mpTScale_nvtx_15_20 = mpTScale_nvtx_20_30 = mpTScale_nvtx_30_inf = mpTScale_a = mpTScale_b = mpTScale_c = mpTScale_pT =0; DQMStore* dbe = &*edm::Service<DQMStore>(); if (dbe) { dbe->setCurrentFolder("JetMET/RecoJetsV/CaloJetTask_" + mInputCollection.label()); // numberofevents = dbe->book1D("numberofevents","numberofevents", 3, 0 , 2); // mEta = dbe->book1D("Eta", "Eta", 120, -6, 6); mEtaFineBin = dbe->book1D("EtaFineBin_Pt10", "EtaFineBin_Pt10", 600, -6, 6); // mPhi = dbe->book1D("Phi", "Phi", 70, -3.5, 3.5); mPhiFineBin = dbe->book1D("PhiFineBin_Pt10", "PhiFineBin_Pt10", 350, -3.5, 3.5); // mE = dbe->book1D("E", "E", 100, 0, 500); mE_80 = dbe->book1D("E_80", "E_80", 100, 0, 5000); // mP = dbe->book1D("P", "P", 100, 0, 500); mP_80 = dbe->book1D("P_80", "P_80", 100, 0, 5000); // mPt = dbe->book1D("Pt", "Pt", 100, 0, 150); mPt_80 = dbe->book1D("Pt_80", "Pt_80", 100, 0, 4000); // mMass = dbe->book1D("Mass", "Mass", 100, 0, 200); mMass_80 = dbe->book1D("Mass_80", "Mass_80", 100, 0, 500); // mConstituents = dbe->book1D("Constituents", "# of Constituents", 100, 0, 100); mConstituents_80 = dbe->book1D("Constituents_80", "# of Constituents_80", 40, 0, 40); // mEtaFirst = dbe->book1D("EtaFirst", "EtaFirst", 120, -6, 6); mPhiFirst = dbe->book1D("PhiFirst", "PhiFirst", 70, -3.5, 3.5); mPtFirst = dbe->book1D("PtFirst", "PtFirst", 100, 0, 50); mPtFirst_80 = dbe->book1D("PtFirst_80", "PtFirst_80", 100, 0, 140); mPtFirst_3000 = dbe->book1D("PtFirst_3000", "PtFirst_3000", 100, 0, 4000); // mMjj = dbe->book1D("Mjj", "Mjj", 100, 0, 2000); mMjj_3000 = dbe->book1D("Mjj_3000", "Mjj_3000", 100, 0, 10000); mDelEta = dbe->book1D("DelEta", "DelEta", 100, -.5, .5); mDelPhi = dbe->book1D("DelPhi", "DelPhi", 100, -.5, .5); mDelPt = dbe->book1D("DelPt", "DelPt", 100, -1, 1); // mMaxEInEmTowers = dbe->book1D("MaxEInEmTowers", "MaxEInEmTowers", 100, 0, 100); mMaxEInHadTowers = dbe->book1D("MaxEInHadTowers", "MaxEInHadTowers", 100, 0, 100); mHadEnergyInHO = dbe->book1D("HadEnergyInHO", "HadEnergyInHO", 100, 0, 10); mHadEnergyInHB = dbe->book1D("HadEnergyInHB", "HadEnergyInHB", 100, 0, 150); mHadEnergyInHF = dbe->book1D("HadEnergyInHF", "HadEnergyInHF", 100, 0, 50); mHadEnergyInHE = dbe->book1D("HadEnergyInHE", "HadEnergyInHE", 100, 0, 150); // mHadEnergyInHO_80 = dbe->book1D("HadEnergyInHO_80", "HadEnergyInHO_80", 100, 0, 50); mHadEnergyInHB_80 = dbe->book1D("HadEnergyInHB_80", "HadEnergyInHB_80", 100, 0, 3000); mHadEnergyInHE_80 = dbe->book1D("HadEnergyInHE_80", "HadEnergyInHE_80", 100, 0, 3000); mHadEnergyInHO_3000 = dbe->book1D("HadEnergyInHO_3000", "HadEnergyInHO_3000", 100, 0, 500); // mEmEnergyInEB = dbe->book1D("EmEnergyInEB", "EmEnergyInEB", 100, 0, 50); mEmEnergyInEE = dbe->book1D("EmEnergyInEE", "EmEnergyInEE", 100, 0, 50); mEmEnergyInHF = dbe->book1D("EmEnergyInHF", "EmEnergyInHF", 120, -20, 100); mEmEnergyInEB_80 = dbe->book1D("EmEnergyInEB_80", "EmEnergyInEB_80", 100, 0, 200); mEmEnergyInEE_80 = dbe->book1D("EmEnergyInEE_80", "EmEnergyInEE_80", 100, 0, 1000); mEnergyFractionHadronic_B = dbe->book1D("EnergyFractionHadronic_B", "EnergyFractionHadronic_B", 120, -0.1, 1.1); mEnergyFractionHadronic_E = dbe->book1D("EnergyFractionHadronic_E", "EnergyFractionHadronic_E", 120, -0.1, 1.1); mEnergyFractionHadronic_F = dbe->book1D("EnergyFractionHadronic_F", "EnergyFractionHadronic_F", 120, -0.1, 1.1); mEnergyFractionEm_B = dbe->book1D("EnergyFractionEm_B", "EnergyFractionEm_B", 120, -0.1, 1.1); mEnergyFractionEm_E = dbe->book1D("EnergyFractionEm_E", "EnergyFractionEm_E", 120, -0.1, 1.1); mEnergyFractionEm_F = dbe->book1D("EnergyFractionEm_F", "EnergyFractionEm_F", 120, -0.1, 1.1); // mHFTotal = dbe->book1D("HFTotal", "HFTotal", 100, 0, 150); mHFTotal_80 = dbe->book1D("HFTotal_80", "HFTotal_80", 100, 0, 3000); mHFLong = dbe->book1D("HFLong", "HFLong", 100, 0, 150); mHFLong_80 = dbe->book1D("HFLong_80", "HFLong_80", 100, 0, 3000); mHFShort = dbe->book1D("HFShort", "HFShort", 100, 0, 150); mHFShort_80 = dbe->book1D("HFShort_80", "HFShort_80", 100, 0, 3000); // mN90 = dbe->book1D("N90", "N90", 50, 0, 50); // mGenEta = dbe->book1D("GenEta", "GenEta", 120, -6, 6); mGenPhi = dbe->book1D("GenPhi", "GenPhi", 70, -3.5, 3.5); mGenPt = dbe->book1D("GenPt", "GenPt", 100, 0, 150); mGenPt_80 = dbe->book1D("GenPt_80", "GenPt_80", 100, 0, 1500); // mGenEtaFirst = dbe->book1D("GenEtaFirst", "GenEtaFirst", 100, -5, 5); mGenPhiFirst = dbe->book1D("GenPhiFirst", "GenPhiFirst", 70, -3.5, 3.5); // // mHadTiming = dbe->book1D("HadTiming", "HadTiming", 75, -50, 100); mEmTiming = dbe->book1D("EMTiming", "EMTiming", 75, -50, 100); // mNJetsEtaC = dbe->book1D("NJetsEtaC_Pt10", "NJetsEtaC_Pt10", 15, 0, 15); mNJetsEtaF = dbe->book1D("NJetsEtaF_Pt10", "NJetsEtaF_Pt10", 15, 0, 15); mNJetsEtaF_30 = dbe->book1D("NJetsEtaF_Pt30", "NJetsEtaF_Pt30", 15, 0, 15); // mNJets1 = dbe->bookProfile("NJets1", "NJets1", 100, 0, 200, 100, 0, 50, "s"); mNJets2 = dbe->bookProfile("NJets2", "NJets2", 100, 0, 4000, 100, 0, 50, "s"); // // mPthat_80 = dbe->book1D("Pthat_80", "Pthat_80", 100, 0.0, 1000.0); mPthat_3000 = dbe->book1D("Pthat_3000", "Pthat_3000", 100, 1000.0, 4000.0); //Corr mCorrJetPt = dbe->book1D("CorrPt", "CorrPt", 100, 0, 150); mCorrJetPt_80 = dbe->book1D("CorrPt_80", "CorrPt_80", 100, 0, 4000); mCorrJetEta = dbe->book1D("CorrEta", "CorrEta", 120, -6, 6); mCorrJetPhi = dbe->book1D("CorrPhi", "CorrPhi", 70, -3.5, 3.5); mjetArea = dbe->book1D("jetArea","jetArea",26,-0.5,12.5); //nvtx nvtx_0_30 = dbe->book1D("nvtx_0_30","nvtx_0_30",31,-0.5,30.5); nvtx_0_60 = dbe->book1D("nvtx_0_60","nvtx_0_60",61,-0.5,60.5); //pT scale with nvtx mpTScale_a_nvtx_0_5 = dbe->book1D("mpTScale_a_nvtx_0_5", "pTScale_a_nvtx_0_5_0<|eta|<1.3_60_120",100, 0, 2); mpTScale_b_nvtx_0_5 = dbe->book1D("mpTScale_b_nvtx_0_5", "pTScale_b_nvtx_0_5_0<|eta|<1.3_200_300",100, 0, 2); mpTScale_c_nvtx_0_5 = dbe->book1D("mpTScale_c_nvtx_0_5", "pTScale_c_nvtx_0_5_0<|eta|<1.3_600_900",100, 0, 2); mpTScale_a_nvtx_5_10 = dbe->book1D("mpTScale_a_nvtx_5_10", "pTScale_a_nvtx_5_10_0<|eta|<1.3_60_120",100, 0, 2); mpTScale_b_nvtx_5_10 = dbe->book1D("mpTScale_b_nvtx_5_10", "pTScale_b_nvtx_5_10_0<|eta|<1.3_200_300",100, 0, 2); mpTScale_c_nvtx_5_10 = dbe->book1D("mpTScale_c_nvtx_5_10", "pTScale_c_nvtx_5_10_0<|eta|<1.3_600_900",100, 0, 2); mpTScale_a_nvtx_10_15 = dbe->book1D("mpTScale_a_nvtx_10_15", "pTScale_a_nvtx_10_15_0<|eta|<1.3_60_120",100, 0, 2); mpTScale_b_nvtx_10_15 = dbe->book1D("mpTScale_b_nvtx_10_15", "pTScale_b_nvtx_10_15_0<|eta|<1.3_200_300",100, 0, 2); mpTScale_c_nvtx_10_15 = dbe->book1D("mpTScale_c_nvtx_10_15", "pTScale_c_nvtx_10_15_0<|eta|<1.3_600_900",100, 0, 2); mpTScale_a_nvtx_15_20 = dbe->book1D("mpTScale_a_nvtx_15_20", "pTScale_a_nvtx_15_20_0<|eta|<1.3_60_120",100, 0, 2); mpTScale_b_nvtx_15_20 = dbe->book1D("mpTScale_b_nvtx_15_20", "pTScale_b_nvtx_15_20_0<|eta|<1.3_200_300",100, 0, 2); mpTScale_c_nvtx_15_20 = dbe->book1D("mpTScale_c_nvtx_15_20", "pTScale_c_nvtx_15_20_0<|eta|<1.3_600_900",100, 0, 2); mpTScale_a_nvtx_20_30 = dbe->book1D("mpTScale_a_nvtx_20_30", "pTScale_a_nvtx_20_30_0<|eta|<1.3_60_120",100, 0, 2); mpTScale_b_nvtx_20_30 = dbe->book1D("mpTScale_b_nvtx_20_30", "pTScale_b_nvtx_20_30_0<|eta|<1.3_200_300",100, 0, 2); mpTScale_c_nvtx_20_30 = dbe->book1D("mpTScale_c_nvtx_20_30", "pTScale_c_nvtx_20_30_0<|eta|<1.3_600_900",100, 0, 2); mpTScale_a_nvtx_30_inf = dbe->book1D("mpTScale_a_nvtx_30_inf", "pTScale_a_nvtx_30_inf_0<|eta|<1.3_60_120",100, 0, 2); mpTScale_b_nvtx_30_inf = dbe->book1D("mpTScale_b_nvtx_30_inf", "pTScale_b_nvtx_30_inf_0<|eta|<1.3_200_300",100, 0, 2); mpTScale_c_nvtx_30_inf = dbe->book1D("mpTScale_c_nvtx_30_inf", "pTScale_c_nvtx_30_inf_0<|eta|<1.3_600_900",100, 0, 2); mpTScale_a = dbe->book1D("pTScale_a", "pTScale_a_60_120",100, 0, 2); mpTScale_b = dbe->book1D("pTScale_b", "pTScale_b_200_300",100, 0, 2); mpTScale_c = dbe->book1D("pTScale_c", "pTScale_c_600_900",100, 0, 2); // double log10PtMin = 0.5; //=3.1622766 double log10PtMax = 3.75; //=5623.41325 int log10PtBins = 26; 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}; //int log10PtFineBins = 50; // if (mTurnOnEverything.compare("yes")==0) { } mpTScaleB_d = dbe->bookProfile("pTScaleB_d", "pTScale_d_0<|eta|<1.5", log10PtBins, log10PtMin, log10PtMax, 0, 2, " "); mpTScaleE_d = dbe->bookProfile("pTScaleE_d", "pTScale_d_1.5<|eta|<3.0", log10PtBins, log10PtMin, log10PtMax, 0, 2, " "); mpTScaleF_d = dbe->bookProfile("pTScaleF_d", "pTScale_d_3.0<|eta|<6.0", log10PtBins, log10PtMin, log10PtMax, 0, 2, " "); mpTScalePhiB_d = dbe->bookProfile("pTScalePhiB_d", "pTScalePhi_d_0<|eta|<1.5", 70, -3.5, 3.5, 0, 2, " "); mpTScalePhiE_d = dbe->bookProfile("pTScalePhiE_d", "pTScalePhi_d_1.5<|eta|<3.0", 70, -3.5, 3.5, 0, 2, " "); mpTScalePhiF_d = dbe->bookProfile("pTScalePhiF_d", "pTScalePhi_d_3.0<|eta|<6.0", 70, -3.5, 3.5, 0, 2, " "); mpTScale_30_200_d = dbe->bookProfile("pTScale_30_200_d", "pTScale_d_30<pT<200", 90,etaRange, 0., 2., " "); mpTScale_200_600_d = dbe->bookProfile("pTScale_200_600_d", "pTScale_d_200<pT<600", 90,etaRange, 0., 2., " "); mpTScale_600_1500_d = dbe->bookProfile("pTScale_600_1500_d", "pTScale_d_600<pT<1500", 90,etaRange, 0., 2., " "); mpTScale_1500_3500_d = dbe->bookProfile("pTScale_1500_3500_d", "pTScale_d_1500<pt<3500", 90,etaRange, 0., 2., " "); mpTScale1DB_30_200 = dbe->book1D("pTScale1DB_30_200", "pTScale_distribution_for_0<|eta|<1.5_30_200", 100, 0, 2); mpTScale1DE_30_200 = dbe->book1D("pTScale1DE_30_200", "pTScale_distribution_for_1.5<|eta|<3.0_30_200", 50, 0, 2); mpTScale1DF_30_200 = dbe->book1D("pTScale1DF_30_200", "pTScale_distribution_for_3.0<|eta|<6.0_30_200", 50, 0, 2); mpTScale1DB_200_600 = dbe->book1D("pTScale1DB_200_600", "pTScale_distribution_for_0<|eta|<1.5_200_600", 100, 0, 2); mpTScale1DE_200_600 = dbe->book1D("pTScale1DE_200_600", "pTScale_distribution_for_1.5<|eta|<3.0_200_600", 50, 0, 2); mpTScale1DF_200_600 = dbe->book1D("pTScale1DF_200_600", "pTScale_distribution_for_3.0<|eta|<6.0_200_600", 50, 0, 2); mpTScale1DB_600_1500 = dbe->book1D("pTScale1DB_600_1500", "pTScale_distribution_for_0<|eta|<1.5_600_1500", 100, 0, 2); mpTScale1DE_600_1500 = dbe->book1D("pTScale1DE_600_1500", "pTScale_distribution_for_1.5<|eta|<3.0_600_1500", 50, 0, 2); mpTScale1DF_600_1500 = dbe->book1D("pTScale1DF_600_1500", "pTScale_distribution_for_3.0<|eta|<6.0_600_1500", 50, 0, 2); mpTScale1DB_1500_3500 = dbe->book1D("pTScale1DB_1500_3500", "pTScale_distribution_for_0<|eta|<1.5_1500_3500", 100, 0, 2); mpTScale1DE_1500_3500 = dbe->book1D("pTScale1DE_1500_3500", "pTScale_distribution_for_1.5<|eta|<3.0_1500_3500", 50, 0, 2); mpTScale1DF_1500_3500 = dbe->book1D("pTScale1DF_1500_3500", "pTScale_distribution_for_3.0<|eta|<6.0_1500_3500", 50, 0, 2); mpTScale_nvtx_0_5 = dbe->bookProfile("pTScale_nvtx_0_5", "pTScale_nvtx_0_5_0<|eta|<1.3", log10PtBins, log10PtMin, log10PtMax, 0, 2, " "); mpTScale_nvtx_5_10 = dbe->bookProfile("pTScale_nvtx_5_10", "pTScale_nvtx_5_10_0<|eta|<1.3", log10PtBins, log10PtMin, log10PtMax, 0, 2, " "); mpTScale_nvtx_10_15 = dbe->bookProfile("pTScale_nvtx_10_15", "pTScale_nvtx_10_15_0<|eta|<1.3", log10PtBins, log10PtMin, log10PtMax, 0, 2, " "); mpTScale_nvtx_15_20 = dbe->bookProfile("pTScale_nvtx_15_20", "pTScale_nvtx_15_20_0<|eta|<1.3", log10PtBins, log10PtMin, log10PtMax, 0, 2, " "); mpTScale_nvtx_20_30 = dbe->bookProfile("pTScale_nvtx_20_30", "pTScale_nvtx_20_30_0<|eta|<1.3", log10PtBins, log10PtMin, log10PtMax, 0, 2, " "); mpTScale_nvtx_30_inf = dbe->bookProfile("pTScale_nvtx_30_inf", "pTScale_nvtx_30_inf_0<|eta|<1.3", log10PtBins, log10PtMin, log10PtMax, 0, 2, " "); mpTScale_pT = dbe->bookProfile("pTScale_pT", "pTScale_vs_pT", log10PtBins, log10PtMin, log10PtMax, 0, 2, " "); mpTRatio = dbe->bookProfile("pTRatio", "pTRatio", log10PtBins, log10PtMin, log10PtMax, 100, 0.,5., " "); mpTRatioB_d = dbe->bookProfile("pTRatioB_d", "pTRatio_d_0<|eta|<1.5", log10PtBins, log10PtMin, log10PtMax, 0, 5, " "); mpTRatioE_d = dbe->bookProfile("pTRatioE_d", "pTRatio_d_1.5<|eta|<3.0", log10PtBins, log10PtMin, log10PtMax, 0, 5, " "); mpTRatioF_d = dbe->bookProfile("pTRatioF_d", "pTRatio_d_3.0<|eta|<6.0", log10PtBins, log10PtMin, log10PtMax, 0, 5, " "); mpTRatio_30_200_d = dbe->bookProfile("pTRatio_30_200_d", "pTRatio_d_30<pT<200", 90,etaRange, 0., 5., " "); mpTRatio_200_600_d = dbe->bookProfile("pTRatio_200_600_d", "pTRatio_d_200<pT<600", 90,etaRange, 0., 5., " "); mpTRatio_600_1500_d = dbe->bookProfile("pTRatio_600_1500_d", "pTRatio_d_600<pT<1500", 90,etaRange, 0., 5., " "); mpTRatio_1500_3500_d = dbe->bookProfile("pTRatio_1500_3500_d", "pTRatio_d_1500<pt<3500", 90,etaRange, 0., 5., " "); mpTResponse = dbe->bookProfile("pTResponse", "pTResponse", log10PtBins, log10PtMin, log10PtMax, 100, 0.8,1.2, " "); mpTResponseB_d = dbe->bookProfile("pTResponseB_d", "pTResponse_d_0<|eta|<1.5", log10PtBins, log10PtMin, log10PtMax, 0.8, 1.2, " "); mpTResponseE_d = dbe->bookProfile("pTResponseE_d", "pTResponse_d_1.5<|eta|<3.0", log10PtBins, log10PtMin, log10PtMax, 0.8, 1.2, " "); mpTResponseF_d = dbe->bookProfile("pTResponseF_d", "pTResponse_d_3.0<|eta|<6.0", log10PtBins, log10PtMin, log10PtMax, 0.8, 1.2, " "); mpTResponse_30_200_d = dbe->bookProfile("pTResponse_30_200_d", "pTResponse_d_30<pT<200", 90,etaRange, 0.8, 1.2, " "); mpTResponse_200_600_d = dbe->bookProfile("pTResponse_200_600_d", "pTResponse_d_200<pT<600", 90,etaRange, 0.8, 1.2, " "); mpTResponse_600_1500_d = dbe->bookProfile("pTResponse_600_1500_d", "pTResponse_d_600<pT<1500", 90,etaRange, 0.8, 1.2, " "); mpTResponse_1500_3500_d = dbe->bookProfile("pTResponse_1500_3500_d", "pTResponse_d_1500<pt<3500", 90,etaRange, 0.8, 1.2, " "); mpTResponse_30_d = dbe->bookProfile("pTResponse_30_d", "pTResponse_d_pt>30", 90,etaRange, 0.8, 1.2, " "); mpTResponse_nvtx_0_5 = dbe->bookProfile("pTResponse_nvtx_0_5", "pTResponse_nvtx_0_5", log10PtBins, log10PtMin, log10PtMax, 100, 0.8,1.2, " "); mpTResponse_nvtx_5_10 = dbe->bookProfile("pTResponse_nvtx_5_10", "pTResponse_nvtx_5_10", log10PtBins, log10PtMin, log10PtMax, 100, 0.8,1.2, " "); mpTResponse_nvtx_10_15 = dbe->bookProfile("pTResponse_nvtx_10_15", "pTResponse_nvtx_10_15", log10PtBins, log10PtMin, log10PtMax, 100, 0.8,1.2, " "); mpTResponse_nvtx_15_20 = dbe->bookProfile("pTResponse_nvtx_15_20", "pTResponse_nvtx_15_20", log10PtBins, log10PtMin, log10PtMax, 100, 0.8,1.2, " "); mpTResponse_nvtx_20_30 = dbe->bookProfile("pTResponse_nvtx_20_30", "pTResponse_nvtx_20_30", log10PtBins, log10PtMin, log10PtMax, 100, 0.8,1.2, " "); mpTResponse_nvtx_30_inf = dbe->bookProfile("pTResponse_nvtx_30_inf", "pTResponse_nvtx_30_inf", log10PtBins, log10PtMin, log10PtMax, 100, 0.8,1.2, " "); } if (mOutputFile.empty ()) { LogInfo("OutputInfo") << " CaloJet histograms will NOT be saved"; } else { LogInfo("OutputInfo") << " CaloJethistograms will be saved to file:" << mOutputFile; } }
CaloJetTester::~CaloJetTester | ( | ) |
Definition at line 401 of file CaloJetTester.cc.
{ }
void CaloJetTester::analyze | ( | const edm::Event & | mEvent, |
const edm::EventSetup & | mSetup | ||
) | [virtual] |
Implements edm::EDAnalyzer.
Definition at line 413 of file CaloJetTester.cc.
References HiRecoJets_cff::caloTowers, JetCorrector::correction(), deltaR(), doJetCorrection, reco::LeafCandidate::eta(), MonitorElement::Fill(), fillMatchHists(), edm::Event::getByLabel(), JetMatchingTools::getGenParticles(), JetCorrector::getJetCorrector(), edm::Event::getManyByType(), i, edm::EventBase::isRealData(), edm::HandleBase::isValid(), j, metsig::jet, JetCorrectionService, edm::InputTag::label(), scaleCards::mass, mConstituents, mConstituents_80, mCorrJetEta, mCorrJetPhi, mCorrJetPt, mCorrJetPt_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, mNJetsEtaF_30, mP, mP_80, mPhi, mPhiFineBin, mPhiFirst, mPt, mPt_80, mPtFirst, mPtFirst_3000, mPtFirst_80, mPthat_3000, mPthat_80, mpTRatio, mpTRatio_1500_3500_d, mpTRatio_200_600_d, mpTRatio_30_200_d, mpTRatio_600_1500_d, mpTRatioB_d, mpTRatioE_d, mpTRatioF_d, mpTResponse, mpTResponse_1500_3500_d, mpTResponse_200_600_d, mpTResponse_30_200_d, mpTResponse_30_d, mpTResponse_600_1500_d, mpTResponse_nvtx_0_5, mpTResponse_nvtx_10_15, mpTResponse_nvtx_15_20, mpTResponse_nvtx_20_30, mpTResponse_nvtx_30_inf, mpTResponse_nvtx_5_10, mpTResponseB_d, mpTResponseE_d, mpTResponseF_d, mReverseEnergyFractionThreshold, mRThreshold, mTurnOnEverything, njet, numberofevents, nvtx_0_30, nvtx_0_60, JetMatchingTools::overlapEnergyFraction(), reco::LeafCandidate::phi(), position, reco::LeafCandidate::pt(), rho, pileupReCalc_HLTpaths::scale, reco::Jet::scaleEnergy(), and z.
{ double countsfornumberofevents = 1; numberofevents->Fill(countsfornumberofevents); //get primary vertices edm::Handle<vector<reco::Vertex> >pvHandle; //E.Ron elias.ron@cern.ch at 10-4-13 //the vertices are only taken if they exist in the event bool offlinePrimaryVerticesPresent=mEvent.getByLabel( "offlinePrimaryVertices",pvHandle); // try { // mEvent.getByLabel( "offlinePrimaryVertices", pvHandle ); // } catch ( cms::Exception& e) { // cout <<"error: " << e.what() << endl; // } vector<reco::Vertex> goodVertices; if(offlinePrimaryVerticesPresent){ for (unsigned i = 0; i < pvHandle->size(); i++) { if ( (*pvHandle)[i].ndof() > 4 && ( fabs((*pvHandle)[i].z()) <= 24. ) && ( fabs((*pvHandle)[i].position().rho()) <= 2.0 ) ) goodVertices.push_back((*pvHandle)[i]); } } nvtx_0_30->Fill(goodVertices.size()); nvtx_0_60->Fill(goodVertices.size()); // ********************************* // *** Get pThat // ********************************* if (!mEvent.isRealData()){ edm::Handle<HepMCProduct> evt; mEvent.getByLabel("generator", evt); if (evt.isValid()) { HepMC::GenEvent * myGenEvent = new HepMC::GenEvent(*(evt->GetEvent())); double pthat = myGenEvent->event_scale(); mPthat_80->Fill(pthat); mPthat_3000->Fill(pthat); delete myGenEvent; } } // *********************************** // *** Get CaloMET // *********************************** /* const CaloMET *calomet; edm::Handle<CaloMETCollection> calo; mEvent.getByLabel("met", calo); if (!calo.isValid()) { edm::LogInfo("OutputInfo") << " failed to retrieve data required by MET Task"; edm::LogInfo("OutputInfo") << " MET Task cannot continue...!"; } else { const CaloMETCollection *calometcol = calo.product(); calomet = &(calometcol->front()); } */ // *********************************** // *** Get the CaloTower collection // *********************************** Handle<CaloTowerCollection> caloTowers; mEvent.getByLabel( "towerMaker", caloTowers ); if (caloTowers.isValid()) { for( CaloTowerCollection::const_iterator cal = caloTowers->begin(); cal != caloTowers->end(); ++ cal ){ //To compensate for the index if (mTurnOnEverything.compare("yes")==0) { } mHadTiming->Fill (cal->hcalTime()); mEmTiming->Fill (cal->ecalTime()); } } // *********************************** // *** Get the RecHits collection // *********************************** try { std::vector<edm::Handle<HBHERecHitCollection> > colls; mEvent.getManyByType(colls); std::vector<edm::Handle<HBHERecHitCollection> >::iterator i; for (i=colls.begin(); i!=colls.end(); i++) { for (HBHERecHitCollection::const_iterator j=(*i)->begin(); j!=(*i)->end(); j++) { // std::cout << *j << std::endl; } } } catch (...) { edm::LogInfo("OutputInfo") << " No HB/HE RecHits."; } try { std::vector<edm::Handle<HFRecHitCollection> > colls; mEvent.getManyByType(colls); std::vector<edm::Handle<HFRecHitCollection> >::iterator i; for (i=colls.begin(); i!=colls.end(); i++) { for (HFRecHitCollection::const_iterator j=(*i)->begin(); j!=(*i)->end(); j++) { // std::cout << *j << std::endl; } } } catch (...) { edm::LogInfo("OutputInfo") << " No HF RecHits."; } try { std::vector<edm::Handle<HORecHitCollection> > colls; mEvent.getManyByType(colls); std::vector<edm::Handle<HORecHitCollection> >::iterator i; for (i=colls.begin(); i!=colls.end(); i++) { for (HORecHitCollection::const_iterator j=(*i)->begin(); j!=(*i)->end(); j++) { } } } catch (...) { edm::LogInfo("OutputInfo") << " No HO RecHits."; } try { std::vector<edm::Handle<EBRecHitCollection> > colls; mEvent.getManyByType(colls); std::vector<edm::Handle<EBRecHitCollection> >::iterator i; for (i=colls.begin(); i!=colls.end(); i++) { for (EBRecHitCollection::const_iterator j=(*i)->begin(); j!=(*i)->end(); j++) { } } } catch (...) { edm::LogInfo("OutputInfo") << " No EB RecHits."; } try { std::vector<edm::Handle<EERecHitCollection> > colls; mEvent.getManyByType(colls); std::vector<edm::Handle<EERecHitCollection> >::iterator i; for (i=colls.begin(); i!=colls.end(); i++) { for (EERecHitCollection::const_iterator j=(*i)->begin(); j!=(*i)->end(); j++) { } } } catch (...) { edm::LogInfo("OutputInfo") << " No EE RecHits."; } //*********************************** //*** Get the Jet collection //*********************************** math::XYZTLorentzVector p4tmp[2]; Handle<CaloJetCollection> caloJets; mEvent.getByLabel(mInputCollection, caloJets); if (!caloJets.isValid()) return; CaloJetCollection::const_iterator jet = caloJets->begin (); int jetIndex = 0; int nJet = 0; int nJetF = 0; int nJetC = 0; int nJetF_30 =0; for (; jet != caloJets->end (); jet++, jetIndex++) { if (jet->pt() > 10.) { if (fabs(jet->eta()) > 1.5) nJetF++; else nJetC++; } if (jet->pt() > 30.) nJetF_30++; if (jet->pt() > 10.) { if (mEta) mEta->Fill (jet->eta()); if (mEtaFineBin) mEtaFineBin->Fill (jet->eta()); if (mPhiFineBin) mPhiFineBin->Fill (jet->phi()); } if (mjetArea) mjetArea->Fill(jet->jetArea()); if (mPhi) mPhi->Fill (jet->phi()); if (mE) mE->Fill (jet->energy()); if (mE_80) mE_80->Fill (jet->energy()); if (mP) mP->Fill (jet->p()); if (mP_80) mP_80->Fill (jet->p()); if (mPt) mPt->Fill (jet->pt()); if (mPt_80) mPt_80->Fill (jet->pt()); if (mMass) mMass->Fill (jet->mass()); if (mMass_80) mMass_80->Fill (jet->mass()); if (mConstituents) mConstituents->Fill (jet->nConstituents()); if (mConstituents_80) mConstituents_80->Fill (jet->nConstituents()); if (jet == caloJets->begin ()) { // first jet if (mEtaFirst) mEtaFirst->Fill (jet->eta()); if (mPhiFirst) mPhiFirst->Fill (jet->phi()); if (mPtFirst) mPtFirst->Fill (jet->pt()); if (mPtFirst_80) mPtFirst_80->Fill (jet->pt()); if (mPtFirst_3000) mPtFirst_3000->Fill (jet->pt()); } if (jetIndex == 0) { nJet++; p4tmp[0] = jet->p4(); } if (jetIndex == 1) { nJet++; p4tmp[1] = jet->p4(); } if (mMaxEInEmTowers) mMaxEInEmTowers->Fill (jet->maxEInEmTowers()); if (mMaxEInHadTowers) mMaxEInHadTowers->Fill (jet->maxEInHadTowers()); if (mHadEnergyInHO) mHadEnergyInHO->Fill (jet->hadEnergyInHO()); if (mHadEnergyInHO_80) mHadEnergyInHO_80->Fill (jet->hadEnergyInHO()); if (mHadEnergyInHO_3000) mHadEnergyInHO_3000->Fill (jet->hadEnergyInHO()); if (mHadEnergyInHB) mHadEnergyInHB->Fill (jet->hadEnergyInHB()); if (mHadEnergyInHB_80) mHadEnergyInHB_80->Fill (jet->hadEnergyInHB()); if (mHadEnergyInHF) mHadEnergyInHF->Fill (jet->hadEnergyInHF()); if (mHadEnergyInHE) mHadEnergyInHE->Fill (jet->hadEnergyInHE()); if (mHadEnergyInHE_80) mHadEnergyInHE_80->Fill (jet->hadEnergyInHE()); if (mEmEnergyInEB) mEmEnergyInEB->Fill (jet->emEnergyInEB()); if (mEmEnergyInEB_80) mEmEnergyInEB_80->Fill (jet->emEnergyInEB()); if (mEmEnergyInEE) mEmEnergyInEE->Fill (jet->emEnergyInEE()); if (mEmEnergyInEE_80) mEmEnergyInEE_80->Fill (jet->emEnergyInEE()); if (mEmEnergyInHF) mEmEnergyInHF->Fill (jet->emEnergyInHF()); if (fabs(jet->eta())<1.5) mEnergyFractionHadronic_B->Fill (jet->energyFractionHadronic()); if (fabs(jet->eta())>1.5 && fabs(jet->eta())<3.0) mEnergyFractionHadronic_E->Fill (jet->energyFractionHadronic()); if (fabs(jet->eta())>3.0 && fabs(jet->eta())<6.0) mEnergyFractionHadronic_F->Fill (jet->energyFractionHadronic()); if (fabs(jet->eta())<1.5) mEnergyFractionEm_B->Fill (jet->emEnergyFraction()); if (fabs(jet->eta())>1.5 && fabs(jet->eta())<3.0) mEnergyFractionEm_E->Fill (jet->emEnergyFraction()); if (fabs(jet->eta())>3.0 && fabs(jet->eta())<6.0) mEnergyFractionEm_F->Fill (jet->emEnergyFraction()); if (mHFTotal) mHFTotal->Fill (jet->hadEnergyInHF()+jet->emEnergyInHF()); if (mHFTotal_80) mHFTotal_80->Fill (jet->hadEnergyInHF()+jet->emEnergyInHF()); if (mHFLong) mHFLong->Fill (jet->hadEnergyInHF()*0.5+jet->emEnergyInHF()); if (mHFLong_80) mHFLong_80->Fill (jet->hadEnergyInHF()*0.5+jet->emEnergyInHF()); if (mHFShort) mHFShort->Fill (jet->hadEnergyInHF()*0.5); if (mHFShort_80) mHFShort_80->Fill (jet->hadEnergyInHF()*0.5); if (mN90) mN90->Fill (jet->n90()); } if (mNJetsEtaC) mNJetsEtaC->Fill( nJetC ); if (mNJetsEtaF) mNJetsEtaF->Fill( nJetF ); if (mNJetsEtaF_30) mNJetsEtaF_30->Fill( nJetF_30 ); if (nJet == 2) { if (mMjj) mMjj->Fill( (p4tmp[0]+p4tmp[1]).mass() ); if (mMjj_3000) mMjj_3000->Fill( (p4tmp[0]+p4tmp[1]).mass() ); } // Count Jets above Pt cut for (int istep = 0; istep < 100; ++istep) { int njet = 0; float ptStep = (istep * (200./100.)); for ( CaloJetCollection::const_iterator cal = caloJets->begin(); cal != caloJets->end(); ++ cal ) { if ( cal->pt() > ptStep ) njet++; } mNJets1->Fill( ptStep, njet ); } for (int istep = 0; istep < 100; ++istep) { int njet = 0; float ptStep = (istep * (4000./100.)); for ( CaloJetCollection::const_iterator cal = caloJets->begin(); cal != caloJets->end(); ++ cal ) { if ( cal->pt() > ptStep ) njet++; } mNJets2->Fill( ptStep, njet ); } const JetCorrector* corrector=0; if(doJetCorrection){ corrector = JetCorrector::getJetCorrector (JetCorrectionService,mSetup); } for (CaloJetCollection::const_iterator jet = caloJets->begin(); jet !=caloJets ->end(); jet++){ //const math::XYZTLorentzVector theJet = jet->p4();c CaloJet correctedJet = *jet; //double scale = corrector->correction(jet->p4()); double scale=1.0; if(doJetCorrection){ scale = corrector->correction(*jet,mEvent,mSetup); } correctedJet.scaleEnergy(scale); if(correctedJet.pt()>30){ mCorrJetPt->Fill(correctedJet.pt()); mCorrJetPt_80->Fill(correctedJet.pt()); if(correctedJet.pt() >10) mCorrJetEta->Fill(correctedJet.eta()); mCorrJetPhi->Fill(correctedJet.phi()); mpTRatio->Fill(log10(jet->pt()),correctedJet.pt()/jet->pt()); if (fabs(jet->eta())<1.5) { mpTRatioB_d->Fill(log10(jet->pt()), correctedJet.pt()/jet->pt()); } if (fabs(jet->eta())>1.5 && fabs(jet->eta())<3.0) { mpTRatioE_d->Fill (log10(jet->pt()), correctedJet.pt()/jet->pt()); } if (fabs(jet->eta())>3.0 && fabs(jet->eta())<6.0) { mpTRatioF_d->Fill (log10(jet->pt()), correctedJet.pt()/jet->pt()); } if (jet->pt()>30.0 && jet->pt()<200.0) { mpTRatio_30_200_d->Fill (jet->eta(),correctedJet.pt()/jet->pt()); } if (jet->pt()>200.0 && jet->pt()<600.0) { mpTRatio_200_600_d->Fill (jet->eta(),correctedJet.pt()/jet->pt()); } if (jet->pt()>600.0 && jet->pt()<1500.0) { mpTRatio_600_1500_d->Fill (jet->eta(),correctedJet.pt()/jet->pt()); } if (jet->pt()>1500.0 && jet->pt()<3500.0) { mpTRatio_1500_3500_d->Fill (jet->eta(),correctedJet.pt()/jet->pt()); } } } if (!mEvent.isRealData()){ // Gen jet analysis Handle<GenJetCollection> genJets; mEvent.getByLabel(mInputGenCollection, genJets); if (!genJets.isValid()) return; GenJetCollection::const_iterator gjet = genJets->begin (); int gjetIndex = 0; for (; gjet != genJets->end (); gjet++, gjetIndex++) { if (mGenEta) mGenEta->Fill (gjet->eta()); if (mGenPhi) mGenPhi->Fill (gjet->phi()); if (mGenPt) mGenPt->Fill (gjet->pt()); if (mGenPt_80) mGenPt_80->Fill (gjet->pt()); if (gjet == genJets->begin ()) { // first jet if (mGenEtaFirst) mGenEtaFirst->Fill (gjet->eta()); if (mGenPhiFirst) mGenPhiFirst->Fill (gjet->phi()); } } // now match CaloJets to GenJets JetMatchingTools jetMatching (mEvent); if (!(mInputGenCollection.label().empty())) { // Handle<GenJetCollection> genJets; // mEvent.getByLabel(mInputGenCollection, genJets); std::vector <std::vector <const reco::GenParticle*> > genJetConstituents (genJets->size()); std::vector <std::vector <const reco::GenParticle*> > caloJetConstituents (caloJets->size()); if (mRThreshold > 0) { } else { for (unsigned iGenJet = 0; iGenJet < genJets->size(); ++iGenJet) { genJetConstituents [iGenJet] = jetMatching.getGenParticles ((*genJets) [iGenJet]); } for (unsigned iCaloJet = 0; iCaloJet < caloJets->size(); ++iCaloJet) { caloJetConstituents [iCaloJet] = jetMatching.getGenParticles ((*caloJets) [iCaloJet], false); } } for (unsigned iGenJet = 0; iGenJet < genJets->size(); ++iGenJet) { //**************************************************************** //for (unsigned iGenJet = 0; iGenJet < 1; ++iGenJet) { // only FIRST Jet !!!! const GenJet& genJet = (*genJets) [iGenJet]; double genJetPt = genJet.pt(); //std::cout << iGenJet <<". Genjet: pT = " << genJetPt << "GeV" << std::endl; // ***************************************************** if (fabs(genJet.eta()) > 6.) continue; // out of detector if (genJetPt < mMatchGenPtThreshold) continue; // no low momentum //double logPtGen = log10 (genJetPt); //mAllGenJetsPt->Fill (logPtGen); //mAllGenJetsEta->Fill (logPtGen, genJet.eta()); if (caloJets->size() <= 0) continue; // no CaloJets - nothing to match if (mRThreshold > 0) { unsigned iCaloJetBest = 0; double deltaRBest = 999.; for (unsigned iCaloJet = 0; iCaloJet < caloJets->size(); ++iCaloJet) { double dR = deltaR (genJet.eta(), genJet.phi(), (*caloJets) [iCaloJet].eta(), (*caloJets) [iCaloJet].phi()); if (deltaRBest < mRThreshold && dR < mRThreshold && genJet.pt() > 5.) { /* std::cout << "Yet another matched jet for GenJet pt=" << genJet.pt() << " previous CaloJet pt/dr: " << (*caloJets) [iCaloJetBest].pt() << '/' << deltaRBest << " new CaloJet pt/dr: " << (*caloJets) [iCaloJet].pt() << '/' << dR << std::endl; */ } if (dR < deltaRBest) { iCaloJetBest = iCaloJet; deltaRBest = dR; } } if (mTurnOnEverything.compare("yes")==0) { //mRMatch->Fill (logPtGen, genJet.eta(), deltaRBest); } if (deltaRBest < mRThreshold) { // Matched fillMatchHists (genJet, (*caloJets) [iCaloJetBest],goodVertices); } double CorrdeltaRBest = 999.; double CorrJetPtBest = 0; for (CaloJetCollection::const_iterator jet = caloJets->begin(); jet !=caloJets ->end(); jet++) { CaloJet correctedJet = *jet; //double scale = corrector->correction(jet->p4()); double scale=1.0; if (doJetCorrection){ scale = corrector->correction(*jet,mEvent,mSetup); } correctedJet.scaleEnergy(scale); double CorrJetPt = correctedJet.pt(); if(CorrJetPt>30){ double CorrdR = deltaR (genJet.eta(), genJet.phi(), correctedJet.eta(), correctedJet.phi()); if (CorrdR < CorrdeltaRBest) { CorrdeltaRBest = CorrdR; CorrJetPtBest = CorrJetPt; } } } if (deltaRBest < mRThreshold) { // Matched mpTResponse->Fill(log10(genJet.pt()),CorrJetPtBest/genJet.pt()); if(goodVertices.size()<=5) mpTResponse_nvtx_0_5->Fill(log10(genJet.pt()),CorrJetPtBest/genJet.pt()); if(goodVertices.size()>5 && goodVertices.size()<=10) mpTResponse_nvtx_5_10->Fill(log10(genJet.pt()),CorrJetPtBest/genJet.pt()); if(goodVertices.size()>10 && goodVertices.size()<=15) mpTResponse_nvtx_10_15->Fill(log10(genJet.pt()),CorrJetPtBest/genJet.pt()); if(goodVertices.size()>15 && goodVertices.size()<=20) mpTResponse_nvtx_15_20->Fill(log10(genJet.pt()),CorrJetPtBest/genJet.pt()); if(goodVertices.size()>20 && goodVertices.size()<=30) mpTResponse_nvtx_20_30->Fill(log10(genJet.pt()),CorrJetPtBest/genJet.pt()); if(goodVertices.size()>30) mpTResponse_nvtx_30_inf->Fill(log10(genJet.pt()),CorrJetPtBest/genJet.pt()); if (fabs(genJet.eta())<1.5) { mpTResponseB_d->Fill(log10(genJet.pt()), CorrJetPtBest/genJet.pt()); } if (fabs(genJet.eta())>1.5 && fabs(genJet.eta())<3.0) { mpTResponseE_d->Fill (log10(genJet.pt()), CorrJetPtBest/genJet.pt()); } if (fabs(genJet.eta())>3.0 && fabs(genJet.eta())<6.0) { mpTResponseF_d->Fill (log10(genJet.pt()), CorrJetPtBest/genJet.pt()); } if (genJet.pt()>30.0 && genJet.pt()<200.0) { mpTResponse_30_200_d->Fill (genJet.eta(),CorrJetPtBest/genJet.pt()); } if (genJet.pt()>200.0 && genJet.pt()<600.0) { mpTResponse_200_600_d->Fill (genJet.eta(),CorrJetPtBest/genJet.pt()); } if (genJet.pt()>600.0 && genJet.pt()<1500.0) { mpTResponse_600_1500_d->Fill (genJet.eta(),CorrJetPtBest/genJet.pt()); } if (genJet.pt()>1500.0 && genJet.pt()<3500.0) { mpTResponse_1500_3500_d->Fill (genJet.eta(),CorrJetPtBest/genJet.pt()); } if (genJet.pt()>30.0) { mpTResponse_30_d->Fill (genJet.eta(),CorrJetPtBest/genJet.pt()); } } } else { unsigned iCaloJetBest = 0; double energyFractionBest = 0.; for (unsigned iCaloJet = 0; iCaloJet < caloJets->size(); ++iCaloJet) { double energyFraction = jetMatching.overlapEnergyFraction (genJetConstituents [iGenJet], caloJetConstituents [iCaloJet]); if (energyFraction > energyFractionBest) { iCaloJetBest = iCaloJet; energyFractionBest = energyFraction; } } if (mTurnOnEverything.compare("yes")==0) { //mGenJetMatchEnergyFraction->Fill (logPtGen, genJet.eta(), energyFractionBest); } if (energyFractionBest > mGenEnergyFractionThreshold) { // good enough double reverseEnergyFraction = jetMatching.overlapEnergyFraction (caloJetConstituents [iCaloJetBest], genJetConstituents [iGenJet]); if (mTurnOnEverything.compare("yes")==0) { //mReverseMatchEnergyFraction->Fill (logPtGen, genJet.eta(), reverseEnergyFraction); } if (reverseEnergyFraction > mReverseEnergyFractionThreshold) { // Matched fillMatchHists (genJet, (*caloJets) [iCaloJetBest], goodVertices); } } } } } } }
void CaloJetTester::beginJob | ( | void | ) | [virtual] |
void CaloJetTester::endJob | ( | void | ) | [virtual] |
Reimplemented from edm::EDAnalyzer.
Definition at line 408 of file CaloJetTester.cc.
References mOutputFile.
{ if (!mOutputFile.empty() && &*edm::Service<DQMStore>()) edm::Service<DQMStore>()->save (mOutputFile); }
void CaloJetTester::fillMatchHists | ( | const reco::GenJet & | fGenJet, |
const reco::CaloJet & | fCaloJet, | ||
std::vector< reco::Vertex > | goodVertices | ||
) | [private] |
Referenced by analyze().
bool CaloJetTester::doJetCorrection [private] |
Definition at line 319 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
std::string CaloJetTester::inputCaloMETLabel_ [private] |
Definition at line 45 of file CaloJetTester.h.
std::string CaloJetTester::inputGenMETLabel_ [private] |
Definition at line 44 of file CaloJetTester.h.
edm::InputTag CaloJetTester::inputMETLabel_ [private] |
Definition at line 42 of file CaloJetTester.h.
std::string CaloJetTester::JetCorrectionService [private] |
Definition at line 279 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mAllGenJetsEta [private] |
Definition at line 218 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mAllGenJetsPt [private] |
Definition at line 216 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mCaloMET [private] |
Definition at line 296 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mCaloMET_3000 [private] |
Definition at line 297 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mCaloMETPhi [private] |
Definition at line 298 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mCaloMETSig [private] |
Definition at line 301 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mCaloMETSig_3000 [private] |
Definition at line 302 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mCaloMEx [private] |
Definition at line 292 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mCaloMEx_3000 [private] |
Definition at line 293 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mCaloMEy [private] |
Definition at line 294 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mCaloMEy_3000 [private] |
Definition at line 295 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mCaloSumET [private] |
Definition at line 299 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mCaloSumET_3000 [private] |
Definition at line 300 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mConstituents [private] |
Definition at line 73 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mConstituents_3000 [private] |
Definition at line 75 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mConstituents_80 [private] |
Definition at line 74 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mCorrJetEta [private] |
Definition at line 83 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mCorrJetPhi [private] |
Definition at line 84 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mCorrJetPt [private] |
Definition at line 80 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mCorrJetPt_3000 [private] |
Definition at line 82 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mCorrJetPt_80 [private] |
Definition at line 81 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mDelEta [private] |
Definition at line 269 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mDelPhi [private] |
Definition at line 270 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mDelPt [private] |
Definition at line 271 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mDeltaE [private] |
Definition at line 227 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mDeltaEta [private] |
Definition at line 223 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mDeltaPhi [private] |
Definition at line 224 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mE [private] |
Definition at line 61 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mE_3000 [private] |
Definition at line 63 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mE_80 [private] |
Definition at line 62 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mEBEne [private] |
Definition at line 313 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEBTime [private] |
Definition at line 314 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEEEne [private] |
Definition at line 315 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEETime [private] |
Definition at line 316 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEFirst [private] |
Definition at line 146 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEFirst_3000 [private] |
Definition at line 148 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEFirst_80 [private] |
Definition at line 147 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEmEnergyInEB [private] |
Definition at line 176 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mEmEnergyInEB_3000 [private] |
Definition at line 181 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEmEnergyInEB_80 [private] |
Definition at line 179 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mEmEnergyInEE [private] |
Definition at line 177 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mEmEnergyInEE_3000 [private] |
Definition at line 182 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEmEnergyInEE_80 [private] |
Definition at line 180 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mEmEnergyInHF [private] |
Definition at line 178 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mEmEnergyProfile [private] |
Definition at line 286 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEMJetEnergyProfile [private] |
Definition at line 289 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEmTiming [private] |
Definition at line 77 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mEnergyFractionEm_B [private] |
Definition at line 186 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mEnergyFractionEm_E [private] |
Definition at line 187 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mEnergyFractionEm_F [private] |
Definition at line 188 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 183 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 184 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 185 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mEScale [private] |
Definition at line 225 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEScale_pt10 [private] |
Definition at line 229 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mEScaleFineBin [private] |
Definition at line 230 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mEta [private] |
Definition at line 51 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mEtaFineBin [private] |
Definition at line 52 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mEtaFineBin1m [private] |
Definition at line 56 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEtaFineBin1p [private] |
Definition at line 53 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEtaFineBin2m [private] |
Definition at line 57 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEtaFineBin2p [private] |
Definition at line 54 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEtaFineBin3m [private] |
Definition at line 58 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEtaFineBin3p [private] |
Definition at line 55 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mEtaFirst [private] |
Definition at line 144 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
std::string CaloJetTester::METType_ [private] |
Definition at line 43 of file CaloJetTester.h.
double CaloJetTester::mGenEnergyFractionThreshold [private] |
Definition at line 275 of file CaloJetTester.h.
Referenced by analyze().
MonitorElement* CaloJetTester::mGenEta [private] |
Definition at line 205 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mGenEtaFirst [private] |
Definition at line 212 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 220 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mGenPhi [private] |
Definition at line 206 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mGenPhiFirst [private] |
Definition at line 213 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mGenPt [private] |
Definition at line 207 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mGenPt_3000 [private] |
Definition at line 209 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mGenPt_80 [private] |
Definition at line 208 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHadEnergyInHB [private] |
Definition at line 167 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHadEnergyInHB_3000 [private] |
Definition at line 174 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mHadEnergyInHB_80 [private] |
Definition at line 171 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHadEnergyInHE [private] |
Definition at line 169 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHadEnergyInHE_3000 [private] |
Definition at line 175 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mHadEnergyInHE_80 [private] |
Definition at line 172 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHadEnergyInHF [private] |
Definition at line 168 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHadEnergyInHO [private] |
Definition at line 166 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHadEnergyInHO_3000 [private] |
Definition at line 173 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHadEnergyInHO_80 [private] |
Definition at line 170 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHadEnergyProfile [private] |
Definition at line 285 of file CaloJetTester.h.
Definition at line 288 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mHadTiming [private] |
Definition at line 76 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHBEne [private] |
Definition at line 305 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mHBTime [private] |
Definition at line 306 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mHEEne [private] |
Definition at line 307 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mHETime [private] |
Definition at line 308 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mHFEne [private] |
Definition at line 311 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mHFLong [private] |
Definition at line 192 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHFLong_3000 [private] |
Definition at line 194 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mHFLong_80 [private] |
Definition at line 193 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHFShort [private] |
Definition at line 195 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHFShort_3000 [private] |
Definition at line 197 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mHFShort_80 [private] |
Definition at line 196 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHFTime [private] |
Definition at line 312 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mHFTotal [private] |
Definition at line 189 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHFTotal_3000 [private] |
Definition at line 191 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mHFTotal_80 [private] |
Definition at line 190 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mHOEne [private] |
Definition at line 309 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mHOTime [private] |
Definition at line 310 of file CaloJetTester.h.
edm::InputTag CaloJetTester::mInputCollection [private] |
Definition at line 39 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 40 of file CaloJetTester.h.
Referenced by analyze().
MonitorElement* CaloJetTester::mjetArea [private] |
Definition at line 102 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mJetEnergyProfile [private] |
Definition at line 287 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mlinEScale [private] |
Definition at line 226 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mMass [private] |
Definition at line 70 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mMass_3000 [private] |
Definition at line 72 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mMass_80 [private] |
Definition at line 71 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mMatchedGenJetsEta [private] |
Definition at line 219 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mMatchedGenJetsPt [private] |
Definition at line 217 of file CaloJetTester.h.
double CaloJetTester::mMatchGenPtThreshold [private] |
Definition at line 274 of file CaloJetTester.h.
Referenced by analyze().
MonitorElement* CaloJetTester::mMaxEInEmTowers [private] |
Definition at line 164 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mMaxEInHadTowers [private] |
Definition at line 165 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mMjj [private] |
Definition at line 160 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mMjj_3000 [private] |
Definition at line 161 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mN90 [private] |
Definition at line 198 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mNJets1 [private] |
Definition at line 156 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mNJets2 [private] |
Definition at line 157 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mNJetsEtaC [private] |
Definition at line 153 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mNJetsEtaF [private] |
Definition at line 154 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mNJetsEtaF_30 [private] |
Definition at line 137 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
std::string CaloJetTester::mOutputFile [private] |
Definition at line 41 of file CaloJetTester.h.
Referenced by CaloJetTester(), and endJob().
MonitorElement* CaloJetTester::mP [private] |
Definition at line 64 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mP_3000 [private] |
Definition at line 66 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mP_80 [private] |
Definition at line 65 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mPhi [private] |
Definition at line 59 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mPhiFineBin [private] |
Definition at line 60 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mPhiFirst [private] |
Definition at line 145 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mPt [private] |
Definition at line 67 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mPt_3000 [private] |
Definition at line 69 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mPt_80 [private] |
Definition at line 68 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mPtFirst [private] |
Definition at line 149 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mPtFirst_3000 [private] |
Definition at line 151 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mPtFirst_80 [private] |
Definition at line 150 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mPthat_3000 [private] |
Definition at line 202 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mPthat_80 [private] |
Definition at line 201 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mpTRatio [private] |
Definition at line 85 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 92 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mpTRatio_200_600_d [private] |
Definition at line 90 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mpTRatio_30_200_d [private] |
Definition at line 89 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mpTRatio_600_1500_d [private] |
Definition at line 91 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mpTRatioB_d [private] |
Definition at line 86 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mpTRatioE_d [private] |
Definition at line 87 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mpTRatioF_d [private] |
Definition at line 88 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mpTResponse [private] |
Definition at line 93 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 100 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 98 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 97 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mpTResponse_30_d [private] |
Definition at line 101 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 99 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 107 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 109 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 110 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 111 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 112 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 108 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mpTResponseB_d [private] |
Definition at line 94 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mpTResponseE_d [private] |
Definition at line 95 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::mpTResponseF_d [private] |
Definition at line 96 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
Definition at line 267 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mpTScale1D_200_600 [private] |
Definition at line 265 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mpTScale1D_30_200 [private] |
Definition at line 264 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mpTScale1D_600_1500 [private] |
Definition at line 266 of file CaloJetTester.h.
Definition at line 261 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale1DB_200_600 [private] |
Definition at line 255 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale1DB_30_200 [private] |
Definition at line 252 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 258 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 262 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale1DE_200_600 [private] |
Definition at line 256 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale1DE_30_200 [private] |
Definition at line 253 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 259 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 263 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale1DF_200_600 [private] |
Definition at line 257 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale1DF_30_200 [private] |
Definition at line 254 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 260 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 250 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 245 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mpTScale_200_600_d [private] |
Definition at line 248 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale_200_600_s [private] |
Definition at line 243 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mpTScale_30_200_d [private] |
Definition at line 247 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale_30_200_s [private] |
Definition at line 242 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mpTScale_600_1500_d [private] |
Definition at line 249 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale_600_1500_s [private] |
Definition at line 244 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mpTScale_a [private] |
Definition at line 138 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale_a_nvtx_0_5 [private] |
Definition at line 113 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 119 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 122 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 125 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 128 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 116 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale_b [private] |
Definition at line 139 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale_b_nvtx_0_5 [private] |
Definition at line 114 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 120 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 123 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 126 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 129 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 117 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale_c [private] |
Definition at line 140 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale_c_nvtx_0_5 [private] |
Definition at line 115 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 121 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 124 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 127 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 130 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 118 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale_nvtx_0_5 [private] |
Definition at line 131 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale_nvtx_10_15 [private] |
Definition at line 133 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale_nvtx_15_20 [private] |
Definition at line 134 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale_nvtx_20_30 [private] |
Definition at line 135 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
Definition at line 136 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale_nvtx_5_10 [private] |
Definition at line 132 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScale_pT [private] |
Definition at line 141 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScaleB_d [private] |
Definition at line 235 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScaleB_s [private] |
Definition at line 232 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mpTScaleE_d [private] |
Definition at line 236 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScaleE_s [private] |
Definition at line 233 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mpTScaleF_d [private] |
Definition at line 237 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScaleF_s [private] |
Definition at line 234 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mpTScalePhiB_d [private] |
Definition at line 238 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScalePhiE_d [private] |
Definition at line 239 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::mpTScalePhiF_d [private] |
Definition at line 240 of file CaloJetTester.h.
Referenced by CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
double CaloJetTester::mReverseEnergyFractionThreshold [private] |
Definition at line 276 of file CaloJetTester.h.
Referenced by analyze().
Definition at line 221 of file CaloJetTester.h.
MonitorElement* CaloJetTester::mRMatch [private] |
Definition at line 222 of file CaloJetTester.h.
double CaloJetTester::mRThreshold [private] |
Definition at line 277 of file CaloJetTester.h.
Referenced by analyze().
std::string CaloJetTester::mTurnOnEverything [private] |
Definition at line 282 of file CaloJetTester.h.
Referenced by analyze(), CaloJetTester(), and PFJetTesterUnCorr::fillMatchHists().
MonitorElement* CaloJetTester::numberofevents [private] |
Definition at line 48 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::nvtx_0_30 [private] |
Definition at line 105 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().
MonitorElement* CaloJetTester::nvtx_0_60 [private] |
Definition at line 106 of file CaloJetTester.h.
Referenced by analyze(), and CaloJetTester().