Skip to content

Commit 32cd9dd

Browse files
committed
[PWGJE] apply clang-format
1 parent e6d5088 commit 32cd9dd

1 file changed

Lines changed: 18 additions & 24 deletions

File tree

PWGJE/Tasks/jetDsSpecSubs.cxx

Lines changed: 18 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ struct JetDsSpecSubs {
111111
"registry",
112112
{
113113
{"h_collisions", "event status;event status;entries", {HistType::kTH1F, {{10, 0.0, 10.0}}}},
114-
{"h_event_counter_data", ";Selection step;Events", {HistType::kTH1F, {{3,0.5,3.5}}}},
114+
{"h_event_counter_data", ";Selection step;Events", {HistType::kTH1F, {{3, 0.5, 3.5}}}},
115115

116116
{"h_track_pt", ";#it{p}_{T,track};entries", {HistType::kTH1F, {{200, 0., 200.}}}},
117117
{"h_track_eta", ";#eta_{track};entries", {HistType::kTH1F, {{100, -1., 1.}}}},
@@ -132,8 +132,7 @@ struct JetDsSpecSubs {
132132
{"h_ds_jet_mass_data", ";m_{jet}^{ch} (GeV/#it{c}^{2});entries", {HistType::kTH1F, {{300, 0., 25.}}}},
133133
{"h_ds_jet_lambda11_data", ";#lambda_{1}^{1};entries", {HistType::kTH1F, {{100, 0., 1.0}}}},
134134
{"h_ds_jet_lambda12_data", ";#lambda_{2}^{1};entries", {HistType::kTH1F, {{100, 0., 1.0}}}},
135-
{"hSparse_ds_data", ";m_{D_{S}};#it{p}_{T,D_{S}};#it{p}_{T,jet};z^{D_{S},jet}_{||};#DeltaR_{D_{S},jet}",
136-
{HistType::kTHnSparseF, {{60, 1.7, 2.15}, {60, 0., 80.}, {60, 0., 100.}, {20, 0., 1.2}, {20, 0., 1.0}}}},
135+
{"hSparse_ds_data", ";m_{D_{S}};#it{p}_{T,D_{S}};#it{p}_{T,jet};z^{D_{S},jet}_{||};#DeltaR_{D_{S},jet}", {HistType::kTHnSparseF, {{60, 1.7, 2.15}, {60, 0., 80.}, {60, 0., 100.}, {20, 0., 1.2}, {20, 0., 1.0}}}},
137136

138137
// MC general histograms
139138
{"McEffJet", "N_{jet};", {HistType::kTH1F, {{4, 0., 4.0}}}},
@@ -153,14 +152,11 @@ struct JetDsSpecSubs {
153152
{"h_ds_jet_lambda12_mcd", ";#lambda_{2}^{1, det};entries", {HistType::kTH1F, {{100, 0., 1.0}}}},
154153

155154
// MCD - Sparse 1: mass, p_{T,Ds}, p_{T,jet}, z|| and prompt/non-prompt
156-
{"hSparse_ds_mcd1", ";m_{D_{S}}^{rec};#it{p}_{T,D_{S}}^{det};#it{p}_{T,jet}^{det};z^{D_{S},jet}_{||, det};Origin(D_{S})",
157-
{HistType::kTHnSparseF, {{60, 1.7, 2.15}, {60, 0., 80.}, {60, 0., 100.}, {20, 0., 1.2}, {2, -0.5, 1.5}}}},
155+
{"hSparse_ds_mcd1", ";m_{D_{S}}^{rec};#it{p}_{T,D_{S}}^{det};#it{p}_{T,jet}^{det};z^{D_{S},jet}_{||, det};Origin(D_{S})", {HistType::kTHnSparseF, {{60, 1.7, 2.15}, {60, 0., 80.}, {60, 0., 100.}, {20, 0., 1.2}, {2, -0.5, 1.5}}}},
158156
// MCD - Sparse 2: p_{T,Ds}, p_{T,jet}, and DeltaR
159-
{"hSparse_ds_mcd2", ";#it{p}_{T,D_{S}}^{det};#it{p}_{T,jet}^{det};#DeltaR_{D_{S},jet}^{det}",
160-
{HistType::kTHnSparseF, {{60, 0., 80.}, {60, 0., 100.}, {20, 0., 1.0}}}},
157+
{"hSparse_ds_mcd2", ";#it{p}_{T,D_{S}}^{det};#it{p}_{T,jet}^{det};#DeltaR_{D_{S},jet}^{det}", {HistType::kTHnSparseF, {{60, 0., 80.}, {60, 0., 100.}, {20, 0., 1.0}}}},
161158
// MCD - Sparse 3: p_{T,jet}, z|| and DeltaR
162-
{"hSparse_ds_mcd3", ";#it{p}_{T,jet}^{det};z^{D_{S},jet}_{||, det};#DeltaR_{D_{S},jet}^{det}",
163-
{HistType::kTHnSparseF, {{60, 0., 100.}, {20, 0., 1.2}, {20, 0., 1.0}}}},
159+
{"hSparse_ds_mcd3", ";#it{p}_{T,jet}^{det};z^{D_{S},jet}_{||, det};#DeltaR_{D_{S},jet}^{det}", {HistType::kTHnSparseF, {{60, 0., 100.}, {20, 0., 1.2}, {20, 0., 1.0}}}},
164160

165161
// MC particle-level histograms
166162
{"h_jet_pt_mcp", "particle-level jet pT;#it{p}_{T,jet}^{part} (GeV/#it{c});entries", {HistType::kTH1F, {{200, 0., 200.}}}},
@@ -175,8 +171,7 @@ struct JetDsSpecSubs {
175171
{"h_ds_jet_lambda12_mcp", ";#lambda_{2}^{1, part};entries", {HistType::kTH1F, {{100, 0., 1.0}}}},
176172

177173
// MCP - Sparse: p_{T,Ds}, p_{T,jet}, z|| and DeltaR
178-
{"hSparse_ds_mcp", ";#it{p}_{T,D_{S}}^{part};#it{p}_{T,jet}^{part};z^{D_{S},jet}_{||, part};#DeltaR_{D_{S},jet}^{part}",
179-
{HistType::kTHnSparseF, {{60, 0., 80.}, {60, 0., 100.}, {20, 0., 1.2}, {20, 0., 1.0}}}},
174+
{"hSparse_ds_mcp", ";#it{p}_{T,D_{S}}^{part};#it{p}_{T,jet}^{part};z^{D_{S},jet}_{||, part};#DeltaR_{D_{S},jet}^{part}", {HistType::kTHnSparseF, {{60, 0., 80.}, {60, 0., 100.}, {20, 0., 1.2}, {20, 0., 1.0}}}},
180175
}};
181176
//========
182177
// INIT
@@ -188,9 +183,9 @@ struct JetDsSpecSubs {
188183
trackSelection = jetderiveddatautilities::initialiseTrackSelection(static_cast<std::string>(trackSelections));
189184

190185
auto hEvt = registry.get<TH1>(HIST("h_event_counter_data"));
191-
hEvt->GetXaxis()->SetBinLabel(1,"Input collisions");
192-
hEvt->GetXaxis()->SetBinLabel(2,"Event selection");
193-
hEvt->GetXaxis()->SetBinLabel(3,"|z| < 10 cm");
186+
hEvt->GetXaxis()->SetBinLabel(1, "Input collisions");
187+
hEvt->GetXaxis()->SetBinLabel(2, "Event selection");
188+
hEvt->GetXaxis()->SetBinLabel(3, "|z| < 10 cm");
194189

195190
// Labels
196191
auto mcCollisionCounter = registry.get<TH1>(HIST("McEffCol"));
@@ -345,7 +340,6 @@ struct JetDsSpecSubs {
345340

346341
registry.fill(HIST("h_ds_jet_distance_data"), deltaR);
347342

348-
349343
// Main THnSparse: invariant mass, pT, z, and DeltaR
350344
registry.fill(HIST("hSparse_ds_data"),
351345
dsCandidate.m(),
@@ -356,16 +350,16 @@ struct JetDsSpecSubs {
356350
}
357351

358352
if (!jet.candidates_as<aod::CandidatesDsData>().empty()) {
359-
// Jet mass
360-
registry.fill(HIST("h_ds_jet_mass_data"),mjet);
353+
// Jet mass
354+
registry.fill(HIST("h_ds_jet_mass_data"), mjet);
361355

362-
// Jet angularity
363-
if (lambda11 >= 0.f) {
364-
registry.fill(HIST("h_ds_jet_lambda11_data"), lambda11);
365-
}
366-
if (lambda12 >= 0.f) {
367-
registry.fill(HIST("h_ds_jet_lambda12_data"), lambda12);
368-
}
356+
// Jet angularity
357+
if (lambda11 >= 0.f) {
358+
registry.fill(HIST("h_ds_jet_lambda11_data"), lambda11);
359+
}
360+
if (lambda12 >= 0.f) {
361+
registry.fill(HIST("h_ds_jet_lambda12_data"), lambda12);
362+
}
369363
}
370364
}
371365
}

0 commit comments

Comments
 (0)