Skip to content

Commit 09b0670

Browse files
committed
Please consider the following formatting changes
1 parent 0dfea35 commit 09b0670

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

PWGHF/D2H/Tasks/taskDs.cxx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ struct HfTaskDs {
122122
using CandDsMcGen = soa::Join<aod::McParticles, aod::HfCand3ProngMcGen>;
123123

124124
Filter filterDsFlag = (o2::aod::hf_track_index::hfflag & static_cast<uint8_t>(BIT(aod::hf_cand_3prong::DecayType::DsToKKPi))) != static_cast<uint8_t>(0);
125-
125+
126126
Preslice<aod::HfCand3Prong> candDsPerCollision = aod::hf_cand::collisionId;
127127
PresliceUnsorted<aod::McCollisionLabels> colPerMcCollision = aod::mccollisionlabel::mcCollisionId;
128128

@@ -205,7 +205,7 @@ struct HfTaskDs {
205205
axesGenFd.insert(axesGenFd.end(), {occupancybins});
206206
axesGenBkg.insert(axesGenBkg.end(), {occupancybins});
207207
}
208-
208+
209209
for (auto i = 0; i < DataType::kDataTypes; ++i) {
210210
if (doprocessDataWithCentFT0C || doprocessDataWithCentFT0M || doprocessDataWithCentNTracksPV || doprocessData || doprocessMcWithCentFT0C || doprocessMcWithCentFT0M || doprocessMcWithCentNTracksPV || doprocessMc) {
211211
if (i == DataType::Data) { // If data do not fill PV contributors in sparse
@@ -219,7 +219,7 @@ struct HfTaskDs {
219219
if (i == DataType::Data) { // If data do not fill PV contributors in sparse
220220
histosPtr[i]["hSparseMass"] = registry.add<THnSparse>((folders[i] + "hSparseMass").c_str(), "THn for Ds", HistType::kTHnSparseF, axesMl);
221221
} else if (i == DataType::McDsNonPrompt) { // If data do not fill PV contributors in sparse
222-
histosPtr[i]["hSparseMass"] = registry.add<THnSparse>((folders[i] + "hSparseMass").c_str(), "THn for Ds", HistType::kTHnSparseF, axesFdMl);
222+
histosPtr[i]["hSparseMass"] = registry.add<THnSparse>((folders[i] + "hSparseMass").c_str(), "THn for Ds", HistType::kTHnSparseF, axesFdMl);
223223
} else {
224224
histosPtr[i]["hSparseMass"] = registry.add<THnSparse>((folders[i] + "hSparseMass").c_str(), "THn for Ds", HistType::kTHnSparseF, axesWithNpvMl);
225225
}
@@ -267,10 +267,10 @@ struct HfTaskDs {
267267
}
268268
if (i == DataType::McDsPrompt || i == DataType::McDplusPrompt) {
269269
histosPtr[i]["hSparseGen"] = registry.add<THnSparse>((folders[i] + "hSparseGen").c_str(), "Thn for generated prompt candidates", HistType::kTHnSparseF, axesGenPrompt);
270-
}
270+
}
271271
if (i == DataType::McDsNonPrompt || i == DataType::McDplusNonPrompt) {
272272
histosPtr[i]["hSparseGen"] = registry.add<THnSparse>((folders[i] + "hSparseGen").c_str(), "Thn for generated nonprompt candidates", HistType::kTHnSparseF, axesGenFd);
273-
}
273+
}
274274
if (i == DataType::McBkg) {
275275
histosPtr[i]["hSparseGen"] = registry.add<THnSparse>((folders[i] + "hSparseGen").c_str(), "Thn for non-matched generated candidates", HistType::kTHnSparseF, axesGenBkg);
276276
}
@@ -757,7 +757,7 @@ struct HfTaskDs {
757757

758758
template <typename Coll>
759759
void fillMcGenHistosSparse(CandDsMcGen const& mcParticles,
760-
Coll const& recoCollisions)
760+
Coll const& recoCollisions)
761761
{
762762

763763
// MC gen.
@@ -795,11 +795,11 @@ struct HfTaskDs {
795795
}
796796
}
797797
if (particle.originMcGen() == RecoDecay::OriginType::NonPrompt) {
798-
std::get<TH1Ptr>(histosPtr[DataType::McDsNonPrompt]["hPtGen"])->Fill(pt); // gen. level pT
799-
std::get<TH1Ptr>(histosPtr[DataType::McDsNonPrompt]["hEtaGen"])->Fill(particle.eta());
798+
std::get<TH1Ptr>(histosPtr[DataType::McDsNonPrompt]["hPtGen"])->Fill(pt); // gen. level pT
799+
std::get<TH1Ptr>(histosPtr[DataType::McDsNonPrompt]["hEtaGen"])->Fill(particle.eta());
800800
auto bHadMother = mcParticles.rawIteratorAt(particle.idxBhadMotherPart() - mcParticles.offset());
801801
int flagGenB = getBHadMotherFlag(bHadMother.pdgCode());
802-
float ptGenB = bHadMother.pt();
802+
float ptGenB = bHadMother.pt();
803803
if (storeOccupancy && occEstimator != OccupancyEstimator::None) {
804804
std::get<THnSparsePtr>(histosPtr[DataType::McDsNonPrompt]["hSparseGen"])->Fill(pt, y, maxNumContrib, ptGenB, flagGenB, cent, occ);
805805
} else {

0 commit comments

Comments
 (0)