Skip to content

Commit 23d8542

Browse files
Merge pull request #27 from alibuild/alibot-cleanup-12111
Please consider the following formatting changes to #12111
2 parents 2f3c6cf + 44ccb08 commit 23d8542

File tree

3 files changed

+22
-23
lines changed

3 files changed

+22
-23
lines changed

PWGHF/D2H/DataModel/ReducedDataModel.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,6 @@ DECLARE_SOA_TABLE(HfRedSoftPiCov, "AOD", "HFREDSOFTPICOV", //! Table with track
312312
HFTRACKPARCOV_COLUMNS,
313313
o2::soa::Marker<2>);
314314

315-
316315
// CAREFUL: need to follow convention [Name = Description + 's'] in DECLARE_SOA_TABLE(Name, "AOD", Description)
317316
// to call DECLARE_SOA_INDEX_COLUMN_FULL later on
318317
DECLARE_SOA_TABLE(HfRedBach0Bases, "AOD", "HFREDBACH0BASE", //! Table with track information for reduced workflow

PWGHF/D2H/TableProducer/dataCreatorCharmHadPiReduced.cxx

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -391,10 +391,10 @@ struct HfDataCreatorCharmHadPiReduced {
391391

392392
// init HF event selection helper
393393
hfEvSel.init(registry);
394-
if (doprocessDplusPiMc || doprocessDplusPiMcWithMl ||
395-
doprocessDsPiMc || doprocessDsPiMcWithMl ||
396-
doprocessD0PiMc || doprocessD0PiMcWithMl ||
397-
doprocessLcPiMc || doprocessLcPiMcWithMl ||
394+
if (doprocessDplusPiMc || doprocessDplusPiMcWithMl ||
395+
doprocessDsPiMc || doprocessDsPiMcWithMl ||
396+
doprocessD0PiMc || doprocessD0PiMcWithMl ||
397+
doprocessLcPiMc || doprocessLcPiMcWithMl ||
398398
doprocessDstarPiMc || doprocessDstarPiMcWithMl) {
399399
const auto& workflows = initContext.services().get<RunningWorkflowInfo const>();
400400
for (const DeviceSpec& device : workflows.devices) {
@@ -1218,8 +1218,8 @@ struct HfDataCreatorCharmHadPiReduced {
12181218
trackParCovCharmHad = df2.createParentTrackParCov();
12191219
trackParCovCharmHad.setAbsCharge(0); // to be sure
12201220
} else if constexpr (decChannel == DecayChannel::B0ToDstarPi) {
1221-
1222-
hCandidatesDstar->Fill(SVFitting::BeforeFit);
1221+
1222+
hCandidatesDstar->Fill(SVFitting::BeforeFit);
12231223
try {
12241224
// D0 vertex
12251225
if (df2.process(trackParCov0, trackParCov1) == 0) {
@@ -1387,18 +1387,18 @@ struct HfDataCreatorCharmHadPiReduced {
13871387
}
13881388
} else if constexpr (decChannel == DecayChannel::BplusToD0barPi) { // D0(bar) → K± π∓
13891389
tables.hfCand2Prong(charmHadDauTracks[0].globalIndex(), charmHadDauTracks[1].globalIndex(),
1390-
indexHfReducedCollision,
1391-
trackParCovCharmHad.getX(), trackParCovCharmHad.getAlpha(),
1392-
trackParCovCharmHad.getY(), trackParCovCharmHad.getZ(), trackParCovCharmHad.getSnp(),
1393-
trackParCovCharmHad.getTgl(), trackParCovCharmHad.getQ2Pt(),
1394-
candC.xSecondaryVertex(), candC.ySecondaryVertex(), candC.zSecondaryVertex(), invMassC0, invMassC1,
1395-
ptDauMin, etaDauMin, nItsClsDauMin, nTpcCrossRowsDauMin, chi2TpcDauMax);
1390+
indexHfReducedCollision,
1391+
trackParCovCharmHad.getX(), trackParCovCharmHad.getAlpha(),
1392+
trackParCovCharmHad.getY(), trackParCovCharmHad.getZ(), trackParCovCharmHad.getSnp(),
1393+
trackParCovCharmHad.getTgl(), trackParCovCharmHad.getQ2Pt(),
1394+
candC.xSecondaryVertex(), candC.ySecondaryVertex(), candC.zSecondaryVertex(), invMassC0, invMassC1,
1395+
ptDauMin, etaDauMin, nItsClsDauMin, nTpcCrossRowsDauMin, chi2TpcDauMax);
13961396
tables.hfCand2ProngCov(trackParCovCharmHad.getSigmaY2(), trackParCovCharmHad.getSigmaZY(), trackParCovCharmHad.getSigmaZ2(),
1397-
trackParCovCharmHad.getSigmaSnpY(), trackParCovCharmHad.getSigmaSnpZ(),
1398-
trackParCovCharmHad.getSigmaSnp2(), trackParCovCharmHad.getSigmaTglY(), trackParCovCharmHad.getSigmaTglZ(),
1399-
trackParCovCharmHad.getSigmaTglSnp(), trackParCovCharmHad.getSigmaTgl2(),
1400-
trackParCovCharmHad.getSigma1PtY(), trackParCovCharmHad.getSigma1PtZ(), trackParCovCharmHad.getSigma1PtSnp(),
1401-
trackParCovCharmHad.getSigma1PtTgl(), trackParCovCharmHad.getSigma1Pt2());
1397+
trackParCovCharmHad.getSigmaSnpY(), trackParCovCharmHad.getSigmaSnpZ(),
1398+
trackParCovCharmHad.getSigmaSnp2(), trackParCovCharmHad.getSigmaTglY(), trackParCovCharmHad.getSigmaTglZ(),
1399+
trackParCovCharmHad.getSigmaTglSnp(), trackParCovCharmHad.getSigmaTgl2(),
1400+
trackParCovCharmHad.getSigma1PtY(), trackParCovCharmHad.getSigma1PtZ(), trackParCovCharmHad.getSigma1PtSnp(),
1401+
trackParCovCharmHad.getSigma1PtTgl(), trackParCovCharmHad.getSigma1Pt2());
14021402
tables.hfCandPidProng0(candC.nSigTpcPi0(), candC.nSigTofPi0(), candC.nSigTpcKa0(), candC.nSigTofKa0(), 0., 0., charmHadDauTracks[0].hasTOF(), charmHadDauTracks[0].hasTPC());
14031403
tables.hfCandPidProng1(candC.nSigTpcPi1(), candC.nSigTofPi1(), candC.nSigTpcKa1(), candC.nSigTofKa1(), 0., 0., charmHadDauTracks[1].hasTOF(), charmHadDauTracks[1].hasTPC());
14041404
if constexpr (withMl) {
@@ -1614,8 +1614,8 @@ struct HfDataCreatorCharmHadPiReduced {
16141614
counter++;
16151615
}
16161616
tables.rowHfBsMcGenReduced(flag, -1 /*channel*/, ptParticle, yParticle, etaParticle,
1617-
ptProngs[0], yProngs[0], etaProngs[0],
1618-
ptProngs[1], yProngs[1], etaProngs[1], hfRejMap, centFT0C, centFT0M);
1617+
ptProngs[0], yProngs[0], etaProngs[0],
1618+
ptProngs[1], yProngs[1], etaProngs[1], hfRejMap, centFT0C, centFT0M);
16191619
} else if constexpr (decayChannel == DecayChannel::BplusToD0barPi) {
16201620
// B+ → D0bar π+
16211621
if (RecoDecay::isMatchedMCGen(particlesMc, particle, Pdg::kBPlus, std::array{-static_cast<int>(Pdg::kD0), +kPiPlus}, true)) {
@@ -1647,8 +1647,8 @@ struct HfDataCreatorCharmHadPiReduced {
16471647
counter++;
16481648
}
16491649
tables.rowHfBpMcGenReduced(flag, -1 /*channel*/, ptParticle, yParticle, etaParticle,
1650-
ptProngs[0], yProngs[0], etaProngs[0],
1651-
ptProngs[1], yProngs[1], etaProngs[1], hfRejMap, centFT0C, centFT0M);
1650+
ptProngs[0], yProngs[0], etaProngs[0],
1651+
ptProngs[1], yProngs[1], etaProngs[1], hfRejMap, centFT0C, centFT0M);
16521652
} else if constexpr (decayChannel == DecayChannel::LbToLcplusPi) {
16531653
// Lb → Lc+ π-
16541654
if (RecoDecay::isMatchedMCGen<true>(particlesMc, particle, Pdg::kLambdaB0, std::array{static_cast<int>(Pdg::kLambdaCPlus), -kPiPlus}, true)) {

PWGHF/DataModel/CandidateReconstructionTables.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2192,7 +2192,7 @@ DECLARE_SOA_COLUMN(DebugMcRec, debugMcRec, int8_t); // debug fla
21922192

21932193
// mapping of decay types
21942194
enum DecayType { B0ToDPi = 0,
2195-
B0ToDstarPi};
2195+
B0ToDstarPi };
21962196

21972197
enum DecayTypeMc : uint8_t { B0ToDplusPiToPiKPiPi = 0,
21982198
B0ToDsPiToKKPiPi,

0 commit comments

Comments
 (0)