19 mInputCollection (iConfig.getParameter<edm::
InputTag> (
"src")),
20 mInputPFCandCollection (iConfig.getParameter<edm::
InputTag> (
"PFcands")),
22 centrality (iConfig.getParameter<edm::
InputTag> (
"centrality")),
23 mOutputFile (iConfig.getUntrackedParameter<std::
string>(
"OutputFile",
"")),
24 JetType (iConfig.getUntrackedParameter<std::
string>(
"JetType")),
25 UEAlgo (iConfig.getUntrackedParameter<std::
string>(
"UEAlgo")),
26 Background (iConfig.getParameter<edm::
InputTag> (
"Background")),
27 mRecoJetPtThreshold (iConfig.getParameter<double> (
"recoJetPtThreshold")),
28 mReverseEnergyFractionThreshold(iConfig.getParameter<double> (
"reverseEnergyFractionThreshold")),
29 mRThreshold (iConfig.getParameter<double> (
"RThreshold")),
30 JetCorrectionService (iConfig.getParameter<std::
string> (
"JetCorrections"))
265 static const size_t ncms_hcal_edge_pseudorapidity = 82 + 1;
266 static const double cms_hcal_edge_pseudorapidity[ncms_hcal_edge_pseudorapidity] = {
267 -5.191, -4.889, -4.716, -4.538, -4.363, -4.191, -4.013,
268 -3.839, -3.664, -3.489, -3.314, -3.139, -2.964, -2.853,
269 -2.650, -2.500, -2.322, -2.172, -2.043, -1.930, -1.830,
270 -1.740, -1.653, -1.566, -1.479, -1.392, -1.305, -1.218,
271 -1.131, -1.044, -0.957, -0.879, -0.783, -0.696, -0.609,
272 -0.522, -0.435, -0.348, -0.261, -0.174, -0.087,
274 0.087, 0.174, 0.261, 0.348, 0.435, 0.522, 0.609,
275 0.696, 0.783, 0.879, 0.957, 1.044, 1.131, 1.218,
276 1.305, 1.392, 1.479, 1.566, 1.653, 1.740, 1.830,
277 1.930, 2.043, 2.172, 2.322, 2.500, 2.650, 2.853,
278 2.964, 3.139, 3.314, 3.489, 3.664, 3.839, 4.013,
279 4.191, 4.363, 4.538, 4.716, 4.889, 5.191
284 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 };
286 TH2F *h2D_etabins_vs_pt2 =
new TH2F(
"h2D_etabins_vs_pt2",
"etaBins (x axis), sum pt^{2} (y axis)",
etaBins_,edge_pseudorapidity,10000,0,10000);
287 TH2F *h2D_etabins_vs_pt =
new TH2F(
"h2D_etabins_vs_pt",
"etaBins (x axis), sum pt (y axis)",
etaBins_,edge_pseudorapidity,10000,-1000,1000);
288 TH2F *h2D_etabins_vs_phi =
new TH2F(
"h2D_etabins_vs_phi",
"candidate map, eta(x axis), phi (y axis), pt (z axis)",ncms_hcal_edge_pseudorapidity-1,cms_hcal_edge_pseudorapidity,36,-
TMath::Pi(),
TMath::Pi());
292 mNPFpart = ibooker.
book1D(
"NPFpart",
"No of particle flow candidates",1000,0,10000);
293 mPFPt = ibooker.
book1D(
"PFPt",
"PF candidate p_{T}",1000,-5000,5000);
294 mPFEta = ibooker.
book1D(
"PFEta",
"PF candidate #eta",120,-6,6);
295 mPFPhi = ibooker.
book1D(
"PFPhi",
"PF candidate #phi",70,-3.5,3.5);
296 mPFVsPt = ibooker.
book1D(
"PFVsPt",
"Vs PF candidate p_{T}",1000,-5000,5000);
297 mPFVsPtInitial = ibooker.
book1D(
"PFVsPtInitial",
"Vs background subtracted PF candidate p_{T}",1000,-5000,5000);
298 mPFArea = ibooker.
book1D(
"PFArea",
"VS PF candidate area",100,0,4);
300 mSumPFVsPt = ibooker.
book1D(
"SumPFVsPt",
"Sum of final PF VS p_{T}",1000,-10000,10000);
302 mSumPFPt = ibooker.
book1D(
"SumPFPt",
"Sum of initial PF p_{T}",1000,-10000,10000);
314 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);
315 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);
316 mSumPFPt_HF = ibooker.
book2D(
"SumPFPt_HF",
"HF energy (y axis) vs Sum initial PF p_{T} (x axis)",1000,-1000,1000,1000,0,10000);
345 mSumPFVsPt_0p522_0p783 = ibooker.
book1D(
"mSumPFVsPt_0p522_0p783",
"Sum PFVsPt variable in the eta range 0.522 to 0.783",1000,-1000,1000);
346 mSumPFVsPt_0p783_1p131 = ibooker.
book1D(
"mSumPFVsPt_0p783_1p131",
"Sum PFVsPt variable in the eta range 0.783 to 1.131",1000,-1000,1000);
347 mSumPFVsPt_1p131_1p479 = ibooker.
book1D(
"mSumPFVsPt_1p131_1p479",
"Sum PFVsPt variable in the eta range 1.131 to 1.479",1000,-1000,1000);
348 mSumPFVsPt_1p479_1p740 = ibooker.
book1D(
"mSumPFVsPt_1p479_1p740",
"Sum PFVsPt variable in the eta range 1.479 to 1.740",1000,-1000,1000);
349 mSumPFVsPt_1p740_2p043 = ibooker.
book1D(
"mSumPFVsPt_1p740_2p043",
"Sum PFVsPt variable in the eta range 1.740 to 2.043",1000,-1000,1000);
350 mSumPFVsPt_2p043_2p650 = ibooker.
book1D(
"mSumPFVsPt_2p043_2p650",
"Sum PFVsPt variable in the eta range 2.043 to 2.650",1000,-5000,5000);
351 mSumPFVsPt_2p650_5p191 = ibooker.
book1D(
"mSumPFVsPt_2p650_5p191",
"Sum PFVsPt variable in the eta range 2.650 to 5.191",1000,-5000,5000);
374 mNCalopart = ibooker.
book1D(
"NCalopart",
"No of particle flow candidates",1000,0,10000);
375 mCaloPt = ibooker.
book1D(
"CaloPt",
"Calo candidate p_{T}",1000,-5000,5000);
376 mCaloEta = ibooker.
book1D(
"CaloEta",
"Calo candidate #eta",120,-6,6);
377 mCaloPhi = ibooker.
book1D(
"CaloPhi",
"Calo candidate #phi",70,-3.5,3.5);
378 mCaloVsPt = ibooker.
book1D(
"CaloVsPt",
"Vs Calo candidate p_{T}",1000,-5000,5000);
379 mCaloVsPtInitial = ibooker.
book1D(
"CaloVsPtInitial",
"Vs background subtracted Calo candidate p_{T}",1000,-5000,5000);
380 mCaloArea = ibooker.
book1D(
"CaloArea",
"VS Calo candidate area",100,0,4);
382 mSumCaloVsPt = ibooker.
book1D(
"SumCaloVsPt",
"Sum of final Calo VS p_{T} ",1000,-10000,10000);
384 mSumCaloPt = ibooker.
book1D(
"SumCaloPt",
"Sum Calo p_{T}",1000,-10000,10000);
391 mSumSquaredCaloPt = ibooker.
book1D(
"SumSquaredCaloPt",
"Sum of initial Calo tower p_{T} squared",10000,0,10000);
396 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);
397 mSumCaloVsPt_HF = ibooker.
book2D(
"SumCaloVsPt_HF",
"HF Energy (y axis) vs Sum Calo Vs p_{T} (x axis)",1000,-1000,1000,1000,0,10000);
398 mSumCaloPt_HF = ibooker.
book2D(
"SumCaloPt_HF",
"HF Energy (y axis) vs Sum Calo tower p_{T}",1000,-1000,1000,1000,0,10000);
435 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);
436 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);
437 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);
438 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);
439 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);
440 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);
441 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);
442 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);
443 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);
444 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);
445 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);
446 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);
447 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);
448 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);
449 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);
455 mSumpt = ibooker.
book1D(
"SumpT",
"Sum p_{T} of all the PF candidates per event",1000,0,10000);
456 mvn = ibooker.
book1D(
"vn",
"vn",100,0,10);
460 mNvtx = ibooker.
book1D(
"Nvtx",
"number of vertices", 60, 0, 60);
461 mHF = ibooker.
book1D(
"HF",
"HF energy distribution",1000,0,10000);
471 mEta = ibooker.
book1D(
"Eta",
"Eta", 120, -6, 6);
472 mPhi = ibooker.
book1D(
"Phi",
"Phi", 70, -3.5, 3.5);
473 mPt = ibooker.
book1D(
"Pt",
"Pt", 100, 0, 1000);
474 mP = ibooker.
book1D(
"P",
"P", 100, 0, 1000);
476 mMass = ibooker.
book1D(
"Mass",
"Mass", 100, 0, 200);
480 mNJets_40 = ibooker.
book1D(
"NJets_pt_greater_40",
"NJets pT > 40 GeV", 50, 0, 100);
483 mVs_0_x = ibooker.
book1D(
"Vs_0_x",
"flow modulated sumpT from both HF (+ and -) with cos, vn = 0",1000,-10000,10000);
484 mVs_0_y = ibooker.
book1D(
"Vs_0_y",
"flow modulated sumpT from both HF (+ and -) with sin, vn = 0",1000,-10000,10000);
485 mVs_1_x = ibooker.
book1D(
"Vs_1_x",
"flow modulated sumpT from both HF (+ and -) with cos, vn = 1",1000,-10000,10000);
486 mVs_1_y = ibooker.
book1D(
"Vs_1_y",
"flow modulated sumpT from both HF (+ and -) with sin, vn = 1",1000,-10000,10000);
487 mVs_2_x = ibooker.
book1D(
"Vs_2_x",
"flow modulated sumpT from both HF (+ and -) with cos, vn = 2",1000,-10000,10000);
488 mVs_2_y = ibooker.
book1D(
"Vs_2_y",
"flow modulated sumpT from both HF (+ and -) with sin, vn = 2",1000,-10000,10000);
490 mVs_0_x_versus_HF = ibooker.
book2D(
"Vs_0_x_versus_HF",
"flow modulated sumpT (y axis) from both HF (+ and -) with cos, vn = 0 versus HF energy (x axis)",1000,0,10000,1000,-10000,10000);
491 mVs_0_y_versus_HF = ibooker.
book2D(
"Vs_0_y_versus_HF",
"flow modulated sumpT (y axis) from both HF (+ and -) with sin, vn = 0 versus HF energy (x axis)",1000,0,10000,1000,-10000,10000);
492 mVs_1_x_versus_HF = ibooker.
book2D(
"Vs_1_x_versus_HF",
"flow modulated sumpT (y axis) from both HF (+ and -) with cos, vn = 1 versus HF energy (x axis)",1000,0,10000,1000,-10000,10000);
493 mVs_1_y_versus_HF = ibooker.
book2D(
"Vs_1_y_versus_HF",
"flow modulated sumpT (y axis) from both HF (+ and -) with sin, vn = 1 versus HF energy (x axis)",1000,0,10000,1000,-10000,10000);
494 mVs_2_x_versus_HF = ibooker.
book2D(
"Vs_2_x_versus_HF",
"flow modulated sumpT (y axis) from both HF (+ and -) with cos, vn = 2 versus HF energy (x axis)",1000,0,10000,1000,-10000,10000);
495 mVs_2_y_versus_HF = ibooker.
book2D(
"Vs_2_y_versus_HF",
"flow modulated sumpT (y axis) from both HF (+ and -) with sin, vn = 2 versus HF energy (x axis)",1000,0,10000,1000,-10000,10000);
498 LogInfo(
"OutputInfo") <<
" Histograms will NOT be saved";
502 delete h2D_etabins_vs_pt2;
503 delete h2D_etabins_vs_pt;
504 delete h2D_etabins_vs_phi;
551 int nVertex = vtxs->size();
553 for (
unsigned int i = 0 ;
i< vtxs->size(); ++
i){
554 unsigned int daughter = (*vtxs)[
i].tracksSize();
555 if( daughter > (*vtxs)[greatestvtx].tracksSize()) greatestvtx =
i;
561 vtx = (*vtxs)[greatestvtx].position();
563 int nGoodVertices = 0;
567 for (
unsigned i=0;
i<pvHandle->size();
i++)
569 if ((*pvHandle)[
i].ndof() > 4 &&
570 (fabs((*pvHandle)[
i].
z()) <= 24) &&
621 mHF->
Fill(cent->EtHFtowerSum());
622 Float_t HF_energy = cent->EtHFtowerSum();
627 Float_t vsPtInitial = 0;
630 Int_t NCaloTower = 0;
637 Float_t SumPt_value = 0;
638 Float_t vn_value[200];
639 Float_t psin_value[200];
645 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 };
649 for(
int ieta = 0;ieta<
etaBins_;++ieta){
652 vn[ifour][ieta] = vnUE.get_vn(ifour,ieta);
653 vn_value[ifour * etaBins_ + ieta]= vnUE.get_vn(ifour,ieta);
654 mvn->
Fill(vn_value[ifour * etaBins_ + ieta]);
656 psin[ifour][ieta] = vnUE.get_psin(ifour,ieta);
657 psin_value[ifour * etaBins_ + ieta] = vnUE.get_psin(ifour,ieta);
658 mpsin->
Fill(psin_value[ifour * etaBins_ + ieta]);
660 if(0>1)
std::cout<<vn[ifour][ieta]<<
" "<<psin[ifour][ieta]<<
" "<<sumpT[ieta]<<std::endl;
667 Float_t Vs_0_x_minus = sumpT[0]*vn[0][0]*TMath::Cos(0*psin[0][0]);
668 Float_t Vs_0_x_plus = sumpT[14]*vn[0][14]*TMath::Cos(0*psin[0][14]);
669 Float_t Vs_0_y_minus = sumpT[0]*vn[0][0]*TMath::Sin(0*psin[0][0]);
670 Float_t Vs_0_y_plus = sumpT[14]*vn[0][14]*TMath::Sin(0*psin[0][14]);
671 Float_t Vs_0_x = Vs_0_x_minus + Vs_0_x_plus;
672 Float_t Vs_0_y = Vs_0_y_minus + Vs_0_y_plus;
674 Float_t Vs_1_x_minus = sumpT[0]*vn[1][0]*TMath::Cos(1*psin[1][0]);
675 Float_t Vs_1_x_plus = sumpT[14]*vn[1][14]*TMath::Cos(1*psin[1][14]);
676 Float_t Vs_1_y_minus = sumpT[0]*vn[1][0]*TMath::Sin(1*psin[1][0]);
677 Float_t Vs_1_y_plus = sumpT[14]*vn[1][14]*TMath::Sin(1*psin[1][14]);
678 Float_t Vs_1_x = Vs_1_x_minus + Vs_1_x_plus;
679 Float_t Vs_1_y = Vs_1_y_minus + Vs_1_y_plus;
681 Float_t Vs_2_x_minus = sumpT[0]*vn[2][0]*TMath::Cos(2*psin[2][0]);
682 Float_t Vs_2_x_plus = sumpT[14]*vn[2][14]*TMath::Cos(2*psin[2][14]);
683 Float_t Vs_2_y_minus = sumpT[0]*vn[2][0]*TMath::Sin(2*psin[2][0]);
684 Float_t Vs_2_y_plus = sumpT[14]*vn[2][14]*TMath::Sin(2*psin[2][14]);
685 Float_t Vs_2_x = Vs_2_x_minus + Vs_2_x_plus;
686 Float_t Vs_2_y = Vs_2_y_minus + Vs_2_y_plus;
720 Float_t SumCaloVsPtInitial[
etaBins_];
724 Float_t SumSquaredCaloVsPtInitial[
etaBins_];
725 Float_t SumSquaredCaloVsPt[
etaBins_];
730 SumCaloVsPtInitial[
i] = 0;
733 SumSquaredCaloVsPtInitial[
i] = 0;
734 SumSquaredCaloVsPt[
i] = 0;
735 SumSquaredCaloPt[
i] = 0;
739 for(
unsigned icand = 0;icand<caloCandidates->size(); icand++){
741 const CaloTower & tower = (*caloCandidates)[icand];
745 if(tower.
p4(vtx).Et() < 0.1)
continue;
756 vsArea = voronoi.
area();
761 caloPt = tower.
p4(vtx).Et();
762 caloEta = tower.
p4(vtx).Eta();
763 caloPhi = tower.
p4(vtx).Phi();
769 DeltapT = caloPt - vsPtInitial;
775 if(caloEta >= edge_pseudorapidity[
k] && caloEta < edge_pseudorapidity[
k+1]){
776 SumCaloVsPtInitial[
k] = SumCaloVsPtInitial[
k] + vsPtInitial;
777 SumCaloVsPt[
k] = SumCaloVsPt[
k] + vsPt;
778 SumCaloPt[
k] = SumCaloPt[
k] + caloPt;
779 SumSquaredCaloVsPtInitial[
k] = SumSquaredCaloVsPtInitial[
k] + vsPtInitial*vsPtInitial;
780 SumSquaredCaloVsPt[
k] = SumSquaredCaloVsPt[
k] + vsPt*vsPt;
781 SumSquaredCaloPt[
k] = SumSquaredCaloPt[
k] + caloPt*caloPt;
787 SumPt_value = SumPt_value + caloPt;
799 Float_t Evt_SumCaloVsPt = 0;
800 Float_t Evt_SumCaloVsPtInitial = 0;
801 Float_t Evt_SumCaloPt = 0;
803 Float_t Evt_SumSquaredCaloVsPt = 0;
804 Float_t Evt_SumSquaredCaloVsPtInitial = 0;
805 Float_t Evt_SumSquaredCaloPt = 0;
860 Evt_SumCaloVsPtInitial = Evt_SumCaloVsPtInitial + SumCaloVsPtInitial[
k];
862 Evt_SumCaloVsPt = Evt_SumCaloVsPt + SumCaloVsPt[
k];
864 Evt_SumCaloPt = Evt_SumCaloPt + SumCaloPt[
k];
872 Evt_SumSquaredCaloVsPtInitial = Evt_SumSquaredCaloVsPtInitial + SumSquaredCaloVsPtInitial[
k];
874 Evt_SumSquaredCaloVsPt = Evt_SumSquaredCaloVsPt + SumSquaredCaloVsPt[
k];
876 Evt_SumSquaredCaloPt = Evt_SumSquaredCaloPt + SumSquaredCaloPt[
k];
907 Float_t SumSquaredPFVsPtInitial[
etaBins_];
913 SumPFVsPtInitial[
i] = 0;
916 SumSquaredPFVsPtInitial[
i] = 0;
917 SumSquaredPFVsPt[
i] = 0;
918 SumSquaredPFPt[
i] = 0;
922 for(
unsigned icand=0;icand<pfCandidateColl->size(); icand++){
927 if(pfCandidate.
pt() < 5)
continue;
934 vsArea = voronoi.
area();
939 pfPt = pfCandidate.
pt();
940 pfEta = pfCandidate.
eta();
941 pfPhi = pfCandidate.
phi();
947 DeltapT = pfPt - vsPtInitial;
954 if(pfEta >= edge_pseudorapidity[
k] && pfEta < edge_pseudorapidity[
k+1]){
955 SumPFVsPtInitial[
k] = SumPFVsPtInitial[
k] + vsPtInitial;
956 SumPFVsPt[
k] = SumPFVsPt[
k] + vsPt;
957 SumPFPt[
k] = SumPFPt[
k] + pfPt;
959 SumSquaredPFVsPtInitial[
k] = SumSquaredPFVsPtInitial[
k] + vsPtInitial*vsPtInitial;
960 SumSquaredPFVsPt[
k] = SumSquaredPFVsPt[
k] + vsPt*vsPt;
961 SumSquaredPFPt[
k] = SumSquaredPFPt[
k] + pfPt*pfPt;
967 SumPt_value = SumPt_value + pfPt;
979 Float_t Evt_SumPFVsPt = 0;
980 Float_t Evt_SumPFVsPtInitial = 0;
981 Float_t Evt_SumPFPt = 0;
982 Float_t Evt_SumSquaredPFVsPt = 0;
983 Float_t Evt_SumSquaredPFVsPtInitial = 0;
984 Float_t Evt_SumSquaredPFPt = 0;
1037 Evt_SumPFVsPtInitial = Evt_SumPFVsPtInitial + SumPFVsPtInitial[
k];
1039 Evt_SumPFVsPt = Evt_SumPFVsPt + SumPFVsPt[
k];
1041 Evt_SumPFPt = Evt_SumPFPt + SumPFPt[
k];
1048 Evt_SumSquaredPFVsPtInitial = Evt_SumSquaredPFVsPtInitial + SumSquaredPFVsPtInitial[
k];
1050 Evt_SumSquaredPFVsPt = Evt_SumSquaredPFVsPt + SumSquaredPFVsPt[
k];
1052 Evt_SumSquaredPFPt = Evt_SumSquaredPFPt + SumSquaredPFPt[
k];
1079 for (
unsigned ijet=0; ijet<caloJets->size(); ijet++) recoJets.push_back((*caloJets)[ijet]);
1084 for (
unsigned ijet=0; ijet<jptJets->size(); ijet++) recoJets.push_back((*jptJets)[ijet]);
1089 for (
unsigned ijet=0; ijet<basicJets->size();ijet++) recoJets.push_back((*basicJets)[ijet]);
1092 for (
unsigned ijet=0; ijet<pfJets->size(); ijet++) recoJets.push_back((*pfJets)[ijet]);
1114 for (
unsigned ijet=0; ijet<recoJets.size(); ijet++) {
1121 if(recoJets[ijet].
pt() > 40)
static const Int_t etaBins_
edm::EDGetTokenT< reco::CaloJetCollection > caloJetsToken_
MonitorElement * mDeltapT
edm::EDGetTokenT< reco::PFCandidateCollection > pfCandToken_
MonitorElement * mCaloEta
MonitorElement * mSumPFVsPt_2p650_5p191
MonitorElement * mSumCaloVsPt_HF
MonitorElement * mSumCaloVsPtInitial_n2p043_n1p740
MonitorElement * mSumCaloVsPt_n5p191_n2p650
MonitorElement * mSumCaloVsPt_n1p131_n0p783
MonitorElement * mSumSquaredPFPt
MonitorElement * mSumPFVsPtInitial
edm::EDGetTokenT< reco::CandidateView > caloCandViewToken_
MonitorElement * mSumCaloPt_n2p043_n1p740
MonitorElement * mCaloPhi
MonitorElement * mPFVsPtInitial_eta_phi
edm::EDGetTokenT< reco::JPTJetCollection > jptJetsToken_
MonitorElement * mSumCaloVsPtInitial_HF
MonitorElement * mSumPFVsPtInitial_1p131_1p479
MonitorElement * mSumSquaredCaloVsPt_eta
MonitorElement * mSumPFVsPt_n5p191_n2p650
MonitorElement * mSumCaloVsPtInitial_n2p650_n2p043
MonitorElement * mCaloVsPtInitial
math::PtEtaPhiMLorentzVector p4(double vtxZ) const
MonitorElement * mSumCaloVsPt_1p479_1p740
MonitorElement * mSumCaloVsPt_n2p650_n2p043
MonitorElement * mSumCaloVsPt_n0p783_n0p522
MonitorElement * mSumSquaredCaloVsPtInitial_eta
bool getByToken(EDGetToken token, Handle< PROD > &result) const
MonitorElement * mSumCaloVsPtInitial_1p479_1p740
MonitorElement * mSumPFVsPt_n2p043_n1p740
edm::EDGetTokenT< reco::PFJetCollection > pfJetsToken_
MonitorElement * mSumCaloVsPtInitial_1p131_1p479
MonitorElement * mPFVsPt_eta_phi
MonitorElement * mSumCaloPt_0p783_1p131
MonitorElement * mCaloArea
edm::EDGetTokenT< std::vector< float > > backgrounds_value_
MonitorElement * mSumCaloVsPtInitial_n1p479_n1p131
MonitorElement * mSumPFPt_n0p522_0p522
MonitorElement * mSumSquaredCaloPt
MonitorElement * mSumPFPt_2p043_2p650
MonitorElement * mSumPFVsPt_0p522_0p783
void analyze(const edm::Event &, const edm::EventSetup &) override
MonitorElement * mSumSquaredCaloVsPtInitial
MonitorElement * mSumCaloPt_1p131_1p479
MonitorElement * mSumSquaredPFVsPt_eta
MonitorElement * mSumPFVsPt_eta
MonitorElement * mSumPFVsPtInitial_2p650_5p191
MonitorElement * mSumCaloVsPt_1p131_1p479
MonitorElement * mSumPFPt_n1p740_n1p479
MonitorElement * mDeltapT_eta_phi
MonitorElement * mSumPFVsPtInitial_n2p650_n2p043
MonitorElement * mCaloVsPtInitial_eta_phi
MonitorElement * mSumPFPt_2p650_5p191
MonitorElement * mSumPFVsPtInitial_0p783_1p131
edm::EDGetTokenT< std::vector< reco::Vertex > > pvToken_
MonitorElement * mSumPFVsPtInitial_n0p783_n0p522
MonitorElement * mVs_1_y_versus_HF
virtual double eta() const
momentum pseudorapidity
virtual double pt() const
transverse momentum
MonitorElement * mSumCaloPt_eta
MonitorElement * mSumPFPt_0p522_0p783
MonitorElement * mSumPFPt_n2p650_n2p043
static const size_t nedge_pseudorapidity
MonitorElement * mSumCaloPt_n1p740_n1p479
std::vector< PFCandidatePtr > pfCandidates(const PFJet &jet, int particleId, bool sort=true)
MonitorElement * mSumPFVsPt_1p740_2p043
MonitorElement * mCaloPt_eta_phi
MonitorElement * mSumCaloPt_0p522_0p783
MonitorElement * mSumPFPt_HF
MonitorElement * mSumCaloVsPt_n1p479_n1p131
MonitorElement * mSumCaloPt_n2p650_n2p043
MonitorElement * mSumPFPt_0p783_1p131
static const Int_t fourierOrder_
MonitorElement * mSumCaloPt_1p479_1p740
MonitorElement * mSumPFVsPt_1p479_1p740
MonitorElement * mSumPFVsPt_HF
MonitorElement * mSumCaloVsPtInitial_0p522_0p783
MonitorElement * mSumCaloPt_HF
MonitorElement * mPFVsPtInitial
MonitorElement * mSumCaloVsPtInitial_n0p522_0p522
MonitorElement * mSumPFVsPtInitial_n1p479_n1p131
MonitorElement * mSumPFVsPt_n2p650_n2p043
MonitorElement * mSumPFVsPt_n0p522_0p522
MonitorElement * mVs_0_y_versus_HF
MonitorElement * mSumSquaredPFVsPtInitial
MonitorElement * mSumCaloVsPtInitial_n1p131_n0p783
MonitorElement * mSumSquaredCaloVsPt
MonitorElement * mSumPFVsPt_1p131_1p479
MonitorElement * mSumPFPt_1p131_1p479
MonitorElement * mSumPFVsPtInitial_1p479_1p740
MonitorElement * mSumPFVsPt_n0p783_n0p522
MonitorElement * mVs_1_x_versus_HF
MonitorElement * mSumPFPt
MonitorElement * mSumPFPt_n1p479_n1p131
edm::EDGetTokenT< std::vector< reco::Vertex > > hiVertexToken_
MonitorElement * mConstituents
MonitorElement * mDeltapT_eta
MonitorElement * book1D(Args &&...args)
MonitorElement * mSumPFVsPt_n1p479_n1p131
MonitorElement * mSumSquaredPFVsPt
math::XYZPoint Point
point in the space
MonitorElement * mSumCaloVsPt_n1p740_n1p479
MonitorElement * mSumCaloVsPtInitial_1p740_2p043
MonitorElement * mSumCaloPt_n0p783_n0p522
edm::InputTag mInputCollection
MonitorElement * mSumSquaredCaloPt_eta
edm::EDGetTokenT< reco::Centrality > centralityToken_
MonitorElement * mSumCaloVsPtInitial_2p043_2p650
MonitorElement * mSumCaloPt_n0p522_0p522
MonitorElement * mSumPFVsPtInitial_n2p043_n1p740
MonitorElement * mSumCaloVsPt_n2p043_n1p740
MonitorElement * mSumCaloVsPt
MonitorElement * mSumPFPt_n5p191_n2p650
MonitorElement * mSumPFVsPt_2p043_2p650
MonitorElement * mSumCaloVsPt_1p740_2p043
MonitorElement * mSumCaloVsPt_n0p522_0p522
MonitorElement * mSumCaloVsPt_2p650_5p191
MonitorElement * mSumPFVsPtInitial_n5p191_n2p650
edm::EDGetTokenT< reco::BasicJetCollection > basicJetsToken_
MonitorElement * mSumPFVsPtInitial_HF
MonitorElement * mSumCaloVsPtInitial_n1p740_n1p479
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
MonitorElement * mSumPFPt_1p479_1p740
MonitorElement * mSumCaloPt_2p650_5p191
void setCurrentFolder(const std::string &fullpath)
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 * mSumSquaredPFPt_eta
MonitorElement * mSumPFPt_n1p131_n0p783
MonitorElement * mVs_0_x_versus_HF
MonitorElement * mSumCaloVsPtInitial_n5p191_n2p650
MonitorElement * mSumCaloVsPtInitial
edm::EDGetTokenT< reco::CandidateView > pfCandViewToken_
MonitorElement * mSumCaloVsPtInitial_eta
edm::EDGetTokenT< CaloTowerCollection > caloTowersToken_
MonitorElement * mSumCaloVsPtInitial_0p783_1p131
MonitorElement * mSumPFPt_1p740_2p043
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
MonitorElement * mSumCaloPt_n5p191_n2p650
MonitorElement * mSumPFPt_n0p783_n0p522
MonitorElement * mSumCaloPt_2p043_2p650
MonitorElement * mSumCaloPt_n1p131_n0p783
MonitorElement * mPFPt_eta_phi
MonitorElement * mSumPFPt_n2p043_n1p740
double pt_subtracted() const
Particle reconstructed by the particle flow algorithm.
MonitorElement * mSumPFVsPt
static int position[264][3]
MonitorElement * mSumCaloVsPtInitial_n0p783_n0p522
MonitorElement * mNPFpart
MonitorElement * mSumPFPt_eta
MonitorElement * mSumCaloVsPtInitial_2p650_5p191
MonitorElement * mNJets_40
double get_sum_pt(int eta, int type=-1) const
double mRecoJetPtThreshold
MonitorElement * mSumPFVsPtInitial_0p522_0p783
MonitorElement * mSumPFVsPt_0p783_1p131
MonitorElement * mVs_2_y_versus_HF
MonitorElement * mJetArea
MonitorElement * mSumCaloPt_n1p479_n1p131
MonitorElement * mSumPFVsPtInitial_n1p740_n1p479
JetAnalyzer_HeavyIons(const edm::ParameterSet &)
MonitorElement * mVs_2_x_versus_HF
MonitorElement * mSumPFVsPtInitial_1p740_2p043
MonitorElement * mCaloVsPt_eta_phi
virtual double phi() const
momentum azimuthal angle
MonitorElement * mjetpileup
MonitorElement * mSumPFVsPt_n1p740_n1p479
MonitorElement * mSumSquaredPFVsPtInitial_eta
MonitorElement * mSumPFVsPt_n1p131_n0p783
MonitorElement * mSumPFVsPtInitial_2p043_2p650
MonitorElement * mSumCaloVsPt_eta
MonitorElement * mSumCaloVsPt_0p522_0p783
virtual ~JetAnalyzer_HeavyIons()
MonitorElement * mNCalopart
MonitorElement * mSumPFVsPtInitial_eta
MonitorElement * mSumCaloVsPt_0p783_1p131
MonitorElement * mSumCaloPt_1p740_2p043
MonitorElement * mSumPFVsPtInitial_n0p522_0p522
MonitorElement * mSumCaloVsPt_2p043_2p650