Skip to content

Commit faa79ef

Browse files
abylinkinalibuild
andauthored
[PWGUD] PID Extra information added to Single Gap Events (#8349)
Co-authored-by: ALICE Action Bot <alibuild@cern.ch>
1 parent 8fb543a commit faa79ef

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

PWGUD/DataModel/UDTables.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,10 @@ DECLARE_SOA_TABLE(UDTracksPID, "AOD", "UDTRACKPID",
278278
pidtofbeta::Beta, pidtofbeta::BetaError,
279279
pidtof::TOFNSigmaEl, pidtof::TOFNSigmaMu, pidtof::TOFNSigmaPi, pidtof::TOFNSigmaKa, pidtof::TOFNSigmaPr);
280280

281+
DECLARE_SOA_TABLE(UDTracksPIDExtra, "AOD", "UDTRACKPIDEXTRA",
282+
pidtpc::TPCNSigmaDe, pidtpc::TPCNSigmaTr, pidtpc::TPCNSigmaHe, pidtpc::TPCNSigmaAl,
283+
pidtof::TOFNSigmaDe, pidtof::TOFNSigmaTr, pidtof::TOFNSigmaHe, pidtof::TOFNSigmaAl);
284+
281285
DECLARE_SOA_TABLE(UDTracksExtra, "AOD", "UDTRACKEXTRA",
282286
track::TPCInnerParam,
283287
track::ITSClusterSizes,

PWGUD/TableProducer/SGCandProducer.cxx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
// or submit itself to any jurisdiction.
1111

1212
#include <cmath>
13+
#include <vector>
14+
#include <map>
1315
#include "Framework/ASoA.h"
1416
#include "Framework/AnalysisDataModel.h"
1517
#include "ReconstructionDataFormats/Vertex.h"
@@ -58,6 +60,7 @@ struct SGCandProducer {
5860
Produces<aod::UDTracksCov> outputTracksCov;
5961
Produces<aod::UDTracksDCA> outputTracksDCA;
6062
Produces<aod::UDTracksPID> outputTracksPID;
63+
Produces<aod::UDTracksPIDExtra> outputTracksPIDExtra;
6164
Produces<aod::UDTracksExtra> outputTracksExtra;
6265
Produces<aod::UDTracksFlags> outputTracksFlag;
6366
Produces<aod::UDFwdTracks> outputFwdTracks;
@@ -76,7 +79,9 @@ struct SGCandProducer {
7679
using BC = BCs::iterator;
7780
using TCs = soa::Join<aod::Tracks, /*aod::TracksCov,*/ aod::TracksExtra, aod::TracksDCA, aod::TrackSelection,
7881
aod::pidTPCFullEl, aod::pidTPCFullMu, aod::pidTPCFullPi, aod::pidTPCFullKa, aod::pidTPCFullPr,
82+
aod::pidTPCFullDe, aod::pidTPCFullTr, aod::pidTPCFullHe, aod::pidTPCFullAl,
7983
aod::TOFSignal, aod::pidTOFbeta,
84+
aod::pidTOFFullDe, aod::pidTOFFullTr, aod::pidTOFFullHe, aod::pidTOFFullAl,
8085
aod::pidTOFFullEl, aod::pidTOFFullMu, aod::pidTOFFullPi, aod::pidTOFFullKa, aod::pidTOFFullPr>;
8186
using FWs = aod::FwdTracks;
8287

@@ -127,6 +132,14 @@ struct SGCandProducer {
127132
track.tofNSigmaPi(),
128133
track.tofNSigmaKa(),
129134
track.tofNSigmaPr());
135+
outputTracksPIDExtra(track.tpcNSigmaDe(),
136+
track.tpcNSigmaTr(),
137+
track.tpcNSigmaHe(),
138+
track.tpcNSigmaAl(),
139+
track.tofNSigmaDe(),
140+
track.tofNSigmaTr(),
141+
track.tofNSigmaHe(),
142+
track.tofNSigmaAl());
130143
outputTracksExtra(track.tpcInnerParam(),
131144
track.itsClusterSizes(),
132145
track.tpcNClsFindable(),

0 commit comments

Comments
 (0)