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) &&
808 Float_t vsPtInitial = 0;
811 Int_t NCaloTower = 0;
816 Float_t pfDeltaR = 0;
820 Float_t SumPt_value = 0;
822 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 };
825 vector < vector <float> > numbers;
826 vector <float> tempVector;
832 Float_t SumCaloVsPtInitial[
etaBins_];
836 Float_t SumSquaredCaloVsPtInitial[
etaBins_];
837 Float_t SumSquaredCaloVsPt[
etaBins_];
846 SumCaloVsPtInitial[
i] = 0;
849 SumSquaredCaloVsPtInitial[
i] = 0;
850 SumSquaredCaloVsPt[
i] = 0;
851 SumSquaredCaloPt[
i] = 0;
853 hSumCaloVsPtInitial[
i] =
new TH1F(Form(
"hSumCaloVsPtInitial_%d",
i),
"",10000,-10000,10000);
854 hSumCaloVsPt[
i] =
new TH1F(Form(
"hSumCaloVsPt_%d",
i),
"",10000,-10000,10000);
855 hSumCaloPt[
i] =
new TH1F(Form(
"hSumCaloPt_%d",
i),
"",10000,-10000,10000);
859 for(
unsigned icand = 0;icand<caloCandidates->
size(); icand++){
861 const CaloTower & tower = (*caloCandidates)[icand];
864 if(tower.
p4(vtx).Et() < 0.1)
continue;
874 vsArea = voronoi.
area();
879 caloPt = tower.
p4(vtx).Et();
880 caloEta = tower.
p4(vtx).Eta();
881 caloPhi = tower.
p4(vtx).Phi();
885 if(caloEta >= edge_pseudorapidity[
k] && caloEta < edge_pseudorapidity[
k+1]){
886 SumCaloVsPtInitial[
k] = SumCaloVsPtInitial[
k] + vsPtInitial;
887 SumCaloVsPt[
k] = SumCaloVsPt[
k] + vsPt;
888 SumCaloPt[
k] = SumCaloPt[
k] + caloPt;
889 SumSquaredCaloVsPtInitial[
k] = SumSquaredCaloVsPtInitial[
k] + vsPtInitial*vsPtInitial;
890 SumSquaredCaloVsPt[
k] = SumSquaredCaloVsPt[
k] + vsPt*vsPt;
891 SumSquaredCaloPt[
k] = SumSquaredCaloPt[
k] + caloPt*caloPt;
897 SumPt_value = SumPt_value + caloPt;
910 hSumCaloVsPtInitial[
k]->Fill(SumCaloVsPtInitial[
k]);
911 hSumCaloVsPt[
k]->Fill(SumCaloVsPt[k]);
912 hSumCaloPt[
k]->Fill(SumCaloPt[k]);
916 Float_t Evt_SumCaloVsPt = 0;
917 Float_t Evt_SumCaloVsPtInitial = 0;
918 Float_t Evt_SumCaloPt = 0;
920 Float_t Evt_SumSquaredCaloVsPt = 0;
921 Float_t Evt_SumSquaredCaloVsPtInitial = 0;
922 Float_t Evt_SumSquaredCaloPt = 0;
974 for(
size_t k = 0;
k<nedge_pseudorapidity-1;
k++){
976 Evt_SumCaloVsPtInitial = Evt_SumCaloVsPtInitial + SumCaloVsPtInitial[
k];
977 Evt_SumCaloVsPt = Evt_SumCaloVsPt + SumCaloVsPt[
k];
978 Evt_SumCaloPt = Evt_SumCaloPt + SumCaloPt[
k];
984 Evt_SumSquaredCaloVsPtInitial = Evt_SumSquaredCaloVsPtInitial + SumSquaredCaloVsPtInitial[
k];
985 Evt_SumSquaredCaloVsPt = Evt_SumSquaredCaloVsPt + SumSquaredCaloVsPt[
k];
986 Evt_SumSquaredCaloPt = Evt_SumSquaredCaloPt + SumSquaredCaloPt[
k];
992 delete hSumCaloVsPtInitial[
k];
993 delete hSumCaloVsPt[
k];
994 delete hSumCaloPt[
k];
1016 Float_t SumPFVsPtInitial[
etaBins_];
1020 Float_t SumSquaredPFVsPtInitial[
etaBins_];
1021 Float_t SumSquaredPFVsPt[
etaBins_];
1029 SumPFVsPtInitial[
i] = 0;
1032 SumSquaredPFVsPtInitial[
i] = 0;
1033 SumSquaredPFVsPt[
i] = 0;
1034 SumSquaredPFPt[
i] = 0;
1036 hSumPFVsPtInitial[
i] =
new TH1F(Form(
"hSumPFVsPtInitial_%d",
i),
"",10000,-10000,10000);
1037 hSumPFVsPt[
i] =
new TH1F(Form(
"hSumPFVsPt_%d",
i),
"",10000,-10000,10000);
1038 hSumPFPt[
i] =
new TH1F(Form(
"hSumPFPt_%d",
i),
"",10000,-10000,10000);
1042 vector<vector <float> > PF_Space(1,vector<float>(3));
1044 for(
unsigned icand=0;icand<pfCandidateColl->size(); icand++)
1048 if(pfCandidate.
pt() < 5)
continue;
1054 vsPt = voronoi.
pt();
1056 vsArea = voronoi.
area();
1061 pfPt = pfCandidate.
pt();
1062 pfEta = pfCandidate.
eta();
1063 pfPhi = pfCandidate.
phi();
1070 if(fabs(pfEta)<
BarrelEta) isBarrel =
true;
1119 tempVector.push_back(pfPt);
1120 tempVector.push_back(pfEta);
1121 tempVector.push_back(pfPhi);
1122 tempVector.push_back(vsPtInitial);
1123 tempVector.push_back(vsPt);
1126 numbers.push_back(tempVector);
1131 if(pfEta >= edge_pseudorapidity[
k] && pfEta < edge_pseudorapidity[
k+1]){
1132 SumPFVsPtInitial[
k] = SumPFVsPtInitial[
k] + vsPtInitial;
1133 SumPFVsPt[
k] = SumPFVsPt[
k] + vsPt;
1134 SumPFPt[
k] = SumPFPt[
k] + pfPt;
1136 SumSquaredPFVsPtInitial[
k] = SumSquaredPFVsPtInitial[
k] + vsPtInitial*vsPtInitial;
1137 SumSquaredPFVsPt[
k] = SumSquaredPFVsPt[
k] + vsPt*vsPt;
1138 SumSquaredPFPt[
k] = SumSquaredPFPt[
k] + pfPt*pfPt;
1144 SumPt_value = SumPt_value + pfPt;
1155 if(hibin >= 190 && hibin < 200)
1158 if(hibin >= 180 && hibin < 190)
1161 if(hibin >= 170 && hibin < 180)
1164 if(hibin >= 160 && hibin < 170)
1167 if(hibin >= 150 && hibin < 160)
1170 if(hibin >= 140 && hibin < 150)
1173 if(hibin >= 130 && hibin < 140)
1176 if(hibin >= 120 && hibin < 130)
1179 if(hibin >= 110 && hibin < 120)
1182 if(hibin >= 100 && hibin < 110)
1185 if(hibin >= 90 && hibin < 100)
1188 if(hibin >= 80 && hibin < 90)
1191 if(hibin >= 70 && hibin < 80)
1194 if(hibin >= 60 && hibin < 70)
1197 if(hibin >= 50 && hibin < 60)
1200 if(hibin >= 40 && hibin < 50)
1203 if(hibin >= 30 && hibin < 40)
1206 if(hibin >= 20 && hibin < 30)
1209 if(hibin >= 10 && hibin < 20)
1212 if(hibin >= 0 && hibin < 10)
1220 if(hibin >= 190 && hibin < 200)
1223 if(hibin >= 180 && hibin < 190)
1226 if(hibin >= 170 && hibin < 180)
1229 if(hibin >= 160 && hibin < 170)
1232 if(hibin >= 150 && hibin < 160)
1235 if(hibin >= 140 && hibin < 150)
1238 if(hibin >= 130 && hibin < 140)
1241 if(hibin >= 120 && hibin < 130)
1244 if(hibin >= 110 && hibin < 120)
1247 if(hibin >= 100 && hibin < 110)
1250 if(hibin >= 90 && hibin < 100)
1253 if(hibin >= 80 && hibin < 90)
1256 if(hibin >= 70 && hibin < 80)
1259 if(hibin >= 60 && hibin < 70)
1262 if(hibin >= 50 && hibin < 60)
1265 if(hibin >= 40 && hibin < 50)
1268 if(hibin >= 30 && hibin < 40)
1271 if(hibin >= 20 && hibin < 30)
1274 if(hibin >= 10 && hibin < 20)
1277 if(hibin >= 0 && hibin < 10)
1287 if(hibin >= 190 && hibin < 200)
1290 if(hibin >= 180 && hibin < 190)
1293 if(hibin >= 170 && hibin < 180)
1296 if(hibin >= 160 && hibin < 170)
1299 if(hibin >= 150 && hibin < 160)
1302 if(hibin >= 140 && hibin < 150)
1305 if(hibin >= 130 && hibin < 140)
1308 if(hibin >= 120 && hibin < 130)
1311 if(hibin >= 110 && hibin < 120)
1314 if(hibin >= 100 && hibin < 110)
1317 if(hibin >= 90 && hibin < 100)
1320 if(hibin >= 80 && hibin < 90)
1323 if(hibin >= 70 && hibin < 80)
1326 if(hibin >= 60 && hibin < 70)
1329 if(hibin >= 50 && hibin < 60)
1332 if(hibin >= 40 && hibin < 50)
1335 if(hibin >= 30 && hibin < 40)
1338 if(hibin >= 20 && hibin < 30)
1341 if(hibin >= 10 && hibin < 20)
1344 if(hibin >= 0 && hibin < 10)
1361 hSumPFVsPtInitial[
k]->Fill(SumPFVsPtInitial[
k]);
1362 hSumPFVsPt[
k]->Fill(SumPFVsPt[k]);
1363 hSumPFPt[
k]->Fill(SumPFPt[k]);
1367 Float_t Evt_SumPFVsPt = 0;
1368 Float_t Evt_SumPFVsPtInitial = 0;
1369 Float_t Evt_SumPFPt = 0;
1370 Float_t Evt_SumSquaredPFVsPt = 0;
1371 Float_t Evt_SumSquaredPFVsPtInitial = 0;
1372 Float_t Evt_SumSquaredPFPt = 0;
1422 for(
size_t k = 0;
k<nedge_pseudorapidity-1;
k++){
1424 Evt_SumPFVsPtInitial = Evt_SumPFVsPtInitial + SumPFVsPtInitial[
k];
1425 Evt_SumPFVsPt = Evt_SumPFVsPt + SumPFVsPt[
k];
1426 Evt_SumPFPt = Evt_SumPFPt + SumPFPt[
k];
1432 Evt_SumSquaredPFVsPtInitial = Evt_SumSquaredPFVsPtInitial + SumSquaredPFVsPtInitial[
k];
1433 Evt_SumSquaredPFVsPt = Evt_SumSquaredPFVsPt + SumSquaredPFVsPt[
k];
1434 Evt_SumSquaredPFPt = Evt_SumSquaredPFPt + SumSquaredPFPt[
k];
1440 delete hSumPFVsPtInitial[
k];
1441 delete hSumPFVsPt[
k];
1464 for (
unsigned ijet=0; ijet<caloJets->size(); ijet++)
1466 recoJets.push_back((*caloJets)[ijet]);
1472 for (
unsigned ijet=0; ijet<jptJets->size(); ijet++)
1473 recoJets.push_back((*jptJets)[ijet]);
1480 for (
unsigned ijet=0; ijet<basicJets->size();ijet++)
1482 recoJets.push_back((*basicJets)[ijet]);
1486 for (
unsigned ijet=0; ijet<pfJets->size(); ijet++)
1488 recoJets.push_back((*pfJets)[ijet]);
1512 for (
unsigned ijet=0; ijet<recoJets.size(); ijet++) {
1516 if(recoJets[ijet].
pt() > 40)
1528 for(
size_t iii = 0 ; iii < numbers.size() ; iii++)
1530 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()));
1541 if(recoJets[ijet].
pt() > 20 && recoJets[ijet].
pt() < 30)
1547 if(recoJets[ijet].
pt() > 30 && recoJets[ijet].
pt() < 50)
1553 if(recoJets[ijet].
pt() > 50 && recoJets[ijet].
pt() < 80)
1560 if(recoJets[ijet].
pt() > 80 && recoJets[ijet].
pt() < 120)
1567 if(recoJets[ijet].
pt() > 120 && recoJets[ijet].
pt() < 180)
1574 if(recoJets[ijet].
pt() > 180 && recoJets[ijet].
pt() < 300)
1580 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