19 mInputCollection (iConfig.getParameter<
edm::
InputTag> (
"src")),
20 mInputPFCandCollection (iConfig.getParameter<
edm::
InputTag> (
"PFcands")),
21 mOutputFile (iConfig.getUntrackedParameter<
std::
string>(
"OutputFile",
"")),
25 mRecoJetPtThreshold (iConfig.getParameter<double> (
"recoJetPtThreshold")),
26 mReverseEnergyFractionThreshold(iConfig.getParameter<double> (
"reverseEnergyFractionThreshold")),
27 mRThreshold (iConfig.getParameter<double> (
"RThreshold")),
28 JetCorrectionService (iConfig.getParameter<
std::
string> (
"JetCorrections"))
362 double edge_pseudorapidity[
etaBins_ +1] = {-5.191, -2.650, -2.043, -1.740, -1.479, -1.131, -0.783, -0.522, 0.522, 0.783, 1.131, 1.479, 1.740, 2.043, 2.650, 5.191 };
364 TH2F *h2D_etabins_vs_pt2 =
new TH2F(
"h2D_etabins_vs_pt2",
";#eta;sum p_{T}^{2}",
etaBins_,edge_pseudorapidity,10000,0,10000);
365 TH2F *h2D_etabins_vs_pt =
new TH2F(
"h2D_etabins_vs_pt",
";#eta;sum p_{T}",
etaBins_,edge_pseudorapidity,10000,-1000,1000);
366 TH2F *h2D_pfcand_etabins_vs_pt =
new TH2F(
"h2D_etabins_vs_pt",
";#eta;sum p_{T}",
etaBins_,edge_pseudorapidity,300, 0, 300);
370 mNPFpart = ibooker.
book1D(
"NPFpart",
"No of particle flow candidates",1000,0,1000);
371 mPFPt = ibooker.
book1D(
"PFPt",
"PF candidate p_{T}",10000,-500,500);
372 mPFEta = ibooker.
book1D(
"PFEta",
"PF candidate #eta",120,-6,6);
373 mPFPhi = ibooker.
book1D(
"PFPhi",
"PF candidate #phi",70,-3.5,3.5);
374 mPFVsPt = ibooker.
book1D(
"PFVsPt",
"Vs PF candidate p_{T}",1000,-500,500);
375 mPFVsPtInitial = ibooker.
book1D(
"PFVsPtInitial",
"Vs background subtracted PF candidate p_{T}",1000,-500,500);
376 mPFVsPtInitial_HF = ibooker.
book2D(
"PFVsPtInitial_HF",
"Vs background subtracted PF candidate p_{T} versus HF", 600,0,6000,1000,-500,500);
441 mPFArea = ibooker.
book1D(
"PFArea",
"VS PF candidate area",100,0,4);
442 mPFDeltaR = ibooker.
book1D(
"PFDeltaR",
"VS PF candidate DeltaR",100,0,4);
465 mSumPFVsPt = ibooker.
book1D(
"SumPFVsPt",
"Sum of final PF VS p_{T}",1000,-10000,10000);
467 mSumPFPt = ibooker.
book1D(
"SumPFPt",
"Sum of initial PF p_{T}",1000,-10000,10000);
479 mSumPFVsPtInitial_HF = ibooker.
book2D(
"SumPFVsPtInitial_HF",
"HF Energy (y axis) vs Sum PF Vs p_{T} before subtraction (x axis)",1000,-1000,1000,1000,0,10000);
480 mSumPFVsPt_HF = ibooker.
book2D(
"SumPFVsPt_HF",
"HF energy (y axis) vs Sum PF Vs p_{T} final (x axis)",1000,-1000,1000,1000,0,10000);
481 mSumPFPt_HF = ibooker.
book2D(
"SumPFPt_HF",
"HF energy (y axis) vs Sum initial PF p_{T} (x axis)",1000,-1000,1000,1000,0,10000);
507 mSumPFVsPt_0p522_0p783 = ibooker.
book1D(
"mSumPFVsPt_0p522_0p783",
"Sum PFVsPt variable in the eta range 0.522 to 0.783",1000,-1000,1000);
508 mSumPFVsPt_0p783_1p131 = ibooker.
book1D(
"mSumPFVsPt_0p783_1p131",
"Sum PFVsPt variable in the eta range 0.783 to 1.131",1000,-1000,1000);
509 mSumPFVsPt_1p131_1p479 = ibooker.
book1D(
"mSumPFVsPt_1p131_1p479",
"Sum PFVsPt variable in the eta range 1.131 to 1.479",1000,-1000,1000);
510 mSumPFVsPt_1p479_1p740 = ibooker.
book1D(
"mSumPFVsPt_1p479_1p740",
"Sum PFVsPt variable in the eta range 1.479 to 1.740",1000,-1000,1000);
511 mSumPFVsPt_1p740_2p043 = ibooker.
book1D(
"mSumPFVsPt_1p740_2p043",
"Sum PFVsPt variable in the eta range 1.740 to 2.043",1000,-1000,1000);
512 mSumPFVsPt_2p043_2p650 = ibooker.
book1D(
"mSumPFVsPt_2p043_2p650",
"Sum PFVsPt variable in the eta range 2.043 to 2.650",1000,-5000,5000);
513 mSumPFVsPt_2p650_5p191 = ibooker.
book1D(
"mSumPFVsPt_2p650_5p191",
"Sum PFVsPt variable in the eta range 2.650 to 5.191",1000,-5000,5000);
571 mNCalopart = ibooker.
book1D(
"NCalopart",
"No of particle flow candidates",1000,0,10000);
572 mCaloPt = ibooker.
book1D(
"CaloPt",
"Calo candidate p_{T}",1000,-5000,5000);
573 mCaloEta = ibooker.
book1D(
"CaloEta",
"Calo candidate #eta",120,-6,6);
574 mCaloPhi = ibooker.
book1D(
"CaloPhi",
"Calo candidate #phi",70,-3.5,3.5);
575 mCaloVsPt = ibooker.
book1D(
"CaloVsPt",
"Vs Calo candidate p_{T}",1000,-5000,5000);
576 mCaloVsPtInitial = ibooker.
book1D(
"CaloVsPtInitial",
"Vs background subtracted Calo candidate p_{T}",1000,-500,500);
577 mCaloArea = ibooker.
book1D(
"CaloArea",
"VS Calo candidate area",100,0,4);
579 mSumCaloVsPt = ibooker.
book1D(
"SumCaloVsPt",
"Sum of final Calo VS p_{T} ",1000,-10000,10000);
581 mSumCaloPt = ibooker.
book1D(
"SumCaloPt",
"Sum Calo p_{T}",1000,-10000,10000);
588 mSumSquaredCaloPt = ibooker.
book1D(
"SumSquaredCaloPt",
"Sum of initial Calo tower p_{T} squared",10000,0,10000);
593 mSumCaloVsPtInitial_HF = ibooker.
book2D(
"SumCaloVsPtInitial_HF",
"HF Energy (y axis) vs Sum Calo Vs p_{T} before subtraction (x axis)",1000,-1000,1000,1000,0,10000);
594 mSumCaloVsPt_HF = ibooker.
book2D(
"SumCaloVsPt_HF",
"HF Energy (y axis) vs Sum Calo Vs p_{T} (x axis)",1000,-1000,1000,1000,0,10000);
595 mSumCaloPt_HF = ibooker.
book2D(
"SumCaloPt_HF",
"HF Energy (y axis) vs Sum Calo tower p_{T}",1000,-1000,1000,1000,0,10000);
629 mSumCaloPt_n5p191_n2p650 = ibooker.
book1D(
"mSumCaloPt_n5p191_n2p650",
"Sum Calo tower pT variable in the eta range -5.191 to -2.650",1000,-5000,5000);
630 mSumCaloPt_n2p650_n2p043 = ibooker.
book1D(
"mSumCaloPt_n2p650_n2p043",
"Sum Calo tower pT variable in the eta range -2.650 to -2.043",1000,-5000,5000);
631 mSumCaloPt_n2p043_n1p740 = ibooker.
book1D(
"mSumCaloPt_n2p043_n1p740",
"Sum Calo tower pT variable in the eta range -2.043 to -1.740",1000,-1000,1000);
632 mSumCaloPt_n1p740_n1p479 = ibooker.
book1D(
"mSumCaloPt_n1p740_n1p479",
"Sum Calo tower pT variable in the eta range -1.740 to -1.479",1000,-1000,1000);
633 mSumCaloPt_n1p479_n1p131 = ibooker.
book1D(
"mSumCaloPt_n1p479_n1p131",
"Sum Calo tower pT variable in the eta range -1.479 to -1.131",1000,-1000,1000);
634 mSumCaloPt_n1p131_n0p783 = ibooker.
book1D(
"mSumCaloPt_n1p131_n0p783",
"Sum Calo tower pT variable in the eta range -1.131 to -0.783",1000,-1000,1000);
635 mSumCaloPt_n0p783_n0p522 = ibooker.
book1D(
"mSumCaloPt_n0p783_n0p522",
"Sum Calo tower pT variable in the eta range -0.783 to -0.522",1000,-1000,1000);
636 mSumCaloPt_n0p522_0p522 = ibooker.
book1D(
"mSumCaloPt_n0p522_0p522",
"Sum Calo tower pT variable in the eta range -0.522 to 0.522",1000,-1000,1000);
637 mSumCaloPt_0p522_0p783 = ibooker.
book1D(
"mSumCaloPt_0p522_0p783",
"Sum Calo tower pT variable in the eta range 0.522 to 0.783",1000,-1000,1000);
638 mSumCaloPt_0p783_1p131 = ibooker.
book1D(
"mSumCaloPt_0p783_1p131",
"Sum Calo tower pT variable in the eta range 0.783 to 1.131",1000,-1000,1000);
639 mSumCaloPt_1p131_1p479 = ibooker.
book1D(
"mSumCaloPt_1p131_1p479",
"Sum Calo tower pT variable in the eta range 1.131 to 1.479",1000,-1000,1000);
640 mSumCaloPt_1p479_1p740 = ibooker.
book1D(
"mSumCaloPt_1p479_1p740",
"Sum Calo tower pT variable in the eta range 1.479 to 1.740",1000,-1000,1000);
641 mSumCaloPt_1p740_2p043 = ibooker.
book1D(
"mSumCaloPt_1p740_2p043",
"Sum Calo tower pT variable in the eta range 1.740 to 2.043",1000,-1000,1000);
642 mSumCaloPt_2p043_2p650 = ibooker.
book1D(
"mSumCaloPt_2p043_2p650",
"Sum Calo tower pT variable in the eta range 2.043 to 2.650",1000,-5000,5000);
643 mSumCaloPt_2p650_5p191 = ibooker.
book1D(
"mSumCaloPt_2p650_5p191",
"Sum Calo tower pT variable in the eta range 2.650 to 5.191",1000,-5000,5000);
649 mSumpt = ibooker.
book1D(
"SumpT",
"Sum p_{T} of all the PF candidates per event",1000,0,10000);
652 mNvtx = ibooker.
book1D(
"Nvtx",
"number of vertices", 60, 0, 60);
653 mHF = ibooker.
book1D(
"HF",
"HF energy distribution",1000,0,10000);
656 mEta = ibooker.
book1D(
"Eta",
"Eta", 120, -6, 6);
657 mPhi = ibooker.
book1D(
"Phi",
"Phi", 70, -3.5, 3.5);
658 mPt = ibooker.
book1D(
"Pt",
"Pt", 100, 0, 1000);
659 mP = ibooker.
book1D(
"P",
"P", 100, 0, 1000);
661 mMass = ibooker.
book1D(
"Mass",
"Mass", 100, 0, 200);
665 mNJets_40 = ibooker.
book1D(
"NJets_pt_greater_40",
"NJets pT > 40 GeV", 100, 0, 100);
669 LogInfo(
"OutputInfo") <<
" Histograms will NOT be saved";
673 delete h2D_etabins_vs_pt2;
674 delete h2D_etabins_vs_pt;
675 delete h2D_pfcand_etabins_vs_pt;
725 int nVertex = vtxs->size();
727 for (
unsigned int i = 0 ;
i< vtxs->size(); ++
i){
728 unsigned int daughter = (*vtxs)[
i].tracksSize();
729 if( daughter > (*vtxs)[greatestvtx].tracksSize()) greatestvtx =
i;
735 vtx = (*vtxs)[greatestvtx].position();
737 int nGoodVertices = 0;
741 for (
unsigned i=0;
i<pvHandle->size();
i++)
743 if ((*pvHandle)[
i].ndof() > 4 &&
744 (fabs((*pvHandle)[
i].
z()) <= 24) &&
807 Float_t vsPtInitial = 0;
810 Int_t NCaloTower = 0;
815 Float_t pfDeltaR = 0;
819 Float_t SumPt_value = 0;
821 double edge_pseudorapidity[
etaBins_ +1] = {-5.191, -2.650, -2.043, -1.740, -1.479, -1.131, -0.783, -0.522, 0.522, 0.783, 1.131, 1.479, 1.740, 2.043, 2.650, 5.191 };
824 vector < vector <float> > numbers;
831 Float_t SumCaloVsPtInitial[
etaBins_];
835 Float_t SumSquaredCaloVsPtInitial[
etaBins_];
836 Float_t SumSquaredCaloVsPt[
etaBins_];
845 SumCaloVsPtInitial[
i] = 0;
848 SumSquaredCaloVsPtInitial[
i] = 0;
849 SumSquaredCaloVsPt[
i] = 0;
850 SumSquaredCaloPt[
i] = 0;
852 hSumCaloVsPtInitial[
i] =
new TH1F(Form(
"hSumCaloVsPtInitial_%d",
i),
"",10000,-10000,10000);
853 hSumCaloVsPt[
i] =
new TH1F(Form(
"hSumCaloVsPt_%d",
i),
"",10000,-10000,10000);
854 hSumCaloPt[
i] =
new TH1F(Form(
"hSumCaloPt_%d",
i),
"",10000,-10000,10000);
858 for(
unsigned icand = 0;icand<caloCandidates->
size(); icand++){
860 const CaloTower & tower = (*caloCandidates)[icand];
863 if(tower.
p4(vtx).Et() < 0.1)
continue;
873 vsArea = voronoi.
area();
878 caloPt = tower.
p4(vtx).Et();
879 caloEta = tower.
p4(vtx).Eta();
880 caloPhi = tower.
p4(vtx).Phi();
884 if(caloEta >= edge_pseudorapidity[
k] && caloEta < edge_pseudorapidity[
k+1]){
885 SumCaloVsPtInitial[
k] = SumCaloVsPtInitial[
k] + vsPtInitial;
886 SumCaloVsPt[
k] = SumCaloVsPt[
k] + vsPt;
887 SumCaloPt[
k] = SumCaloPt[
k] + caloPt;
888 SumSquaredCaloVsPtInitial[
k] = SumSquaredCaloVsPtInitial[
k] + vsPtInitial*vsPtInitial;
889 SumSquaredCaloVsPt[
k] = SumSquaredCaloVsPt[
k] + vsPt*vsPt;
890 SumSquaredCaloPt[
k] = SumSquaredCaloPt[
k] + caloPt*caloPt;
896 SumPt_value = SumPt_value + caloPt;
909 hSumCaloVsPtInitial[
k]->Fill(SumCaloVsPtInitial[
k]);
910 hSumCaloVsPt[
k]->Fill(SumCaloVsPt[k]);
911 hSumCaloPt[
k]->Fill(SumCaloPt[k]);
915 Float_t Evt_SumCaloVsPt = 0;
916 Float_t Evt_SumCaloVsPtInitial = 0;
917 Float_t Evt_SumCaloPt = 0;
919 Float_t Evt_SumSquaredCaloVsPt = 0;
920 Float_t Evt_SumSquaredCaloVsPtInitial = 0;
921 Float_t Evt_SumSquaredCaloPt = 0;
973 for(
size_t k = 0;
k<nedge_pseudorapidity-1;
k++){
975 Evt_SumCaloVsPtInitial = Evt_SumCaloVsPtInitial + SumCaloVsPtInitial[
k];
976 Evt_SumCaloVsPt = Evt_SumCaloVsPt + SumCaloVsPt[
k];
977 Evt_SumCaloPt = Evt_SumCaloPt + SumCaloPt[
k];
983 Evt_SumSquaredCaloVsPtInitial = Evt_SumSquaredCaloVsPtInitial + SumSquaredCaloVsPtInitial[
k];
984 Evt_SumSquaredCaloVsPt = Evt_SumSquaredCaloVsPt + SumSquaredCaloVsPt[
k];
985 Evt_SumSquaredCaloPt = Evt_SumSquaredCaloPt + SumSquaredCaloPt[
k];
991 delete hSumCaloVsPtInitial[
k];
992 delete hSumCaloVsPt[
k];
993 delete hSumCaloPt[
k];
1015 Float_t SumPFVsPtInitial[
etaBins_];
1019 Float_t SumSquaredPFVsPtInitial[
etaBins_];
1020 Float_t SumSquaredPFVsPt[
etaBins_];
1028 SumPFVsPtInitial[
i] = 0;
1031 SumSquaredPFVsPtInitial[
i] = 0;
1032 SumSquaredPFVsPt[
i] = 0;
1033 SumSquaredPFPt[
i] = 0;
1035 hSumPFVsPtInitial[
i] =
new TH1F(Form(
"hSumPFVsPtInitial_%d",
i),
"",10000,-10000,10000);
1036 hSumPFVsPt[
i] =
new TH1F(Form(
"hSumPFVsPt_%d",
i),
"",10000,-10000,10000);
1037 hSumPFPt[
i] =
new TH1F(Form(
"hSumPFPt_%d",
i),
"",10000,-10000,10000);
1041 vector<vector <float> > PF_Space(1,vector<float>(3));
1043 for(
unsigned icand=0;icand<pfCandidateColl->size(); icand++)
1047 if(pfCandidate.
pt() < 5)
continue;
1053 vsPt = voronoi.
pt();
1055 vsArea = voronoi.
area();
1060 pfPt = pfCandidate.
pt();
1061 pfEta = pfCandidate.
eta();
1062 pfPhi = pfCandidate.
phi();
1069 if(fabs(pfEta)<
BarrelEta) isBarrel =
true;
1118 tempVector.push_back(pfPt);
1119 tempVector.push_back(pfEta);
1120 tempVector.push_back(pfPhi);
1121 tempVector.push_back(vsPtInitial);
1122 tempVector.push_back(vsPt);
1125 numbers.push_back(tempVector);
1130 if(pfEta >= edge_pseudorapidity[
k] && pfEta < edge_pseudorapidity[
k+1]){
1131 SumPFVsPtInitial[
k] = SumPFVsPtInitial[
k] + vsPtInitial;
1132 SumPFVsPt[
k] = SumPFVsPt[
k] + vsPt;
1133 SumPFPt[
k] = SumPFPt[
k] + pfPt;
1135 SumSquaredPFVsPtInitial[
k] = SumSquaredPFVsPtInitial[
k] + vsPtInitial*vsPtInitial;
1136 SumSquaredPFVsPt[
k] = SumSquaredPFVsPt[
k] + vsPt*vsPt;
1137 SumSquaredPFPt[
k] = SumSquaredPFPt[
k] + pfPt*pfPt;
1143 SumPt_value = SumPt_value + pfPt;
1154 if(hibin >= 190 && hibin < 200)
1157 if(hibin >= 180 && hibin < 190)
1160 if(hibin >= 170 && hibin < 180)
1163 if(hibin >= 160 && hibin < 170)
1166 if(hibin >= 150 && hibin < 160)
1169 if(hibin >= 140 && hibin < 150)
1172 if(hibin >= 130 && hibin < 140)
1175 if(hibin >= 120 && hibin < 130)
1178 if(hibin >= 110 && hibin < 120)
1181 if(hibin >= 100 && hibin < 110)
1184 if(hibin >= 90 && hibin < 100)
1187 if(hibin >= 80 && hibin < 90)
1190 if(hibin >= 70 && hibin < 80)
1193 if(hibin >= 60 && hibin < 70)
1196 if(hibin >= 50 && hibin < 60)
1199 if(hibin >= 40 && hibin < 50)
1202 if(hibin >= 30 && hibin < 40)
1205 if(hibin >= 20 && hibin < 30)
1208 if(hibin >= 10 && hibin < 20)
1211 if(hibin >= 0 && hibin < 10)
1219 if(hibin >= 190 && hibin < 200)
1222 if(hibin >= 180 && hibin < 190)
1225 if(hibin >= 170 && hibin < 180)
1228 if(hibin >= 160 && hibin < 170)
1231 if(hibin >= 150 && hibin < 160)
1234 if(hibin >= 140 && hibin < 150)
1237 if(hibin >= 130 && hibin < 140)
1240 if(hibin >= 120 && hibin < 130)
1243 if(hibin >= 110 && hibin < 120)
1246 if(hibin >= 100 && hibin < 110)
1249 if(hibin >= 90 && hibin < 100)
1252 if(hibin >= 80 && hibin < 90)
1255 if(hibin >= 70 && hibin < 80)
1258 if(hibin >= 60 && hibin < 70)
1261 if(hibin >= 50 && hibin < 60)
1264 if(hibin >= 40 && hibin < 50)
1267 if(hibin >= 30 && hibin < 40)
1270 if(hibin >= 20 && hibin < 30)
1273 if(hibin >= 10 && hibin < 20)
1276 if(hibin >= 0 && hibin < 10)
1286 if(hibin >= 190 && hibin < 200)
1289 if(hibin >= 180 && hibin < 190)
1292 if(hibin >= 170 && hibin < 180)
1295 if(hibin >= 160 && hibin < 170)
1298 if(hibin >= 150 && hibin < 160)
1301 if(hibin >= 140 && hibin < 150)
1304 if(hibin >= 130 && hibin < 140)
1307 if(hibin >= 120 && hibin < 130)
1310 if(hibin >= 110 && hibin < 120)
1313 if(hibin >= 100 && hibin < 110)
1316 if(hibin >= 90 && hibin < 100)
1319 if(hibin >= 80 && hibin < 90)
1322 if(hibin >= 70 && hibin < 80)
1325 if(hibin >= 60 && hibin < 70)
1328 if(hibin >= 50 && hibin < 60)
1331 if(hibin >= 40 && hibin < 50)
1334 if(hibin >= 30 && hibin < 40)
1337 if(hibin >= 20 && hibin < 30)
1340 if(hibin >= 10 && hibin < 20)
1343 if(hibin >= 0 && hibin < 10)
1360 hSumPFVsPtInitial[
k]->Fill(SumPFVsPtInitial[
k]);
1361 hSumPFVsPt[
k]->Fill(SumPFVsPt[k]);
1362 hSumPFPt[
k]->Fill(SumPFPt[k]);
1366 Float_t Evt_SumPFVsPt = 0;
1367 Float_t Evt_SumPFVsPtInitial = 0;
1368 Float_t Evt_SumPFPt = 0;
1369 Float_t Evt_SumSquaredPFVsPt = 0;
1370 Float_t Evt_SumSquaredPFVsPtInitial = 0;
1371 Float_t Evt_SumSquaredPFPt = 0;
1421 for(
size_t k = 0;
k<nedge_pseudorapidity-1;
k++){
1423 Evt_SumPFVsPtInitial = Evt_SumPFVsPtInitial + SumPFVsPtInitial[
k];
1424 Evt_SumPFVsPt = Evt_SumPFVsPt + SumPFVsPt[
k];
1425 Evt_SumPFPt = Evt_SumPFPt + SumPFPt[
k];
1431 Evt_SumSquaredPFVsPtInitial = Evt_SumSquaredPFVsPtInitial + SumSquaredPFVsPtInitial[
k];
1432 Evt_SumSquaredPFVsPt = Evt_SumSquaredPFVsPt + SumSquaredPFVsPt[
k];
1433 Evt_SumSquaredPFPt = Evt_SumSquaredPFPt + SumSquaredPFPt[
k];
1439 delete hSumPFVsPtInitial[
k];
1440 delete hSumPFVsPt[
k];
1463 for (
unsigned ijet=0; ijet<caloJets->size(); ijet++)
1465 recoJets.push_back((*caloJets)[ijet]);
1471 for (
unsigned ijet=0; ijet<jptJets->size(); ijet++)
1472 recoJets.push_back((*jptJets)[ijet]);
1479 for (
unsigned ijet=0; ijet<basicJets->size();ijet++)
1481 recoJets.push_back((*basicJets)[ijet]);
1485 for (
unsigned ijet=0; ijet<pfJets->size(); ijet++)
1487 recoJets.push_back((*pfJets)[ijet]);
1511 for (
unsigned ijet=0; ijet<recoJets.size(); ijet++) {
1515 if(recoJets[ijet].
pt() > 40)
1527 for(
size_t iii = 0 ; iii < numbers.size() ; iii++)
1529 pfDeltaR =
sqrt((numbers[iii][2]-recoJets[ijet].
phi())*(numbers[iii][2]-recoJets[ijet].
phi()) + (numbers[iii][1]-recoJets[ijet].
eta())*(numbers[iii][1]-recoJets[ijet].
eta()));
1540 if(recoJets[ijet].
pt() > 20 && recoJets[ijet].
pt() < 30)
1546 if(recoJets[ijet].
pt() > 30 && recoJets[ijet].
pt() < 50)
1552 if(recoJets[ijet].
pt() > 50 && recoJets[ijet].
pt() < 80)
1559 if(recoJets[ijet].
pt() > 80 && recoJets[ijet].
pt() < 120)
1566 if(recoJets[ijet].
pt() > 120 && recoJets[ijet].
pt() < 180)
1573 if(recoJets[ijet].
pt() > 180 && recoJets[ijet].
pt() < 300)
1579 if(recoJets[ijet].
pt() > 300)
static const Int_t etaBins_
MonitorElement * mPFCandpT_Forward_photon
MonitorElement * mPFDeltaR_pTCorrected_PFVsInitialpT_30To50
edm::EDGetTokenT< reco::CaloJetCollection > caloJetsToken_
edm::EDGetTokenT< reco::PFCandidateCollection > pfCandToken_
T getParameter(std::string const &) const
virtual double pt() const final
transverse momentum
MonitorElement * mPFVsPtInitial_Barrel_Centrality_25_20
MonitorElement * mCaloEta
MonitorElement * mSumPFVsPt_2p650_5p191
MonitorElement * mSumCaloVsPt_HF
MonitorElement * mSumCaloVsPtInitial_n2p043_n1p740
MonitorElement * mSumCaloVsPt_n5p191_n2p650
MonitorElement * mSumCaloVsPt_n1p131_n0p783
MonitorElement * mSumSquaredPFPt
MonitorElement * mPFCandpT_vs_eta_electron
MonitorElement * mSumPFVsPtInitial
edm::EDGetTokenT< reco::CandidateView > caloCandViewToken_
MonitorElement * mSumCaloPt_n2p043_n1p740
MonitorElement * mCaloPhi
MonitorElement * mPFVsPtInitial_Barrel_Centrality_10_5
MonitorElement * mPFCandpT_Forward_EME_inHF
edm::EDGetTokenT< reco::JPTJetCollection > jptJetsToken_
MonitorElement * mSumCaloVsPtInitial_HF
MonitorElement * mSumPFVsPtInitial_1p131_1p479
MonitorElement * mSumSquaredCaloVsPt_eta
MonitorElement * mSumPFVsPt_n5p191_n2p650
MonitorElement * mPFVsPtInitial_EndCap_Centrality_60_55
MonitorElement * mPFDeltaR_pTCorrected_PFVsInitialpT_80To120
edm::InputTag centralityTag_
MonitorElement * mSumCaloVsPtInitial_n2p650_n2p043
MonitorElement * mCaloVsPtInitial
math::PtEtaPhiMLorentzVector p4(double vtxZ) const
MonitorElement * mPFDeltaR_pTCorrected_PFpT_180To300
MonitorElement * mSumCaloVsPt_1p479_1p740
MonitorElement * mPFVsPtInitial_Barrel_Centrality_55_50
MonitorElement * mPFVsPtInitial_Barrel_Centrality_90_85
MonitorElement * mSumCaloVsPt_n2p650_n2p043
MonitorElement * mSumCaloVsPt_n0p783_n0p522
virtual double eta() const final
momentum pseudorapidity
MonitorElement * mSumSquaredCaloVsPtInitial_eta
MonitorElement * mPFVsPtInitial_EndCap_Centrality_15_10
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * mSumCaloVsPtInitial_1p479_1p740
MonitorElement * mPFCandpT_Forward_muon
MonitorElement * mPFVsPtInitial_HF_Centrality_75_70
MonitorElement * mSumPFVsPt_n2p043_n1p740
MonitorElement * mPFVsPtInitial_EndCap_Centrality_55_50
edm::EDGetTokenT< reco::PFJetCollection > pfJetsToken_
MonitorElement * mSumCaloVsPtInitial_1p131_1p479
MonitorElement * mPFVsPtInitial_HF_Centrality_20_15
MonitorElement * mSumCaloPt_0p783_1p131
MonitorElement * mPFVsPtInitial_EndCap_Centrality_25_20
MonitorElement * mPFCandpT_Endcap_NeutralHadron
MonitorElement * mPFVsPtInitial_HF
MonitorElement * mPFVsPtInitial_HF_Centrality_25_20
MonitorElement * mCaloArea
edm::EDGetTokenT< std::vector< float > > backgrounds_value_
MonitorElement * mSumCaloVsPtInitial_n1p479_n1p131
MonitorElement * mPFVsPtInitial_Barrel_Centrality_5_0
MonitorElement * mPFCandpT_vs_eta_EME_inHF
MonitorElement * mSumPFPt_n0p522_0p522
MonitorElement * mSumSquaredCaloPt
bool isForward(DetId const &)
MonitorElement * mPFVsPtInitial_Barrel_Centrality_95_90
MonitorElement * mSumPFPt_2p043_2p650
MonitorElement * mSumPFVsPt_0p522_0p783
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * mSumSquaredCaloVsPtInitial
MonitorElement * mSumCaloPt_1p131_1p479
MonitorElement * mPFVsPtInitial_EndCap_Centrality_30_25
MonitorElement * mSumSquaredPFVsPt_eta
MonitorElement * mSumPFVsPt_eta
MonitorElement * mSumPFVsPtInitial_2p650_5p191
MonitorElement * mSumCaloVsPt_1p131_1p479
MonitorElement * mSumPFPt_n1p740_n1p479
MonitorElement * mPFVsPtInitial_HF_Centrality_85_80
MonitorElement * mSumPFVsPtInitial_n2p650_n2p043
MonitorElement * mSumPFPt_2p650_5p191
MonitorElement * mSumPFVsPtInitial_0p783_1p131
MonitorElement * mPFCandpT_Forward_electron
MonitorElement * mPFDeltaR_pTCorrected_PFpT_300ToInf
edm::EDGetTokenT< std::vector< reco::Vertex > > pvToken_
MonitorElement * mSumPFVsPtInitial_n0p783_n0p522
MonitorElement * mPFVsPtInitial_EndCap_Centrality_10_5
MonitorElement * mSumCaloPt_eta
MonitorElement * mSumPFPt_0p522_0p783
MonitorElement * mSumPFPt_n2p650_n2p043
MonitorElement * mPFCandpT_vs_eta_muon
MonitorElement * mPFVsPtInitial_EndCap_Centrality_80_75
MonitorElement * mSumCaloPt_n1p740_n1p479
MonitorElement * mPFVsPtInitial_Barrel_Centrality_15_10
MonitorElement * mPFDeltaR_pTCorrected_PFVsInitialpT_50To80
MonitorElement * mSumPFVsPt_1p740_2p043
MonitorElement * mPFCandpT_Endcap_HadE_inHF
virtual double phi() const final
momentum azimuthal angle
edm::EDGetTokenT< int > centralityBinToken
MonitorElement * mSumCaloPt_0p522_0p783
MonitorElement * mSumPFPt_HF
MonitorElement * mSumCaloVsPt_n1p479_n1p131
MonitorElement * mPFCandpT_Endcap_ChargedHadron
MonitorElement * mSumCaloPt_n2p650_n2p043
MonitorElement * mSumPFPt_0p783_1p131
MonitorElement * mSumCaloPt_1p479_1p740
MonitorElement * mSumPFVsPt_1p479_1p740
MonitorElement * mPFCandpT_vs_eta_NeutralHadron
MonitorElement * mSumPFVsPt_HF
MonitorElement * mPFVsPtInitial_HF_Centrality_45_40
MonitorElement * mSumCaloVsPtInitial_0p522_0p783
MonitorElement * mPFVsPtInitial_EndCap_Centrality_100_95
MonitorElement * mSumCaloPt_HF
MonitorElement * mPFVsPtInitial
MonitorElement * mPFDeltaR_pTCorrected_PFVsInitialpT_20To30
MonitorElement * mPFVsPtInitial_EndCap_Centrality_70_65
MonitorElement * mSumCaloVsPtInitial_n0p522_0p522
MonitorElement * mSumPFVsPtInitial_n1p479_n1p131
MonitorElement * mPFVsPtInitial_Barrel_Centrality_100_95
MonitorElement * mPFCandpT_vs_eta_photon
MonitorElement * mPFVsPtInitial_Barrel_Centrality_20_15
MonitorElement * mSumPFVsPt_n2p650_n2p043
MonitorElement * mSumPFVsPt_n0p522_0p522
edm::EDGetTokenT< reco::Centrality > centralityToken
MonitorElement * mSumSquaredPFVsPtInitial
MonitorElement * mPFCandpT_Forward_ChargedHadron
MonitorElement * mSumCaloVsPtInitial_n1p131_n0p783
MonitorElement * mSumSquaredCaloVsPt
MonitorElement * mSumPFVsPt_1p131_1p479
MonitorElement * mPFVsPtInitial_Barrel_Centrality_75_70
MonitorElement * mSumPFPt_1p131_1p479
MonitorElement * mSumPFVsPtInitial_1p479_1p740
MonitorElement * mSumPFVsPt_n0p783_n0p522
MonitorElement * mPFCandpT_Endcap_muon
MonitorElement * mPFCandpT_Endcap_photon
MonitorElement * mPFDeltaR_Scaled_R
MonitorElement * mSumPFPt
MonitorElement * mSumPFPt_n1p479_n1p131
edm::EDGetTokenT< std::vector< reco::Vertex > > hiVertexToken_
MonitorElement * mPFVsPtInitial_EndCap_Centrality_65_60
MonitorElement * mConstituents
MonitorElement * mPFDeltaR_pTCorrected_PFpT_80To120
MonitorElement * mPFVsPtInitial_EndCap_Centrality_50_45
MonitorElement * book1D(Args &&...args)
MonitorElement * mPFVsPtInitial_EndCap_Centrality_35_30
MonitorElement * mPFDeltaR_pTCorrected_PFpT_50To80
MonitorElement * mPFVsPtInitial_EndCap_Centrality_95_90
MonitorElement * mPFCandpT_Barrel_photon
MonitorElement * mPFVsPtInitial_HF_Centrality_40_35
MonitorElement * mSumPFVsPt_n1p479_n1p131
MonitorElement * mPFVsPtInitial_EndCap_Centrality_75_70
edm::InputTag centralityBinTag_
MonitorElement * mPFVsPtInitial_HF_Centrality_50_45
MonitorElement * mSumSquaredPFVsPt
MonitorElement * mPFVsPtDeltaR_pTCorrected
MonitorElement * mPFDeltaR_pTCorrected
math::XYZPoint Point
point in the space
MonitorElement * mSumCaloVsPt_n1p740_n1p479
MonitorElement * mSumCaloVsPtInitial_1p740_2p043
MonitorElement * mSumCaloPt_n0p783_n0p522
edm::InputTag mInputCollection
MonitorElement * mPFVsPtInitial_HF_Centrality_90_85
MonitorElement * mSumSquaredCaloPt_eta
MonitorElement * mPFDeltaR_pTCorrected_PFpT_20To30
MonitorElement * mSumCaloVsPtInitial_2p043_2p650
MonitorElement * mPFCandpT_Barrel_Unknown
MonitorElement * mSumCaloPt_n0p522_0p522
MonitorElement * mPFDeltaR_pTCorrected_PFVsInitialpT_120To180
MonitorElement * mSumPFVsPtInitial_n2p043_n1p740
MonitorElement * mSumCaloVsPt_n2p043_n1p740
MonitorElement * mPFCandpT_Barrel_NeutralHadron
bool isEndcap(GeomDetEnumerators::SubDetector m)
MonitorElement * mPFCandpT_Endcap_Unknown
MonitorElement * mPFDeltaR_pTCorrected_PFpT_30To50
MonitorElement * mSumCaloVsPt
MonitorElement * mSumPFPt_n5p191_n2p650
MonitorElement * mPFDeltaR_pTCorrected_PFVsInitialpT_300ToInf
MonitorElement * mSumPFVsPt_2p043_2p650
MonitorElement * mSumCaloVsPt_1p740_2p043
const Double_t ForwardEta
MonitorElement * mSumCaloVsPt_n0p522_0p522
MonitorElement * mSumCaloVsPt_2p650_5p191
MonitorElement * mPFCandpT_vs_eta_ChargedHadron
MonitorElement * mSumPFVsPtInitial_n5p191_n2p650
MonitorElement * mPFCandpT_Forward_HadE_inHF
edm::EDGetTokenT< reco::BasicJetCollection > basicJetsToken_
MonitorElement * mSumPFVsPtInitial_HF
MonitorElement * mSumCaloVsPtInitial_n1p740_n1p479
MonitorElement * mPFCandpT_Barrel_ChargedHadron
MonitorElement * mPFCandpT_Barrel_HadE_inHF
MonitorElement * mPFDeltaR
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
MonitorElement * mPFVsPtInitial_HF_Centrality_15_10
MonitorElement * mSumPFPt_1p479_1p740
MonitorElement * mSumCaloPt_2p650_5p191
MonitorElement * mPFVsPtInitial_Barrel_Centrality_60_55
MonitorElement * mPFVsPtInitial_Barrel_Centrality_30_25
MonitorElement * mPFVsPtInitial_Barrel_Centrality_85_80
void setCurrentFolder(const std::string &fullpath)
double EtHFtowerSum() const
MonitorElement * mPFVsPtInitial_HF_Centrality_80_75
edm::InputTag mInputPFCandCollection
MonitorElement * mSumPFVsPtInitial_n1p131_n0p783
MonitorElement * mCaloVsPt
T const * product() const
edm::EDGetTokenT< edm::ValueMap< reco::VoronoiBackground > > backgrounds_
MonitorElement * book2D(Args &&...args)
MonitorElement * mSumCaloPt
MonitorElement * mPFVsPtInitial_HF_Centrality_95_90
MonitorElement * mSumSquaredPFPt_eta
MonitorElement * mSumPFPt_n1p131_n0p783
MonitorElement * mPFCandpT_Endcap_EME_inHF
MonitorElement * mSumCaloVsPtInitial_n5p191_n2p650
MonitorElement * mPFCandpT_vs_eta_HadE_inHF
MonitorElement * mPFVsPtInitial_HF_Centrality_65_60
MonitorElement * mPFVsPtInitial_HF_Centrality_100_95
MonitorElement * mSumCaloVsPtInitial
edm::EDGetTokenT< reco::CandidateView > pfCandViewToken_
MonitorElement * mSumCaloVsPtInitial_eta
edm::EDGetTokenT< CaloTowerCollection > caloTowersToken_
MonitorElement * mPFVsPtInitialDeltaR_pTCorrected
MonitorElement * mSumCaloVsPtInitial_0p783_1p131
MonitorElement * mSumPFPt_1p740_2p043
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * mPFCandpT_Forward_Unknown
MonitorElement * mSumCaloPt_n5p191_n2p650
MonitorElement * mPFVsPtInitial_HF_Centrality_60_55
MonitorElement * mSumPFPt_n0p783_n0p522
MonitorElement * mSumCaloPt_2p043_2p650
MonitorElement * mSumCaloPt_n1p131_n0p783
MonitorElement * mPFVsPtInitial_Barrel_Centrality_45_40
MonitorElement * mPFVsPtInitial_Barrel_Centrality_50_45
MonitorElement * mSumPFPt_n2p043_n1p740
double pt_subtracted() const
Particle reconstructed by the particle flow algorithm.
MonitorElement * mSumPFVsPt
MonitorElement * mPFVsPtInitial_EndCap_Centrality_5_0
MonitorElement * mPFCandpT_Barrel_electron
MonitorElement * mPFDeltaR_pTCorrected_PFVsInitialpT_180To300
static int position[264][3]
MonitorElement * mPFVsPtInitial_EndCap_Centrality_45_40
MonitorElement * mSumCaloVsPtInitial_n0p783_n0p522
MonitorElement * mPFVsPtInitial_HF_Centrality_5_0
MonitorElement * mPFCandpT_Endcap_electron
MonitorElement * mNPFpart
static const Int_t nedge_pseudorapidity
MonitorElement * mPFVsPtInitial_EndCap_Centrality_20_15
MonitorElement * mPFVsPtInitial_Barrel_Centrality_40_35
MonitorElement * mSumPFPt_eta
MonitorElement * mSumCaloVsPtInitial_2p650_5p191
MonitorElement * mNJets_40
MonitorElement * mPFVsPtInitial_EndCap_Centrality_90_85
double mRecoJetPtThreshold
MonitorElement * mSumPFVsPtInitial_0p522_0p783
MonitorElement * mPFVsPtInitial_Barrel_Centrality_35_30
MonitorElement * mSumPFVsPt_0p783_1p131
MonitorElement * mPFVsPtInitial_HF_Centrality_10_5
MonitorElement * mPFVsPtInitial_Barrel_Centrality_70_65
MonitorElement * mJetArea
virtual ParticleType particleId() const
MonitorElement * mSumCaloPt_n1p479_n1p131
MonitorElement * mPFDeltaR_pTCorrected_PFpT_120To180
MonitorElement * mSumPFVsPtInitial_n1p740_n1p479
JetAnalyzer_HeavyIons(const edm::ParameterSet &)
MonitorElement * mSumPFVsPtInitial_1p740_2p043
MonitorElement * mPFCandpT_Barrel_EME_inHF
MonitorElement * mPFVsPtInitial_EndCap_Centrality_40_35
MonitorElement * mjetpileup
MonitorElement * mSumPFVsPt_n1p740_n1p479
MonitorElement * mPFVsPtInitial_HF_Centrality_35_30
MonitorElement * mSumSquaredPFVsPtInitial_eta
MonitorElement * mSumPFVsPt_n1p131_n0p783
MonitorElement * mSumPFVsPtInitial_2p043_2p650
MonitorElement * mSumCaloVsPt_eta
MonitorElement * mSumCaloVsPt_0p522_0p783
MonitorElement * mPFCandpT_vs_eta_Unknown
Power< A, B >::type pow(const A &a, const B &b)
MonitorElement * mPFVsPtInitial_Barrel_Centrality_65_60
MonitorElement * mPFCandpT_Forward_NeutralHadron
MonitorElement * mPFVsPtInitial_Barrel_Centrality_80_75
virtual ~JetAnalyzer_HeavyIons()
MonitorElement * mNCalopart
MonitorElement * mSumPFVsPtInitial_eta
MonitorElement * mPFVsPtInitial_EndCap_Centrality_85_80
MonitorElement * mSumCaloVsPt_0p783_1p131
MonitorElement * mSumCaloPt_1p740_2p043
MonitorElement * mSumPFVsPtInitial_n0p522_0p522
MonitorElement * mPFVsPtInitial_HF_Centrality_70_65
MonitorElement * mPFVsPtInitial_HF_Centrality_30_25
MonitorElement * mPFVsPtInitial_HF_Centrality_55_50
MonitorElement * mSumCaloVsPt_2p043_2p650
MonitorElement * mPFCandpT_Barrel_muon