Skip to content

Commit 3a07a00

Browse files
committed
Please consider the following formatting changes
1 parent f617545 commit 3a07a00

1 file changed

Lines changed: 18 additions & 18 deletions

File tree

PWGLF/TableProducer/Nuspex/nucleiAntineutronCex.cxx

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,17 @@
1414
/// \brief Analysis task for antineutron detection through cex interactions
1515
/// \author Fabiola Lugo
1616
///
17-
#include <Framework/AnalysisDataModel.h>
18-
#include <Framework/AnalysisTask.h>
19-
#include <Framework/Logger.h>
20-
#include <Framework/runDataProcessing.h>
21-
2217
#include <PWGLF/DataModel/LFAntinCexTables.h>
18+
2319
#include <Common/DataModel/PIDResponseITS.h>
20+
2421
#include <CommonConstants/MathConstants.h>
2522
#include <DCAFitter/DCAFitterN.h>
2623
#include <DetectorsBase/Propagator.h>
24+
#include <Framework/AnalysisDataModel.h>
25+
#include <Framework/AnalysisTask.h>
26+
#include <Framework/Logger.h>
27+
#include <Framework/runDataProcessing.h>
2728
#include <ReconstructionDataFormats/TrackParametrization.h>
2829

2930
#include <TMCProcess.h>
@@ -43,7 +44,7 @@ using o2::constants::math::Rad2Deg;
4344
struct NucleiAntineutronCex {
4445
// Slicing per colision
4546
Preslice<aod::McParticles> perMcByColl = aod::mcparticle::mcCollisionId;
46-
47+
4748
using TracksWCovMc = soa::Join<aod::TracksIU, aod::TracksExtra, aod::McTrackLabels, o2::aod::TracksCovIU>;
4849

4950
// === Cut values ===
@@ -99,11 +100,11 @@ struct NucleiAntineutronCex {
99100
histos.add("pPz", "p_{z};p_{z} (GeV/c);Entries", kTH1F, {{100, -10., 10.}});
100101
histos.add("pEta", "Pseudorapidity;#eta;Entries", kTH1F, {{100, -10., 10.}});
101102
histos.add("pP_ITScuts", "Momentum with ITS cuts;|p| (GeV/c);Entries", kTH1F, {{100, 0., 10.}});
102-
103+
103104
// Process enum breakdown (secondary antiproton that anchors the SV)
104105
histos.add("hProcEnumAP_CEX", "procEnum of secondary #bar{p} (CEX);procEnum;Entries", kTH1I, {{100, -0.5, 99.5}});
105-
histos.add("hProcEnumAP_BG", "procEnum of secondary #bar{p} (BG);procEnum;Entries", kTH1I, {{100, -0.5, 99.5}});
106-
106+
histos.add("hProcEnumAP_BG", "procEnum of secondary #bar{p} (BG);procEnum;Entries", kTH1I, {{100, -0.5, 99.5}});
107+
107108
// CEX pair from antineutron (MC)
108109
histos.add("cexPairMcP", "CEX pair total momentum;|p| (GeV/c);Entries", kTH1F, {{100, 0., 10.}});
109110
histos.add("cexPairMcPt", "CEX pair p_{T};p_{T} (GeV/c);Entries", kTH1F, {{100, 0., 10.}});
@@ -128,8 +129,8 @@ struct NucleiAntineutronCex {
128129
histos.add("cexbg_pairmc_vtx", "Background pair vertex;X (cm);Y (cm)", kTH2F, {{200, -60., 60.}, {200, -60., 60.}});
129130
histos.add("cexbg_pairmc_vtxz", "Background secondary vertex Z;Z (cm);Entries", kTH1F, {{200, -60., 60.}});
130131
histos.add("cexbg_pairmc_pITScuts", "Background momentum (ITS cuts);|p| (GeV/c);Entries", kTH1F, {{100, 0., 10.}});
131-
132-
//Pi0 events
132+
133+
// Pi0 events
133134
histos.add("cexn_pairmc_p_pi0", "Pair p / antineutron p for CEX + #pi^{0};p/p_{#bar{n}};Entries", kTH1F, {{100, 0., 2.}});
134135

135136
// CEX pair from antineutron (TRK)
@@ -359,10 +360,10 @@ struct NucleiAntineutronCex {
359360
break;
360361
}
361362
}
362-
363+
363364
if (pionPlus || pionMinus)
364365
continue;
365-
366+
366367
// Check for neutral pion at the same secondary vertex
367368
bool pion0 = false;
368369
for (const auto& particle4 : mcPartsThis) {
@@ -721,7 +722,7 @@ struct NucleiAntineutronCex {
721722

722723
const TVector3 pv2sv(secX - pvtxX, secY - pvtxY, secZ - pvtxZ);
723724
const double pairPointingAngleDeg = pv2sv.Angle(total_trk_pVec) * Rad2Deg;
724-
725+
725726
const double pvsvThetaDeg = pv2sv.Theta() * Rad2Deg;
726727

727728
double pvsvPhiDeg = pv2sv.Phi() * Rad2Deg;
@@ -790,14 +791,14 @@ struct NucleiAntineutronCex {
790791
histos.fill(HIST("vtxfit_mc_d3D"), d3d);
791792

792793
const bool isCex = (motherPdg == -kNeutron);
793-
794+
794795
// Nature of the process
795796
if (isCex) {
796797
histos.fill(HIST("hProcEnumAP_CEX"), static_cast<int>(procEnum));
797798
} else {
798799
histos.fill(HIST("hProcEnumAP_BG"), static_cast<int>(procEnum));
799800
}
800-
801+
801802
const float vtxfitDX = secX - antipVx;
802803
const float vtxfitDY = secY - antipVy;
803804
const float vtxfitDZ = secZ - antipVz;
@@ -884,8 +885,7 @@ struct NucleiAntineutronCex {
884885

885886
antipTrkItsNSigmaPr,
886887
antipTrkItsPidValid,
887-
antipTrkTgl
888-
);
888+
antipTrkTgl);
889889
}
890890
}
891891
// ==== end DCAFitter2 ====

0 commit comments

Comments
 (0)