Skip to content

Commit 8a30e2d

Browse files
authored
Merge pull request #148 from alibuild/alibot-cleanup-15205
Please consider the following formatting changes to #15205
2 parents 5564d67 + e19267e commit 8a30e2d

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

PWGHF/D2H/Core/DataCreationCharmReso.h

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
#define HomogeneousField // needed for KFParticle::SetField(magneticField);
2323
#endif
2424

25-
#include "PWGEM/PhotonMeson/Utils/PCMUtilities.h"
2625
#include "PWGEM/Dilepton/Utils/PairUtilities.h"
26+
#include "PWGEM/PhotonMeson/Utils/PCMUtilities.h"
2727
#include "PWGEM/PhotonMeson/Utils/TrackSelection.h"
2828
#include "PWGHF/Core/CentralityEstimation.h"
2929
#include "PWGHF/Core/DecayChannels.h"
@@ -48,12 +48,12 @@
4848
#include <TH1.h>
4949
#include <TPDGCode.h>
5050

51-
#include <Rtypes.h>
52-
5351
#include <KFPTrack.h>
5452
#include <KFPVertex.h>
5553
#include <KFParticle.h>
5654

55+
#include <Rtypes.h>
56+
5757
#include <algorithm>
5858
#include <array>
5959
#include <cmath>
@@ -566,7 +566,7 @@ bool buildAndSelectGamma(const Coll& collision, const std::array<int, 3>& dDaugh
566566
float gammaVtx[3] = {0.f, 0.f, 0.f};
567567
Vtx_recalculationParCov(o2::base::Propagator::Instance(), trackParPropPos, trackParPropNeg, gammaVtx, matCorr);
568568
float radiusXy = std::hypot(gammaVtx[0], gammaVtx[1]);
569-
const float maxX{83.1f}; // max X for track IU
569+
const float maxX{83.1f}; // max X for track IU
570570
const float marginTpc{7.f}; // margin for r cut in cm
571571
if (radiusXy > maxX + marginTpc) {
572572
return false;
@@ -629,8 +629,8 @@ bool buildAndSelectGamma(const Coll& collision, const std::array<int, 3>& dDaugh
629629
return false;
630630
}
631631

632-
KFParticle kfPartDecayVtxPos = kfPartPos; // Don't set Primary Vertex
633-
KFParticle kfPartDecayVtxNeg = kfPartNeg; // Don't set Primary Vertex
632+
KFParticle kfPartDecayVtxPos = kfPartPos; // Don't set Primary Vertex
633+
KFParticle kfPartDecayVtxNeg = kfPartNeg; // Don't set Primary Vertex
634634
kfPartDecayVtxPos.TransportToPoint(gammaVtx); // Don't set Primary Vertex
635635
kfPartDecayVtxNeg.TransportToPoint(gammaVtx); // Don't set Primary Vertex
636636
v0.dcaDau = kfPartDecayVtxPos.GetDistanceFromParticle(kfPartDecayVtxNeg);
@@ -680,7 +680,8 @@ bool buildAndSelectGamma(const Coll& collision, const std::array<int, 3>& dDaugh
680680

681681
// distinguish V0 hypotheses
682682
v0.alpha = alphaAP(v0.mom, v0.momPos, v0.momNeg);
683-
v0.qt = qtAP(v0.momPos, v0.momNeg);;
683+
v0.qt = qtAP(v0.momPos, v0.momNeg);
684+
;
684685
if (!checkAP(v0.alpha, v0.qt, cfgGammaCuts.alphaApMax.value, cfgGammaCuts.qtApMax.value)) { // store only photon conversions
685686
return false;
686687
}

PWGHF/D2H/TableProducer/dataCreatorCharmResoToD0Reduced.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
#include "PWGHF/Utils/utilsBfieldCCDB.h"
2525
#include "PWGHF/Utils/utilsEvSelHf.h"
2626

27-
#include "Common/Core/ZorroSummary.h"
2827
#include "Common/Core/TPCVDriftManager.h"
28+
#include "Common/Core/ZorroSummary.h"
2929
#include "Common/DataModel/CollisionAssociationTables.h"
3030
#include "Common/DataModel/EventSelection.h"
3131
#include "Common/DataModel/PIDResponseTOF.h"

0 commit comments

Comments
 (0)