Skip to content

Commit 19bada7

Browse files
authored
adding median occupancy column
1 parent 380957f commit 19bada7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Common/DataModel/EventSelection.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ DECLARE_SOA_INDEX_COLUMN_FULL(FoundFDD, foundFDD, int, FDDs, "_foundFDD"); //!
6565
DECLARE_SOA_INDEX_COLUMN_FULL(FoundZDC, foundZDC, int, Zdcs, "_foundZDC"); //! ZDC entry index in ZDCs table (-1 if doesn't exist)
6666
DECLARE_SOA_COLUMN(NumTracksInTimeRange, trackOccupancyInTimeRange, int); //! Occupancy in specified time interval by a number of tracks from nearby collisions // o2-linter: disable=name/o2-column
6767
DECLARE_SOA_COLUMN(SumAmpFT0CInTimeRange, ft0cOccupancyInTimeRange, float); //! Occupancy in specified time interval by a sum of FT0C amplitudes from nearby collisions // o2-linter: disable=name/o2-column
68+
DECLARE_SOA_COLUMN(OccupancyMedianTime, occupancyMedianTime, float); //! Median time for the occupancy in specified time interval (the delta-time wrt to the collision at which occupancy crosses 1/2 of its full value)
6869
} // namespace evsel
6970

7071
// bc-joinable event selection decisions
@@ -85,7 +86,8 @@ DECLARE_SOA_TABLE(EvSels, "AOD", "EVSEL", //!
8586
evsel::FoundFDDId,
8687
evsel::FoundZDCId,
8788
evsel::NumTracksInTimeRange,
88-
evsel::SumAmpFT0CInTimeRange);
89+
evsel::SumAmpFT0CInTimeRange,
90+
evsel::OccupancyMedianTime);
8991
using EvSel = EvSels::iterator;
9092
} // namespace o2::aod
9193

0 commit comments

Comments
 (0)