Skip to content

Commit d93b4e9

Browse files
committed
Clang Format
1 parent 1db57b7 commit d93b4e9

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

PWGCF/FemtoDream/Core/femtoDreamMath.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,12 +146,12 @@ class FemtoDreamMath
146146
// calculate the invariant mass
147147
const ROOT::Math::PtEtaPhiMVector posDaug(trackpos.pt(), trackpos.eta(), trackpos.phi(), masspos);
148148
const ROOT::Math::PtEtaPhiMVector negDaug(trackneg.pt(), trackneg.eta(), trackneg.phi(), massneg);
149-
//const ROOT::Math::PxPyPzMVector v0 = negDaug + posDaug;
149+
// const ROOT::Math::PxPyPzMVector v0 = negDaug + posDaug;
150150
const ROOT::Math::PtEtaPhiMVector v0 = negDaug + posDaug;
151151

152152
return v0.M();
153153
}
154-
154+
155155
template <typename T1>
156156
static float getInvMassCascade(const T1& trackpos, const float masspos, const T1& trackneg, const float massneg, const T1& trackbach, const float massbach, const float massv0)
157157
{

PWGCF/FemtoDream/Tasks/femtoDreamDebugV0.cxx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
#include "PWGCF/DataModel/FemtoDerived.h"
1717
#include "PWGCF/FemtoDream/Core/femtoDreamEventHisto.h"
18-
#include "PWGCF/FemtoDream/Core/femtoDreamParticleHisto.h"
1918
#include "PWGCF/FemtoDream/Core/femtoDreamMath.h"
19+
#include "PWGCF/FemtoDream/Core/femtoDreamParticleHisto.h"
2020
#include "PWGCF/FemtoDream/Core/femtoDreamUtils.h"
2121

2222
#include "DataFormatsParameters/GRPObject.h"
@@ -69,7 +69,7 @@ struct femtoDreamDebugV0 {
6969
Configurable<aod::femtodreamparticle::cutContainerType> ConfV01_ChildNeg_TPCBit{"ConfV01_ChildNeg_TPCBit", 8, "Negative Child of V0 - PID bit from cutCulator"};
7070
ConfigurableAxis ConfChildTempFitVarBins{"ConfChildTempFitVarBins", {300, -0.15, 0.15}, "V0 child: binning of the TempFitVar in the pT vs. TempFitVar plot"};
7171
ConfigurableAxis ConfChildTempFitVarpTBins{"ConfChildTempFitVarpTBins", {20, 0.5, 4.05}, "V0 child: pT binning of the pT vs. TempFitVar plot"};
72-
72+
7373
Configurable<bool> ConfIsLambda{"ConfIsLambda", false, "Set to true if V0 is Lambda, false if K0s"};
7474
Configurable<bool> ConfRejectCompetingMass{"ConfRejectCompetingMass", false, "Reject the competing Cascade Mass (use only for debugging. More efficient to exclude it already at the producer level)"};
7575
Configurable<float> ConfCompetingV0MassLowLimit{"ConfCompetingV0MassLowLimit", 0., "Lower Limit of the invariant mass window within which to reject the V0"};
@@ -90,7 +90,7 @@ struct femtoDreamDebugV0 {
9090
/// Histogram output
9191
HistogramRegistry EventRegistry{"Event", {}, OutputObjHandlingPolicy::AnalysisObject};
9292
HistogramRegistry V0Registry{"FullV0QA", {}, OutputObjHandlingPolicy::AnalysisObject};
93-
93+
9494
float massProton;
9595
float massPion;
9696

@@ -101,11 +101,11 @@ struct femtoDreamDebugV0 {
101101
negChildHistos.init(&V0Registry, ConfBinmult, ConfDummy, ConfV0ChildTempFitVarMomentumBins, ConfDummy, ConfDummy, ConfChildTempFitVarBins, ConfV0ChildNsigmaTPCBins, ConfV0ChildNsigmaTOFBins, ConfV0ChildNsigmaTPCTOFBins, ConfV0ChildNsigmaITSBins, ConfV0InvMassBins, ConfDummy, false, ConfV01_ChildNeg_PDGCode, true);
102102
motherHistos.init(&V0Registry, ConfBinmult, ConfDummy, ConfV0TempFitVarMomentumBins, ConfDummy, ConfDummy, ConfV0TempFitVarBins, ConfV0ChildNsigmaTPCBins, ConfV0ChildNsigmaTOFBins, ConfV0ChildNsigmaTPCTOFBins, ConfV0ChildNsigmaITSBins, ConfV0InvMassBins, ConfDummy, false, ConfV01_PDGCode.value, true);
103103
V0Registry.add("hArmenterosPodolanski/hArmenterosPodolanskiPlot", "; #alpha; p_{T} (MeV/#it{c})", kTH2F, {{100, -1, 1}, {500, -0.3, 2}});
104-
104+
105105
massProton = o2::analysis::femtoDream::getMass(2212);
106106
massPion = o2::analysis::femtoDream::getMass(211);
107-
//massProton = getMass(2212);
108-
//massPion = getMass(211);
107+
// massProton = getMass(2212);
108+
// massPion = getMass(211);
109109
}
110110

111111
/// Porduce QA plots for V0 selection in FemtoDream framework
@@ -150,8 +150,8 @@ struct femtoDreamDebugV0 {
150150
// Competing mass rejection
151151
if (ConfRejectCompetingMass) {
152152
float invMassCompetingV0;
153-
if(ConfIsLambda) {
154-
if(part.sign() < 0) {
153+
if (ConfIsLambda) {
154+
if (part.sign() < 0) {
155155
invMassCompetingV0 = FemtoDreamMath::calcInvMassV0(posChild, massPion, negChild, massProton);
156156
} else {
157157
invMassCompetingV0 = FemtoDreamMath::calcInvMassV0(posChild, massProton, negChild, massPion);

0 commit comments

Comments
 (0)