Skip to content

Commit 511708c

Browse files
committed
Remove unused histograms
1 parent f6382c9 commit 511708c

1 file changed

Lines changed: 2 additions & 67 deletions

File tree

PWGJE/Tasks/recoilJets.cxx

Lines changed: 2 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,8 @@ struct RecoilJets {
299299
std::array<AxisDesc<ConfigurableAxis>, 2> arrConfigurableAxisEAPartLevel = {{{"FT0C", hist.multFT0CThreshPartLevel, nameFT0Caxis},
300300
{"FT0M", hist.multFT0MThreshPartLevel, nameFT0Maxis}}};
301301

302-
std::array<AxisDesc<ConfigurableAxis>, 4> arrConfigurableAxisCentrality = {{{"CentFT0A", hist.axisCentrality, nameCentralityAxis},
303-
{"CentFT0C", hist.axisCentrality, nameCentralityAxis},
304-
{"CentFT0M", hist.axisCentrality, nameCentralityAxis},
305-
{"CentFT0CVar1", hist.axisCentrality, nameCentralityAxis}}};
302+
std::array<AxisDesc<ConfigurableAxis>, 2> arrConfigurableAxisCentrality = {{{"CentFT0C", hist.axisCentrality, nameCentralityAxis},
303+
{"CentFT0M", hist.axisCentrality, nameCentralityAxis}}};
306304

307305
// Zero-degree calorimeter
308306
std::array<AxisDesc<AxisSpec>, 3> arrAxisSpecZDCNeutron = {{{"ZNA", zdcNeutronA},
@@ -628,15 +626,8 @@ struct RecoilJets {
628626
}
629627

630628
// Centrality dependence
631-
uint8_t iCent = 0;
632629
for (const auto& centAxis : arrConfigurableAxisCentrality) {
633630

634-
int positionCentFT0CVar1 = 3;
635-
if (iCent == positionCentFT0CVar1) { // case of "CentFT0CVar1"
636-
++iCent;
637-
continue;
638-
}
639-
640631
// Vertex Z position
641632
spectra.add(Form("h%s_vertexZ_Part", centAxis.label),
642633
"Centrality vs Z vertex of MC collisions",
@@ -695,8 +686,6 @@ struct RecoilJets {
695686
spectra.add(Form("h%s_Recoil_JetPt_Corr_TTSig_Part", centAxis.label),
696687
Form("MC events w. TT_{Sig}: %s & #it{p}_{T} of recoil jets", centAxis.label),
697688
kTH2F, {{centAxis.axis, centAxis.axisName}, jetPTcorr}, hist.sumw2);
698-
699-
++iCent;
700689
}
701690
}
702691

@@ -772,16 +761,8 @@ struct RecoilJets {
772761

773762
//====================================================================================
774763
// Centrality-differential corrected spectra and response QA
775-
uint8_t iCent = 0;
776764
for (const auto& centAxis : arrConfigurableAxisCentrality) {
777765

778-
int positionCentFT0A = 0;
779-
int positionCentFT0CVar1 = 3;
780-
if (iCent == positionCentFT0A || iCent == positionCentFT0CVar1) { // case of "CentFT0A" & "CentFT0CVar1"
781-
++iCent;
782-
continue;
783-
}
784-
785766
spectra.add(Form("h%s_ResponseMatrixInclusiveJetsPtCorr", centAxis.label),
786767
Form("%s: correlation inclusive #it{p}_{T, det.}^{corr.} vs. #it{p}_{T, part}^{corr.}", centAxis.label),
787768
kTH3F, {{centAxis.axis, centAxis.axisName}, detJetPtCorr, partJetPtCorr}, hist.sumw2);
@@ -837,8 +818,6 @@ struct RecoilJets {
837818
spectra.add(Form("h%s_MissedRecoilJetsPtCorr", centAxis.label),
838819
Form("%s: part. level recoil jets w/o matched pair", centAxis.label),
839820
kTH2F, {{centAxis.axis, centAxis.axisName}, partJetPtCorr}, hist.sumw2);
840-
841-
++iCent;
842821
}
843822

844823
//====================================================================================
@@ -1274,10 +1253,8 @@ struct RecoilJets {
12741253
const auto scaledFT0C = ft0Metrics.scaledFT0C;
12751254
const auto scaledFT0M = ft0Metrics.scaledFT0M;
12761255

1277-
const auto centFT0A = collision.centFT0A();
12781256
const auto centFT0C = collision.centFT0C();
12791257
const auto centFT0M = collision.centFT0M();
1280-
const auto centFT0CVar1 = collision.centFT0CVariant1();
12811258

12821259
const auto dice = randGen->Rndm();
12831260
if (dice < tt.fracSig)
@@ -1288,28 +1265,22 @@ struct RecoilJets {
12881265
spectra.fill(HIST("hScaledFT0M"), scaledFT0M, weight);
12891266

12901267
// Centrality distribution
1291-
spectra.fill(HIST("hCentFT0A"), centFT0A, weight);
12921268
spectra.fill(HIST("hCentFT0C"), centFT0C, weight);
12931269
spectra.fill(HIST("hCentFT0M"), centFT0M, weight);
1294-
spectra.fill(HIST("hCentFT0CVar1"), centFT0CVar1, weight);
12951270

12961271
// Z vertex position vs EA / centrality
12971272
spectra.fill(HIST("hScaledFT0C_vertexZ"), scaledFT0C, vertexZ, weight);
12981273
spectra.fill(HIST("hScaledFT0M_vertexZ"), scaledFT0M, vertexZ, weight);
12991274

1300-
spectra.fill(HIST("hCentFT0A_vertexZ"), centFT0A, vertexZ, weight);
13011275
spectra.fill(HIST("hCentFT0C_vertexZ"), centFT0C, vertexZ, weight);
13021276
spectra.fill(HIST("hCentFT0M_vertexZ"), centFT0M, vertexZ, weight);
1303-
spectra.fill(HIST("hCentFT0CVar1_vertexZ"), centFT0CVar1, vertexZ, weight);
13041277

13051278
// Rho vs EA / centrality
13061279
spectra.fill(HIST("hScaledFT0C_Rho"), scaledFT0C, rho, weight);
13071280
spectra.fill(HIST("hScaledFT0M_Rho"), scaledFT0M, rho, weight);
13081281

1309-
spectra.fill(HIST("hCentFT0A_Rho"), centFT0A, rho, weight);
13101282
spectra.fill(HIST("hCentFT0C_Rho"), centFT0C, rho, weight);
13111283
spectra.fill(HIST("hCentFT0M_Rho"), centFT0M, rho, weight);
1312-
spectra.fill(HIST("hCentFT0CVar1_Rho"), centFT0CVar1, rho, weight);
13131284

13141285
for (const auto& track : tracks) {
13151286
spectra.fill(HIST("hTrackSelectionCount"), 0.5);
@@ -1325,10 +1296,8 @@ struct RecoilJets {
13251296
spectra.fill(HIST("hScaledFT0CTrackPtEtaPhi"), scaledFT0C, trackPt, trackEta, trackPhi, weight);
13261297
spectra.fill(HIST("hScaledFT0MTrackPtEtaPhi"), scaledFT0M, trackPt, trackEta, trackPhi, weight);
13271298

1328-
spectra.fill(HIST("hCentFT0ATrackPtEtaPhi"), centFT0A, trackPt, trackEta, trackPhi, weight);
13291299
spectra.fill(HIST("hCentFT0CTrackPtEtaPhi"), centFT0C, trackPt, trackEta, trackPhi, weight);
13301300
spectra.fill(HIST("hCentFT0MTrackPtEtaPhi"), centFT0M, trackPt, trackEta, trackPhi, weight);
1331-
spectra.fill(HIST("hCentFT0CVar1TrackPtEtaPhi"), centFT0CVar1, trackPt, trackEta, trackPhi, weight);
13321301

13331302
// Search for TT candidate
13341303
const auto ptTTsigMin = tt.sigPtRange->at(0);
@@ -1375,20 +1344,14 @@ struct RecoilJets {
13751344

13761345
//_____________________________________________________
13771346
// Centrality
1378-
spectra.fill(HIST("hCentFT0A_Ntrig"), centFT0A, addCountToTTSig, weight);
13791347
spectra.fill(HIST("hCentFT0C_Ntrig"), centFT0C, addCountToTTSig, weight);
13801348
spectra.fill(HIST("hCentFT0M_Ntrig"), centFT0M, addCountToTTSig, weight);
1381-
spectra.fill(HIST("hCentFT0CVar1_Ntrig"), centFT0CVar1, addCountToTTSig, weight);
13821349

1383-
spectra.fill(HIST("hCentFT0A_TTSig"), centFT0A, weight);
13841350
spectra.fill(HIST("hCentFT0C_TTSig"), centFT0C, weight);
13851351
spectra.fill(HIST("hCentFT0M_TTSig"), centFT0M, weight);
1386-
spectra.fill(HIST("hCentFT0CVar1_TTSig"), centFT0CVar1, weight);
13871352

1388-
spectra.fill(HIST("hCentFT0A_Rho_TTSig"), centFT0A, rho, weight);
13891353
spectra.fill(HIST("hCentFT0C_Rho_TTSig"), centFT0C, rho, weight);
13901354
spectra.fill(HIST("hCentFT0M_Rho_TTSig"), centFT0M, rho, weight);
1391-
spectra.fill(HIST("hCentFT0CVar1_Rho_TTSig"), centFT0CVar1, rho, weight);
13921355

13931356
} else {
13941357
spectra.fill(HIST("hScaledFT0C_Ntrig"), scaledFT0C, addCountToTTRef, weight);
@@ -1410,20 +1373,14 @@ struct RecoilJets {
14101373

14111374
//_____________________________________________________
14121375
// Centrality
1413-
spectra.fill(HIST("hCentFT0A_Ntrig"), centFT0A, addCountToTTRef, weight);
14141376
spectra.fill(HIST("hCentFT0C_Ntrig"), centFT0C, addCountToTTRef, weight);
14151377
spectra.fill(HIST("hCentFT0M_Ntrig"), centFT0M, addCountToTTRef, weight);
1416-
spectra.fill(HIST("hCentFT0CVar1_Ntrig"), centFT0CVar1, addCountToTTRef, weight);
14171378

1418-
spectra.fill(HIST("hCentFT0A_TTRef"), centFT0A, weight);
14191379
spectra.fill(HIST("hCentFT0C_TTRef"), centFT0C, weight);
14201380
spectra.fill(HIST("hCentFT0M_TTRef"), centFT0M, weight);
1421-
spectra.fill(HIST("hCentFT0CVar1_TTRef"), centFT0CVar1, weight);
14221381

1423-
spectra.fill(HIST("hCentFT0A_Rho_TTRef"), centFT0A, rho, weight);
14241382
spectra.fill(HIST("hCentFT0C_Rho_TTRef"), centFT0C, rho, weight);
14251383
spectra.fill(HIST("hCentFT0M_Rho_TTRef"), centFT0M, rho, weight);
1426-
spectra.fill(HIST("hCentFT0CVar1_Rho_TTRef"), centFT0CVar1, rho, weight);
14271384
}
14281385
}
14291386

@@ -1460,10 +1417,8 @@ struct RecoilJets {
14601417
}
14611418

14621419
// Centrality dependence
1463-
spectra.fill(HIST("hCentFT0A_DPhi_JetPt_Corr_TTSig"), centFT0A, dphi, jetPtCorr, weight);
14641420
spectra.fill(HIST("hCentFT0C_DPhi_JetPt_Corr_TTSig"), centFT0C, dphi, jetPtCorr, weight);
14651421
spectra.fill(HIST("hCentFT0M_DPhi_JetPt_Corr_TTSig"), centFT0M, dphi, jetPtCorr, weight);
1466-
spectra.fill(HIST("hCentFT0CVar1_DPhi_JetPt_Corr_TTSig"), centFT0CVar1, dphi, jetPtCorr, weight);
14671422

14681423
if (bRecoilJet) {
14691424

@@ -1474,10 +1429,8 @@ struct RecoilJets {
14741429
spectra.fill(HIST("hScaledFT0M_Recoil_JetPt_TTSig"), scaledFT0M, jetPt, weight);
14751430

14761431
// Centrality dependence
1477-
spectra.fill(HIST("hCentFT0A_Recoil_JetPt_Corr_TTSig"), centFT0A, jetPtCorr, weight);
14781432
spectra.fill(HIST("hCentFT0C_Recoil_JetPt_Corr_TTSig"), centFT0C, jetPtCorr, weight);
14791433
spectra.fill(HIST("hCentFT0M_Recoil_JetPt_Corr_TTSig"), centFT0M, jetPtCorr, weight);
1480-
spectra.fill(HIST("hCentFT0CVar1_Recoil_JetPt_Corr_TTSig"), centFT0CVar1, jetPtCorr, weight);
14811434

14821435
if (phiTT > phiMin && phiTT < phiMax) {
14831436
spectra.fill(HIST("hScaledFT0C_Recoil_JetPt_Corr_TTSig_RestrictedPhi"), scaledFT0C, jetPtCorr, weight);
@@ -1500,10 +1453,8 @@ struct RecoilJets {
15001453
}
15011454

15021455
// Centrality dependence
1503-
spectra.fill(HIST("hCentFT0A_DPhi_JetPt_Corr_TTRef"), centFT0A, dphi, jetPtCorr, weight);
15041456
spectra.fill(HIST("hCentFT0C_DPhi_JetPt_Corr_TTRef"), centFT0C, dphi, jetPtCorr, weight);
15051457
spectra.fill(HIST("hCentFT0M_DPhi_JetPt_Corr_TTRef"), centFT0M, dphi, jetPtCorr, weight);
1506-
spectra.fill(HIST("hCentFT0CVar1_DPhi_JetPt_Corr_TTRef"), centFT0CVar1, dphi, jetPtCorr, weight);
15071458

15081459
if (bRecoilJet) {
15091460

@@ -1514,10 +1465,8 @@ struct RecoilJets {
15141465
spectra.fill(HIST("hScaledFT0M_Recoil_JetPt_TTRef"), scaledFT0M, jetPt, weight);
15151466

15161467
// Centrality dependence
1517-
spectra.fill(HIST("hCentFT0A_Recoil_JetPt_Corr_TTRef"), centFT0A, jetPtCorr, weight);
15181468
spectra.fill(HIST("hCentFT0C_Recoil_JetPt_Corr_TTRef"), centFT0C, jetPtCorr, weight);
15191469
spectra.fill(HIST("hCentFT0M_Recoil_JetPt_Corr_TTRef"), centFT0M, jetPtCorr, weight);
1520-
spectra.fill(HIST("hCentFT0CVar1_Recoil_JetPt_Corr_TTRef"), centFT0CVar1, jetPtCorr, weight);
15211470

15221471
if (phiTT > phiMin && phiTT < phiMax) {
15231472
spectra.fill(HIST("hScaledFT0C_Recoil_JetPt_Corr_TTRef_RestrictedPhi"), scaledFT0C, jetPtCorr, weight);
@@ -1549,7 +1498,6 @@ struct RecoilJets {
15491498
const auto scaledFT0C = ft0Metrics.scaledFT0C;
15501499
const auto scaledFT0M = ft0Metrics.scaledFT0M;
15511500

1552-
const auto centFT0A = collision.centFT0A();
15531501
const auto centFT0C = collision.centFT0C();
15541502
const auto centFT0M = collision.centFT0M();
15551503

@@ -1562,15 +1510,13 @@ struct RecoilJets {
15621510
spectra.fill(HIST("hScaledFT0M_Part"), scaledFT0M, weight);
15631511

15641512
// Centrality distribution
1565-
spectra.fill(HIST("hCentFT0A_Part"), centFT0A, weight);
15661513
spectra.fill(HIST("hCentFT0C_Part"), centFT0C, weight);
15671514
spectra.fill(HIST("hCentFT0M_Part"), centFT0M, weight);
15681515

15691516
// Z vertex position vs EA / centrality
15701517
spectra.fill(HIST("hScaledFT0C_vertexZ_Part"), scaledFT0C, vertexZ, weight);
15711518
spectra.fill(HIST("hScaledFT0M_vertexZ_Part"), scaledFT0M, vertexZ, weight);
15721519

1573-
spectra.fill(HIST("hCentFT0A_vertexZ_Part"), centFT0A, vertexZ, weight);
15741520
spectra.fill(HIST("hCentFT0C_vertexZ_Part"), centFT0C, vertexZ, weight);
15751521
spectra.fill(HIST("hCentFT0M_vertexZ_Part"), centFT0M, vertexZ, weight);
15761522

@@ -1589,7 +1535,6 @@ struct RecoilJets {
15891535
spectra.fill(HIST("hScaledFT0CTrackPtEtaPhi_Part"), scaledFT0C, particlePt, particleEta, particlePhi, weight);
15901536
spectra.fill(HIST("hScaledFT0MTrackPtEtaPhi_Part"), scaledFT0M, particlePt, particleEta, particlePhi, weight);
15911537

1592-
spectra.fill(HIST("hCentFT0ATrackPtEtaPhi_Part"), centFT0A, particlePt, particleEta, particlePhi, weight);
15931538
spectra.fill(HIST("hCentFT0CTrackPtEtaPhi_Part"), centFT0C, particlePt, particleEta, particlePhi, weight);
15941539
spectra.fill(HIST("hCentFT0MTrackPtEtaPhi_Part"), centFT0M, particlePt, particleEta, particlePhi, weight);
15951540

@@ -1638,15 +1583,12 @@ struct RecoilJets {
16381583

16391584
//_____________________________________________________
16401585
// Centrality
1641-
spectra.fill(HIST("hCentFT0A_Ntrig_Part"), centFT0A, addCountToTTSig, weight);
16421586
spectra.fill(HIST("hCentFT0C_Ntrig_Part"), centFT0C, addCountToTTSig, weight);
16431587
spectra.fill(HIST("hCentFT0M_Ntrig_Part"), centFT0M, addCountToTTSig, weight);
16441588

1645-
spectra.fill(HIST("hCentFT0A_TTSig_Part"), centFT0A, weight);
16461589
spectra.fill(HIST("hCentFT0C_TTSig_Part"), centFT0C, weight);
16471590
spectra.fill(HIST("hCentFT0M_TTSig_Part"), centFT0M, weight);
16481591

1649-
spectra.fill(HIST("hCentFT0A_Rho_TTSig_Part"), centFT0A, rho, weight);
16501592
spectra.fill(HIST("hCentFT0C_Rho_TTSig_Part"), centFT0C, rho, weight);
16511593
spectra.fill(HIST("hCentFT0M_Rho_TTSig_Part"), centFT0M, rho, weight);
16521594

@@ -1670,15 +1612,12 @@ struct RecoilJets {
16701612

16711613
//_____________________________________________________
16721614
// Centrality
1673-
spectra.fill(HIST("hCentFT0A_Ntrig_Part"), centFT0A, addCountToTTRef, weight);
16741615
spectra.fill(HIST("hCentFT0C_Ntrig_Part"), centFT0C, addCountToTTRef, weight);
16751616
spectra.fill(HIST("hCentFT0M_Ntrig_Part"), centFT0M, addCountToTTRef, weight);
16761617

1677-
spectra.fill(HIST("hCentFT0A_TTRef_Part"), centFT0A, weight);
16781618
spectra.fill(HIST("hCentFT0C_TTRef_Part"), centFT0C, weight);
16791619
spectra.fill(HIST("hCentFT0M_TTRef_Part"), centFT0M, weight);
16801620

1681-
spectra.fill(HIST("hCentFT0A_Rho_TTRef_Part"), centFT0A, rho, weight);
16821621
spectra.fill(HIST("hCentFT0C_Rho_TTRef_Part"), centFT0C, rho, weight);
16831622
spectra.fill(HIST("hCentFT0M_Rho_TTRef_Part"), centFT0M, rho, weight);
16841623
}
@@ -1713,7 +1652,6 @@ struct RecoilJets {
17131652
}
17141653

17151654
// Centrality dependence
1716-
spectra.fill(HIST("hCentFT0A_DPhi_JetPt_Corr_TTSig_Part"), centFT0A, dphi, jetPtCorr, weight);
17171655
spectra.fill(HIST("hCentFT0C_DPhi_JetPt_Corr_TTSig_Part"), centFT0C, dphi, jetPtCorr, weight);
17181656
spectra.fill(HIST("hCentFT0M_DPhi_JetPt_Corr_TTSig_Part"), centFT0M, dphi, jetPtCorr, weight);
17191657

@@ -1726,7 +1664,6 @@ struct RecoilJets {
17261664
spectra.fill(HIST("hScaledFT0M_Recoil_JetPt_TTSig_Part"), scaledFT0M, jetPt, weight);
17271665

17281666
// Centrality dependence
1729-
spectra.fill(HIST("hCentFT0A_Recoil_JetPt_Corr_TTSig_Part"), centFT0A, jetPtCorr, weight);
17301667
spectra.fill(HIST("hCentFT0C_Recoil_JetPt_Corr_TTSig_Part"), centFT0C, jetPtCorr, weight);
17311668
spectra.fill(HIST("hCentFT0M_Recoil_JetPt_Corr_TTSig_Part"), centFT0M, jetPtCorr, weight);
17321669

@@ -1751,7 +1688,6 @@ struct RecoilJets {
17511688
}
17521689

17531690
// Centrality dependence
1754-
spectra.fill(HIST("hCentFT0A_DPhi_JetPt_Corr_TTRef_Part"), centFT0A, dphi, jetPtCorr, weight);
17551691
spectra.fill(HIST("hCentFT0C_DPhi_JetPt_Corr_TTRef_Part"), centFT0C, dphi, jetPtCorr, weight);
17561692
spectra.fill(HIST("hCentFT0M_DPhi_JetPt_Corr_TTRef_Part"), centFT0M, dphi, jetPtCorr, weight);
17571693

@@ -1764,7 +1700,6 @@ struct RecoilJets {
17641700
spectra.fill(HIST("hScaledFT0M_Recoil_JetPt_TTRef_Part"), scaledFT0M, jetPt, weight);
17651701

17661702
// Centrality dependence
1767-
spectra.fill(HIST("hCentFT0A_Recoil_JetPt_Corr_TTRef_Part"), centFT0A, jetPtCorr, weight);
17681703
spectra.fill(HIST("hCentFT0C_Recoil_JetPt_Corr_TTRef_Part"), centFT0C, jetPtCorr, weight);
17691704
spectra.fill(HIST("hCentFT0M_Recoil_JetPt_Corr_TTRef_Part"), centFT0M, jetPtCorr, weight);
17701705

0 commit comments

Comments
 (0)