Skip to content

Commit fcfb3ad

Browse files
Merge pull request #85 from alibuild/alibot-cleanup-17738
Please consider the following formatting changes to #17738
2 parents 0d283df + d4aac4f commit fcfb3ad

1 file changed

Lines changed: 61 additions & 61 deletions

File tree

PWGLF/Tasks/Strangeness/forwardlambdakzeroanalysis.cxx

Lines changed: 61 additions & 61 deletions
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,18 @@
3535
#include "Common/CCDB/RCTSelectionFlags.h"
3636
#include "Common/CCDB/ctpRateFetcher.h"
3737
#include "Common/Core/RecoDecay.h"
38-
#include "Common/DataModel/Multiplicity.h"
3938
#include "Common/DataModel/Centrality.h"
4039
#include "Common/DataModel/EventSelection.h"
40+
#include "Common/DataModel/Multiplicity.h"
4141

4242
#include <CCDB/BasicCCDBManager.h>
4343
#include <CCDB/CcdbApi.h>
44-
#include <DetectorsBase/MatLayerCylSet.h>
45-
#include <DetectorsBase/Propagator.h>
4644
#include <CommonConstants/MathConstants.h>
4745
#include <CommonConstants/PhysicsConstants.h>
4846
#include <DCAFitter/FwdDCAFitterN.h>
4947
#include <DataFormatsParameters/GRPMagField.h>
48+
#include <DetectorsBase/MatLayerCylSet.h>
49+
#include <DetectorsBase/Propagator.h>
5050
#include <Framework/AnalysisDataModel.h>
5151
#include <Framework/AnalysisHelpers.h>
5252
#include <Framework/AnalysisTask.h>
@@ -59,14 +59,14 @@
5959
#include <Framework/runDataProcessing.h>
6060
#include <ReconstructionDataFormats/TrackFwd.h>
6161

62-
#include <Math/SVector.h>
63-
#include <Math/SMatrix.h>
6462
#include <Math/MatrixRepresentationsStatic.h>
63+
#include <Math/SMatrix.h>
64+
#include <Math/SVector.h>
6565
#include <TH1.h>
6666
#include <TH2.h>
67+
#include <TObject.h>
6768
#include <TPDGCode.h>
6869
#include <TVector3.h>
69-
#include <TObject.h>
7070

7171
#include <array>
7272
#include <cmath>
@@ -230,7 +230,7 @@ struct forwardlambdakzeroanalysis {
230230
} ccdbConfigurations;
231231

232232
o2::ccdb::CcdbApi ccdbApi;
233-
Service<o2::ccdb::BasicCCDBManager> ccdb {};
233+
Service<o2::ccdb::BasicCCDBManager> ccdb{};
234234
ctpRateFetcher rateFetcher;
235235
int mRunNumber = 0;
236236
float magField = 0.;
@@ -1218,20 +1218,20 @@ struct forwardlambdakzeroanalysis {
12181218
BITSET(bitMap, selZmax);
12191219
}
12201220
// DCA proton and pion to PV for Lambda and AntiLambda decay hypotheses
1221-
if ((!v0Selections.rejectFailedPropagation || std::fabs(v0.dcaPosToPVxy) < o2::track::DefaultDCA) &&
1221+
if ((!v0Selections.rejectFailedPropagation || std::fabs(v0.dcaPosToPVxy) < o2::track::DefaultDCA) &&
12221222
std::fabs(v0.dcaPosToPVxy) > v0Selections.dcaPosToPVxy) {
12231223
BITSET(bitMap, selDCAPosToPVxy);
12241224
}
1225-
if ((!v0Selections.rejectFailedPropagation || std::fabs(v0.dcaNegToPVxy) < o2::track::DefaultDCA) &&
1225+
if ((!v0Selections.rejectFailedPropagation || std::fabs(v0.dcaNegToPVxy) < o2::track::DefaultDCA) &&
12261226
std::fabs(v0.dcaNegToPVxy) > v0Selections.dcaNegToPVxy) {
12271227
BITSET(bitMap, selDCANegToPVxy);
12281228
}
12291229
// DCA proton and pion to PV for Lambda and AntiLambda decay hypotheses
1230-
if ((!v0Selections.rejectFailedPropagation || std::fabs(v0.dcaPosToPVz) < o2::track::DefaultDCA) &&
1230+
if ((!v0Selections.rejectFailedPropagation || std::fabs(v0.dcaPosToPVz) < o2::track::DefaultDCA) &&
12311231
std::fabs(v0.dcaPosToPVz) > v0Selections.dcaPosToPVz) {
12321232
BITSET(bitMap, selDCAPosToPVz);
12331233
}
1234-
if ((!v0Selections.rejectFailedPropagation || std::fabs(v0.dcaNegToPVz) < o2::track::DefaultDCA) &&
1234+
if ((!v0Selections.rejectFailedPropagation || std::fabs(v0.dcaNegToPVz) < o2::track::DefaultDCA) &&
12351235
std::fabs(v0.dcaNegToPVz) > v0Selections.dcaNegToPVz) {
12361236
BITSET(bitMap, selDCANegToPVz);
12371237
}
@@ -1461,18 +1461,18 @@ struct forwardlambdakzeroanalysis {
14611461
histos.fill(HIST("hPositiveMFTchi2"), v0.posChi2);
14621462
histos.fill(HIST("hNegativeMFTchi2"), v0.negChi2);
14631463
if (doprocessMonteCarlo) {
1464-
histos.fill(HIST("hPositivePtResolution"), v0.positivePtMc(), (v0.positivePtMc() - v0.positivePt())/v0.positivePtMc());
1465-
histos.fill(HIST("hNegativePtResolution"), v0.negativePtMc(), (v0.negativePtMc() - v0.negativePt())/v0.negativePtMc());
1466-
histos.fill(HIST("hPositivePzResolution"), v0.positivePzMc(), (v0.positivePzMc() - v0.positivePz())/v0.positivePzMc());
1467-
histos.fill(HIST("hNegativePzResolution"), v0.negativePzMc(), (v0.negativePzMc() - v0.negativePz())/v0.negativePzMc());
1464+
histos.fill(HIST("hPositivePtResolution"), v0.positivePtMc(), (v0.positivePtMc() - v0.positivePt()) / v0.positivePtMc());
1465+
histos.fill(HIST("hNegativePtResolution"), v0.negativePtMc(), (v0.negativePtMc() - v0.negativePt()) / v0.negativePtMc());
1466+
histos.fill(HIST("hPositivePzResolution"), v0.positivePzMc(), (v0.positivePzMc() - v0.positivePz()) / v0.positivePzMc());
1467+
histos.fill(HIST("hNegativePzResolution"), v0.negativePzMc(), (v0.negativePzMc() - v0.negativePz()) / v0.negativePzMc());
14681468

14691469
histos.fill(HIST("hV0XDiff"), v0.xMc, (v0.xMc - v0.X));
14701470
histos.fill(HIST("hV0YDiff"), v0.yMc, (v0.yMc - v0.Y));
14711471
histos.fill(HIST("hV0ZDiff"), v0.zMc, (v0.zMc - v0.Z));
1472-
histos.fill(HIST("hV0RadiusDiff"), v0.RadiusMc, (v0.RadiusMc - v0.Radius)/v0.RadiusMc);
1473-
histos.fill(HIST("hV0DistZDiff"), v0.ZdistMc, (v0.ZdistMc - v0.Zdist)/v0.ZdistMc);
1474-
histos.fill(HIST("hV0PtResolution"), v0.pTMc, (v0.pTMc - v0.pT)/v0.pTMc);
1475-
histos.fill(HIST("hV0PzResolution"), v0.pZMc, (v0.pZMc - v0.pZ)/v0.pZMc);
1472+
histos.fill(HIST("hV0RadiusDiff"), v0.RadiusMc, (v0.RadiusMc - v0.Radius) / v0.RadiusMc);
1473+
histos.fill(HIST("hV0DistZDiff"), v0.ZdistMc, (v0.ZdistMc - v0.Zdist) / v0.ZdistMc);
1474+
histos.fill(HIST("hV0PtResolution"), v0.pTMc, (v0.pTMc - v0.pT) / v0.pTMc);
1475+
histos.fill(HIST("hV0PzResolution"), v0.pZMc, (v0.pZMc - v0.pZ) / v0.pZMc);
14761476
}
14771477
}
14781478

@@ -1538,18 +1538,18 @@ struct forwardlambdakzeroanalysis {
15381538
histos.fill(HIST("K0Short/hPositiveMFTchi2"), v0.posChi2);
15391539
histos.fill(HIST("K0Short/hNegativeMFTchi2"), v0.negChi2);
15401540
if (doprocessMonteCarlo) {
1541-
histos.fill(HIST("K0Short/hPositivePtResolution"), v0.positivePtMc(), (v0.positivePtMc() - v0.positivePt())/v0.positivePtMc());
1542-
histos.fill(HIST("K0Short/hNegativePtResolution"), v0.negativePtMc(), (v0.negativePtMc() - v0.negativePt())/v0.negativePtMc());
1543-
histos.fill(HIST("K0Short/hPositivePzResolution"), v0.positivePzMc(), (v0.positivePzMc() - v0.positivePz())/v0.positivePzMc());
1544-
histos.fill(HIST("K0Short/hNegativePzResolution"), v0.negativePzMc(), (v0.negativePzMc() - v0.negativePz())/v0.negativePzMc());
1541+
histos.fill(HIST("K0Short/hPositivePtResolution"), v0.positivePtMc(), (v0.positivePtMc() - v0.positivePt()) / v0.positivePtMc());
1542+
histos.fill(HIST("K0Short/hNegativePtResolution"), v0.negativePtMc(), (v0.negativePtMc() - v0.negativePt()) / v0.negativePtMc());
1543+
histos.fill(HIST("K0Short/hPositivePzResolution"), v0.positivePzMc(), (v0.positivePzMc() - v0.positivePz()) / v0.positivePzMc());
1544+
histos.fill(HIST("K0Short/hNegativePzResolution"), v0.negativePzMc(), (v0.negativePzMc() - v0.negativePz()) / v0.negativePzMc());
15451545

15461546
histos.fill(HIST("K0Short/hV0XDiff"), v0.xMc, (v0.xMc - v0.X));
15471547
histos.fill(HIST("K0Short/hV0YDiff"), v0.yMc, (v0.yMc - v0.Y));
15481548
histos.fill(HIST("K0Short/hV0ZDiff"), v0.zMc, (v0.zMc - v0.Z));
1549-
histos.fill(HIST("K0Short/hV0RadiusDiff"), v0.RadiusMc, (v0.RadiusMc - v0.Radius)/v0.RadiusMc);
1550-
histos.fill(HIST("K0Short/hV0DistZDiff"), v0.ZdistMc, (v0.ZdistMc - v0.Zdist)/v0.ZdistMc);
1551-
histos.fill(HIST("K0Short/hV0PtResolution"), v0.pTMc, (v0.pTMc - v0.pT)/v0.pTMc);
1552-
histos.fill(HIST("K0Short/hV0PzResolution"), v0.pZMc, (v0.pZMc - v0.pZ)/v0.pZMc);
1549+
histos.fill(HIST("K0Short/hV0RadiusDiff"), v0.RadiusMc, (v0.RadiusMc - v0.Radius) / v0.RadiusMc);
1550+
histos.fill(HIST("K0Short/hV0DistZDiff"), v0.ZdistMc, (v0.ZdistMc - v0.Zdist) / v0.ZdistMc);
1551+
histos.fill(HIST("K0Short/hV0PtResolution"), v0.pTMc, (v0.pTMc - v0.pT) / v0.pTMc);
1552+
histos.fill(HIST("K0Short/hV0PzResolution"), v0.pZMc, (v0.pZMc - v0.pZ) / v0.pZMc);
15531553
}
15541554
}
15551555
nK0Shorts++;
@@ -1604,18 +1604,18 @@ struct forwardlambdakzeroanalysis {
16041604
histos.fill(HIST("Lambda/hPositiveMFTchi2"), v0.posChi2);
16051605
histos.fill(HIST("Lambda/hNegativeMFTchi2"), v0.negChi2);
16061606
if (doprocessMonteCarlo) {
1607-
histos.fill(HIST("Lambda/hPositivePtResolution"), v0.positivePtMc(), (v0.positivePtMc() - v0.positivePt())/v0.positivePtMc());
1608-
histos.fill(HIST("Lambda/hNegativePtResolution"), v0.negativePtMc(), (v0.negativePtMc() - v0.negativePt())/v0.negativePtMc());
1609-
histos.fill(HIST("Lambda/hPositivePzResolution"), v0.positivePzMc(), (v0.positivePzMc() - v0.positivePz())/v0.positivePzMc());
1610-
histos.fill(HIST("Lambda/hNegativePzResolution"), v0.negativePzMc(), (v0.negativePzMc() - v0.negativePz())/v0.negativePzMc());
1607+
histos.fill(HIST("Lambda/hPositivePtResolution"), v0.positivePtMc(), (v0.positivePtMc() - v0.positivePt()) / v0.positivePtMc());
1608+
histos.fill(HIST("Lambda/hNegativePtResolution"), v0.negativePtMc(), (v0.negativePtMc() - v0.negativePt()) / v0.negativePtMc());
1609+
histos.fill(HIST("Lambda/hPositivePzResolution"), v0.positivePzMc(), (v0.positivePzMc() - v0.positivePz()) / v0.positivePzMc());
1610+
histos.fill(HIST("Lambda/hNegativePzResolution"), v0.negativePzMc(), (v0.negativePzMc() - v0.negativePz()) / v0.negativePzMc());
16111611

16121612
histos.fill(HIST("Lambda/hV0XDiff"), v0.xMc, (v0.xMc - v0.X));
16131613
histos.fill(HIST("Lambda/hV0YDiff"), v0.yMc, (v0.yMc - v0.Y));
16141614
histos.fill(HIST("Lambda/hV0ZDiff"), v0.zMc, (v0.zMc - v0.Z));
1615-
histos.fill(HIST("Lambda/hV0RadiusDiff"), v0.RadiusMc, (v0.RadiusMc - v0.Radius)/v0.RadiusMc);
1616-
histos.fill(HIST("Lambda/hV0DistZDiff"), v0.ZdistMc, (v0.ZdistMc - v0.Zdist)/v0.ZdistMc);
1617-
histos.fill(HIST("Lambda/hV0PtResolution"), v0.pTMc, (v0.pTMc - v0.pT)/v0.pTMc);
1618-
histos.fill(HIST("Lambda/hV0PzResolution"), v0.pZMc, (v0.pZMc - v0.pZ)/v0.pZMc);
1615+
histos.fill(HIST("Lambda/hV0RadiusDiff"), v0.RadiusMc, (v0.RadiusMc - v0.Radius) / v0.RadiusMc);
1616+
histos.fill(HIST("Lambda/hV0DistZDiff"), v0.ZdistMc, (v0.ZdistMc - v0.Zdist) / v0.ZdistMc);
1617+
histos.fill(HIST("Lambda/hV0PtResolution"), v0.pTMc, (v0.pTMc - v0.pT) / v0.pTMc);
1618+
histos.fill(HIST("Lambda/hV0PzResolution"), v0.pZMc, (v0.pZMc - v0.pZ) / v0.pZMc);
16191619
}
16201620
}
16211621
nLambdas++;
@@ -1670,18 +1670,18 @@ struct forwardlambdakzeroanalysis {
16701670
histos.fill(HIST("AntiLambda/hPositiveMFTchi2"), v0.posChi2);
16711671
histos.fill(HIST("AntiLambda/hNegativeMFTchi2"), v0.negChi2);
16721672
if (doprocessMonteCarlo) {
1673-
histos.fill(HIST("AntiLambda/hPositivePtResolution"), v0.positivePtMc(), (v0.positivePtMc() - v0.positivePt())/v0.positivePtMc());
1674-
histos.fill(HIST("AntiLambda/hNegativePtResolution"), v0.negativePtMc(), (v0.negativePtMc() - v0.negativePt())/v0.negativePtMc());
1675-
histos.fill(HIST("AntiLambda/hPositivePzResolution"), v0.positivePzMc(), (v0.positivePzMc() - v0.positivePz())/v0.positivePzMc());
1676-
histos.fill(HIST("AntiLambda/hNegativePzResolution"), v0.negativePzMc(), (v0.negativePzMc() - v0.negativePz())/v0.negativePzMc());
1673+
histos.fill(HIST("AntiLambda/hPositivePtResolution"), v0.positivePtMc(), (v0.positivePtMc() - v0.positivePt()) / v0.positivePtMc());
1674+
histos.fill(HIST("AntiLambda/hNegativePtResolution"), v0.negativePtMc(), (v0.negativePtMc() - v0.negativePt()) / v0.negativePtMc());
1675+
histos.fill(HIST("AntiLambda/hPositivePzResolution"), v0.positivePzMc(), (v0.positivePzMc() - v0.positivePz()) / v0.positivePzMc());
1676+
histos.fill(HIST("AntiLambda/hNegativePzResolution"), v0.negativePzMc(), (v0.negativePzMc() - v0.negativePz()) / v0.negativePzMc());
16771677

16781678
histos.fill(HIST("AntiLambda/hV0XDiff"), v0.xMc, (v0.xMc - v0.X));
16791679
histos.fill(HIST("AntiLambda/hV0YDiff"), v0.yMc, (v0.yMc - v0.Y));
16801680
histos.fill(HIST("AntiLambda/hV0ZDiff"), v0.zMc, (v0.zMc - v0.Z));
1681-
histos.fill(HIST("AntiLambda/hV0RadiusDiff"), v0.RadiusMc, (v0.RadiusMc - v0.Radius)/v0.RadiusMc);
1682-
histos.fill(HIST("AntiLambda/hV0DistZDiff"), v0.ZdistMc, (v0.ZdistMc - v0.Zdist)/v0.Zdist);
1683-
histos.fill(HIST("AntiLambda/hV0PtResolution"), v0.pTMc, (v0.pTMc - v0.pT)/v0.pTMc);
1684-
histos.fill(HIST("AntiLambda/hV0PzResolution"), v0.pZMc, (v0.pZMc - v0.pZ)/v0.pZMc);
1681+
histos.fill(HIST("AntiLambda/hV0RadiusDiff"), v0.RadiusMc, (v0.RadiusMc - v0.Radius) / v0.RadiusMc);
1682+
histos.fill(HIST("AntiLambda/hV0DistZDiff"), v0.ZdistMc, (v0.ZdistMc - v0.Zdist) / v0.Zdist);
1683+
histos.fill(HIST("AntiLambda/hV0PtResolution"), v0.pTMc, (v0.pTMc - v0.pT) / v0.pTMc);
1684+
histos.fill(HIST("AntiLambda/hV0PzResolution"), v0.pZMc, (v0.pZMc - v0.pZ) / v0.pZMc);
16851685
}
16861686
}
16871687
nAntiLambdas++;
@@ -1736,18 +1736,18 @@ struct forwardlambdakzeroanalysis {
17361736
histos.fill(HIST("D0/hPositiveMFTchi2"), v0.posChi2);
17371737
histos.fill(HIST("D0/hNegativeMFTchi2"), v0.negChi2);
17381738
if (doprocessMonteCarlo) {
1739-
histos.fill(HIST("D0/hPositivePtResolution"), v0.positivePtMc(), (v0.positivePtMc() - v0.positivePt())/v0.positivePtMc());
1740-
histos.fill(HIST("D0/hNegativePtResolution"), v0.negativePtMc(), (v0.negativePtMc() - v0.negativePt())/v0.negativePtMc());
1741-
histos.fill(HIST("D0/hPositivePzResolution"), v0.positivePzMc(), (v0.positivePzMc() - v0.positivePz())/v0.positivePzMc());
1742-
histos.fill(HIST("D0/hNegativePzResolution"), v0.negativePzMc(), (v0.negativePzMc() - v0.negativePz())/v0.negativePzMc());
1739+
histos.fill(HIST("D0/hPositivePtResolution"), v0.positivePtMc(), (v0.positivePtMc() - v0.positivePt()) / v0.positivePtMc());
1740+
histos.fill(HIST("D0/hNegativePtResolution"), v0.negativePtMc(), (v0.negativePtMc() - v0.negativePt()) / v0.negativePtMc());
1741+
histos.fill(HIST("D0/hPositivePzResolution"), v0.positivePzMc(), (v0.positivePzMc() - v0.positivePz()) / v0.positivePzMc());
1742+
histos.fill(HIST("D0/hNegativePzResolution"), v0.negativePzMc(), (v0.negativePzMc() - v0.negativePz()) / v0.negativePzMc());
17431743

17441744
histos.fill(HIST("D0/hV0XDiff"), v0.xMc, (v0.xMc - v0.X));
17451745
histos.fill(HIST("D0/hV0YDiff"), v0.yMc, (v0.yMc - v0.Y));
17461746
histos.fill(HIST("D0/hV0ZDiff"), v0.zMc, (v0.zMc - v0.Z));
1747-
histos.fill(HIST("D0/hV0RadiusDiff"), v0.RadiusMc, (v0.RadiusMc - v0.Radius)/v0.RadiusMc);
1748-
histos.fill(HIST("D0/hV0DistZDiff"), v0.ZdistMc, (v0.ZdistMc - v0.Zdist)/v0.ZdistMc);
1749-
histos.fill(HIST("D0/hV0PtResolution"), v0.pTMc, (v0.pTMc - v0.pT)/v0.pTMc);
1750-
histos.fill(HIST("D0/hV0PzResolution"), v0.pZMc, (v0.pZMc - v0.pZ)/v0.pZMc);
1747+
histos.fill(HIST("D0/hV0RadiusDiff"), v0.RadiusMc, (v0.RadiusMc - v0.Radius) / v0.RadiusMc);
1748+
histos.fill(HIST("D0/hV0DistZDiff"), v0.ZdistMc, (v0.ZdistMc - v0.Zdist) / v0.ZdistMc);
1749+
histos.fill(HIST("D0/hV0PtResolution"), v0.pTMc, (v0.pTMc - v0.pT) / v0.pTMc);
1750+
histos.fill(HIST("D0/hV0PzResolution"), v0.pZMc, (v0.pZMc - v0.pZ) / v0.pZMc);
17511751
}
17521752
}
17531753
nD0s++;
@@ -1802,18 +1802,18 @@ struct forwardlambdakzeroanalysis {
18021802
histos.fill(HIST("AntiD0/hPositiveMFTchi2"), v0.posChi2);
18031803
histos.fill(HIST("AntiD0/hNegativeMFTchi2"), v0.negChi2);
18041804
if (doprocessMonteCarlo) {
1805-
histos.fill(HIST("AntiD0/hPositivePtResolution"), v0.positivePtMc(), (v0.positivePtMc() - v0.positivePt())/v0.positivePtMc());
1806-
histos.fill(HIST("AntiD0/hNegativePtResolution"), v0.negativePtMc(), (v0.negativePtMc() - v0.negativePt())/v0.negativePtMc());
1807-
histos.fill(HIST("AntiD0/hPositivePzResolution"), v0.positivePzMc(), (v0.positivePzMc() - v0.positivePz())/v0.positivePzMc());
1808-
histos.fill(HIST("AntiD0/hNegativePzResolution"), v0.negativePzMc(), (v0.negativePzMc() - v0.negativePz())/v0.negativePzMc());
1805+
histos.fill(HIST("AntiD0/hPositivePtResolution"), v0.positivePtMc(), (v0.positivePtMc() - v0.positivePt()) / v0.positivePtMc());
1806+
histos.fill(HIST("AntiD0/hNegativePtResolution"), v0.negativePtMc(), (v0.negativePtMc() - v0.negativePt()) / v0.negativePtMc());
1807+
histos.fill(HIST("AntiD0/hPositivePzResolution"), v0.positivePzMc(), (v0.positivePzMc() - v0.positivePz()) / v0.positivePzMc());
1808+
histos.fill(HIST("AntiD0/hNegativePzResolution"), v0.negativePzMc(), (v0.negativePzMc() - v0.negativePz()) / v0.negativePzMc());
18091809

18101810
histos.fill(HIST("AntiD0/hV0XDiff"), v0.xMc, (v0.xMc - v0.X));
18111811
histos.fill(HIST("AntiD0/hV0YDiff"), v0.yMc, (v0.yMc - v0.Y));
18121812
histos.fill(HIST("AntiD0/hV0ZDiff"), v0.zMc, (v0.zMc - v0.Z));
1813-
histos.fill(HIST("AntiD0/hV0RadiusDiff"), v0.RadiusMc, (v0.RadiusMc - v0.Radius)/v0.RadiusMc);
1814-
histos.fill(HIST("AntiD0/hV0DistZDiff"), v0.ZdistMc, (v0.ZdistMc - v0.Zdist)/v0.ZdistMc);
1815-
histos.fill(HIST("AntiD0/hV0PtResolution"), v0.pTMc, (v0.pTMc - v0.pT)/v0.pTMc);
1816-
histos.fill(HIST("AntiD0/hV0PzResolution"), v0.pZMc, (v0.pZMc - v0.pZ)/v0.pZMc);
1813+
histos.fill(HIST("AntiD0/hV0RadiusDiff"), v0.RadiusMc, (v0.RadiusMc - v0.Radius) / v0.RadiusMc);
1814+
histos.fill(HIST("AntiD0/hV0DistZDiff"), v0.ZdistMc, (v0.ZdistMc - v0.Zdist) / v0.ZdistMc);
1815+
histos.fill(HIST("AntiD0/hV0PtResolution"), v0.pTMc, (v0.pTMc - v0.pT) / v0.pTMc);
1816+
histos.fill(HIST("AntiD0/hV0PzResolution"), v0.pZMc, (v0.pZMc - v0.pZ) / v0.pZMc);
18171817
}
18181818
}
18191819
nAntiD0s++;
@@ -2215,7 +2215,7 @@ struct forwardlambdakzeroanalysis {
22152215
dca[0] = o2::track::DefaultDCA;
22162216
dca[1] = o2::track::DefaultDCA;
22172217
dca[2] = o2::track::DefaultDCA;
2218-
2218+
22192219
// propagate track to vertex including MCS effects if material budget included, simple propagation to Z otherwise
22202220
float x2x0 = 0;
22212221
auto mb = lut->getMatBudget(t.getX(), t.getY(), t.getZ(), collision.posX(), collision.posY(), collision.posZ());
@@ -2562,7 +2562,7 @@ struct forwardlambdakzeroanalysis {
25622562
// ______________________________________________________
25632563
// Simulated processing (subscribes to MC information too)
25642564
template <typename TCollision, typename TMCCollisions, typename TMFTTracks, typename TTracks, typename TBCs, typename TMCParticles>
2565-
void analyzeRecoedV0sInMonteCarlo(TCollision const& collision, TMCCollisions const& mcCollisions,TMFTTracks const& mftTracks, TTracks const& besttracks, TBCs const& bcs, TMCParticles const& mcParticles)
2565+
void analyzeRecoedV0sInMonteCarlo(TCollision const& collision, TMCCollisions const& mcCollisions, TMFTTracks const& mftTracks, TTracks const& besttracks, TBCs const& bcs, TMCParticles const& mcParticles)
25662566
{
25672567
// Fire up CCDB
25682568
initCCDB(bcs, collision);

0 commit comments

Comments
 (0)