@@ -19,22 +19,42 @@ namespace o2::aod
1919{
2020namespace fit
2121{
22+
23+ // Constants
24+ // TODO: add reference channels?
25+ static constexpr int nChFT0 = 208 ; // /< Number of FT0 channels
26+ static constexpr int nChFT0A = 96 ; // /< Number of FT0A channels (-> number of FT0C channels = nChFT0 - nChFT0A)
27+ static constexpr int nChFV0 = 48 ; // /< Number of FV0 channels
28+ static constexpr int nChFDD = 16 ; // /< Number of FDD channels
29+ static constexpr int nADC = 4096 ; // /< Number of ADC channels
30+
2231// Quantities copied straight from AOD
2332// TODO: do we need them here?
2433DECLARE_SOA_COLUMN (PV , pv, float ); // ! Primary vertex position in cm (o2::aod::collision::PosZ)
2534DECLARE_SOA_COLUMN (NContrib, nContrib, int ); // ! Number of contributors to primary vertex (o2::aod::collision::NumContrib)
35+
2636DECLARE_SOA_COLUMN (FT0TimeA, ft0timeA, float ); // ! FT0-A average time in ns (o2::aod::ft0::TimeA)
2737DECLARE_SOA_COLUMN (FT0TimeC, ft0timeC, float ); // ! FT0-C average time in ns (o2::aod::ft0::TimeC)
2838DECLARE_SOA_COLUMN (FT0TimeACorr, ft0timeACorr, float ); // ! FT0-A average time in ns corrected PV (o2::aod::ft0::T0ACorrected)
2939DECLARE_SOA_COLUMN (FT0TimeCCorr, ft0timeCCorr, float ); // ! FT0-C average time in ns corrected PV (o2::aod::ft0::T0CCorrected)
3040DECLARE_SOA_COLUMN (FT0Time, ft0time, float ); // ! FT0 collision time in ns (o2::aod::ft0::CollTime)
3141DECLARE_SOA_COLUMN (FT0TimeRes, ft0timeRes, float ); // ! FT0 collision time resolution in ns (o2::aod::ft0::T0Resolution)
3242DECLARE_SOA_COLUMN (FT0Vtx, ft0vtx, float ); // ! FT0 vertex in cm (o2::aod::ft0::PosZ)
43+ DECLARE_SOA_COLUMN (FT0ChAmpl, ft0chAmpl, std::vector<float >); // ! FT0 channel amplitudes
44+ DECLARE_SOA_COLUMN (FT0TotAmplA, ft0totAmplA, float ); // ! FT0-A total amplitude (o2::aod::ft0::SumAmpA)
45+ DECLARE_SOA_COLUMN (FT0TotAmplC, ft0totAmplC, float ); // ! FT0-C total amplitude (o2::aod::ft0::SumAmpC)
46+
3347DECLARE_SOA_COLUMN (FV0Time, fv0time, float ); // ! FV0 average time in ns (o2::aod::fv0a::Time)
48+ DECLARE_SOA_COLUMN (FV0ChAmpl, fv0chAmpl, std::vector<float >); // ! FV0 channel amplitudes
49+
3450DECLARE_SOA_COLUMN (FDDTimeA, fddtimeA, float ); // ! FDD-A average time in ns (o2::aod::fdd::TimeA)
3551DECLARE_SOA_COLUMN (FDDTimeC, fddtimeC, float ); // ! FDD-C average time in ns (o2::aod::fdd::TimeC)
52+ DECLARE_SOA_COLUMN (FDDChAmpl, fddchAmpl, std::vector<float >); // ! FDD channel amplitudes
3653
3754// Derived quantities
55+ DECLARE_SOA_COLUMN (FV0TotAmpl, fv0totAmpl, float ); // ! FV0 total amplitude
56+ DECLARE_SOA_COLUMN (FDDTotAmplA, fddtotAmplA, float ); // ! FDD-A total amplitude
57+ DECLARE_SOA_COLUMN (FDDTotAmplC, fddtotAmplC, float ); // ! FDD-C total amplitude
3858
3959// Event selection conditions straigt from AOD
4060// TODO: do we need them here?
@@ -53,7 +73,9 @@ DECLARE_SOA_TABLE(FITExtras, "AOD", "FITEXTRA", //! Table with extra FIT informa
5373 fit::PV , fit::NContrib,
5474 fit::FT0TimeA, fit::FT0TimeC, fit::FT0TimeACorr, fit::FT0TimeCCorr,
5575 fit::FT0Time, fit::FT0TimeRes, fit::FT0Vtx,
56- fit::FV0Time, fit::FDDTimeA, fit::FDDTimeC);
76+ fit::FT0ChAmpl, fit::FT0TotAmplA, fit::FT0TotAmplC,
77+ fit::FV0Time, fit::FV0ChAmpl, fit::FV0TotAmpl,
78+ fit::FDDTimeA, fit::FDDTimeC, fit::FDDChAmpl, fit::FDDTotAmplA, fit::FDDTotAmplC);
5779
5880using FITExtra = FITExtras::iterator;
5981
0 commit comments