Skip to content

Commit db98d19

Browse files
Merge pull request #38 from alibuild/alibot-cleanup-12989
[PWGHF] Please consider the following formatting changes to #12989
2 parents 9295187 + 63964bc commit db98d19

File tree

3 files changed

+14
-14
lines changed

3 files changed

+14
-14
lines changed

PWGHF/HFC/DataModel/DerivedDataCorrelationTables.h

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -93,15 +93,15 @@ DECLARE_SOA_TABLE(HfcRedCharmTrigs, "AOD", "HFCREDCHARMTRIG", //! Table with cha
9393

9494
namespace hf_assoc_track_reduced
9595
{
96-
DECLARE_SOA_COLUMN(OriginTrackId, originTrackId, int); //! Original track index
97-
DECLARE_SOA_COLUMN(NTpcCrossedRows, nTpcCrossedRows, UChar_t); //! Number of crossed TPC Rows
98-
DECLARE_SOA_COLUMN(ItsClusterMap, itsClusterMap, UChar_t); //! ITS cluster map, one bit per a layer, starting from the innermost
99-
DECLARE_SOA_COLUMN(ItsNCls, itsNCls, UChar_t); //! Number of ITS clusters
100-
DECLARE_SOA_COLUMN(EtaAssocTrack, etaAssocTrack, float); //! Eta of the track
101-
DECLARE_SOA_COLUMN(PhiAssocTrack, phiAssocTrack, float); //! Phi of the track
102-
DECLARE_SOA_COLUMN(PtAssocTrack, ptAssocTrack, float); //! Pt of the track
103-
DECLARE_SOA_COLUMN(DcaXY, dcaXY, float); //! Impact parameter in XY of the track to the primary vertex
104-
DECLARE_SOA_COLUMN(DcaZ, dcaZ, float); //! Impact parameter in Z of the track to the primary vertex
96+
DECLARE_SOA_COLUMN(OriginTrackId, originTrackId, int); //! Original track index
97+
DECLARE_SOA_COLUMN(NTpcCrossedRows, nTpcCrossedRows, UChar_t); //! Number of crossed TPC Rows
98+
DECLARE_SOA_COLUMN(ItsClusterMap, itsClusterMap, UChar_t); //! ITS cluster map, one bit per a layer, starting from the innermost
99+
DECLARE_SOA_COLUMN(ItsNCls, itsNCls, UChar_t); //! Number of ITS clusters
100+
DECLARE_SOA_COLUMN(EtaAssocTrack, etaAssocTrack, float); //! Eta of the track
101+
DECLARE_SOA_COLUMN(PhiAssocTrack, phiAssocTrack, float); //! Phi of the track
102+
DECLARE_SOA_COLUMN(PtAssocTrack, ptAssocTrack, float); //! Pt of the track
103+
DECLARE_SOA_COLUMN(DcaXY, dcaXY, float); //! Impact parameter in XY of the track to the primary vertex
104+
DECLARE_SOA_COLUMN(DcaZ, dcaZ, float); //! Impact parameter in Z of the track to the primary vertex
105105
DECLARE_SOA_COLUMN(NTpcCrossedRowsTrig, nTpcCrossedRowsTrig, UChar_t); //! Number of crossed TPC Rows
106106
DECLARE_SOA_COLUMN(ItsClusterMapTrig, itsClusterMapTrig, UChar_t); //! ITS cluster map, one bit per a layer, starting from the innermost
107107
DECLARE_SOA_COLUMN(ItsNClsTrig, itsNClsTrig, UChar_t); //! Number of ITS clusters

PWGHF/HFC/TableProducer/correlatorFlowCharmHadronsReduced.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ struct HfCorrelatorFlowCharmHadronsReduced {
393393
}
394394
if (downSamplePairsME < 1.) {
395395
float pseudoRndm = getPt(assocTrack) * 1000. - static_cast<int64_t>(getPt(assocTrack) * 1000);
396-
if (getPt(trigCand) < ptMaxForDownSampleME && trigColl.centrality() < centMaxForDownSampleME &&
396+
if (getPt(trigCand) < ptMaxForDownSampleME && trigColl.centrality() < centMaxForDownSampleME &&
397397
assocColl.centrality() < centMaxForDownSampleME && pseudoRndm >= downSamplePairsME) {
398398
continue;
399399
}

PWGHF/HFC/TableProducer/derivedDataCreatorCorrelationsReduced.cxx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,9 @@ struct HfDerivedDataCreatorCorrelationsReduced {
307307
template <typename TCand, typename TTrack>
308308
bool checkDaughterTrack(TTrack const& track, TCand const& cand)
309309
{
310-
if constexpr ((requires { cand.prong2Id(); })) { // Check 3-prong
310+
if constexpr ((requires { cand.prong2Id(); })) { // Check 3-prong
311311
return (track.globalIndex() == cand.prong0Id() || track.globalIndex() == cand.prong1Id() || track.globalIndex() == cand.prong2Id());
312-
} else { // Check 2-prong
312+
} else { // Check 2-prong
313313
return (track.globalIndex() == cand.prong0Id() || track.globalIndex() == cand.prong1Id());
314314
}
315315
}
@@ -441,8 +441,8 @@ struct HfDerivedDataCreatorCorrelationsReduced {
441441
registry.fill(HIST("hPoolBinAssoc"), poolBin);
442442
registry.fill(HIST("hPhiVsPtAssoc"), RecoDecay::constrainAngle(assTrk.phi(), -o2::constants::math::PIHalf), assTrk.pt());
443443
registry.fill(HIST("hEtaVsPtAssoc"), assTrk.eta(), assTrk.pt());
444-
rowAssocTrackReduced(rowCollisions.lastIndex(), assTrk.phi(), assTrk.eta(),
445-
assTrk.pt(), assTrk.tpcNClsCrossedRows(), assTrk.itsClusterMap(),
444+
rowAssocTrackReduced(rowCollisions.lastIndex(), assTrk.phi(), assTrk.eta(),
445+
assTrk.pt(), assTrk.tpcNClsCrossedRows(), assTrk.itsClusterMap(),
446446
assTrk.itsNCls(), assTrk.dcaXY(), assTrk.dcaZ());
447447
}
448448
}

0 commit comments

Comments
 (0)