Skip to content

Commit

Permalink
add track extras for run 2 + store SPD tracklet flag for free vs. sha…
Browse files Browse the repository at this point in the history
…red clusters (#13637)
  • Loading branch information
maciacco authored Oct 31, 2024
1 parent 8ec256c commit 41d0ccf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Framework/Core/include/Framework/AnalysisDataModel.h
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ DECLARE_SOA_COLUMN(ITSChi2NCl, itsChi2NCl, float);
DECLARE_SOA_COLUMN(TPCChi2NCl, tpcChi2NCl, float); //! Chi2 / cluster for the TPC track segment
DECLARE_SOA_COLUMN(TRDChi2, trdChi2, float); //! Chi2 for the TRD track segment
DECLARE_SOA_COLUMN(TOFChi2, tofChi2, float); //! Chi2 for the TOF track segment
DECLARE_SOA_COLUMN(ITSSignal, itsSignal, float); //! dE/dx signal in the ITS (Run 2)
DECLARE_SOA_COLUMN(TPCSignal, tpcSignal, float); //! dE/dx signal in the TPC
DECLARE_SOA_COLUMN(TRDSignal, trdSignal, float); //! PID signal in the TRD
DECLARE_SOA_COLUMN(Length, length, float); //! Track length
Expand Down Expand Up @@ -604,6 +605,9 @@ DECLARE_SOA_EXTENDED_TABLE(TracksExtra_000, StoredTracksExtra_000, "TRACKEXTRA",
DECLARE_SOA_EXTENDED_TABLE(TracksExtra_001, StoredTracksExtra_001, "TRACKEXTRA", //! Additional track information (clusters, PID, etc.)
track::v001::DetectorMap);

DECLARE_SOA_TABLE(Run2TrackExtras, "AOD", "RUN2TRACKEXTRA",
track::ITSSignal);

using StoredTracksExtra = StoredTracksExtra_001;
using TracksExtra = TracksExtra_001;

Expand All @@ -612,6 +616,7 @@ using TrackIU = TracksIU::iterator;
using TrackCov = TracksCov::iterator;
using TrackCovIU = TracksCovIU::iterator;
using TrackExtra = TracksExtra::iterator;
using Run2TrackExtra = Run2TrackExtras::iterator;

} // namespace aod
namespace soa
Expand Down
1 change: 1 addition & 0 deletions Framework/Core/include/Framework/DataTypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ enum TrackFlags : uint32_t {
};
enum TrackFlagsRun2Enum {
ITSrefit = 0x1,
FreeClsSPDTracklet = 0x1, // for SPD tracklets, tracklet from cluster not used in tracking
TPCrefit = 0x2,
GoldenChi2 = 0x4,
// NOTE Highest 4 (29..32) bits reserved for PID hypothesis
Expand Down

0 comments on commit 41d0ccf

Please sign in to comment.