Skip to content

Commit 26f89ea

Browse files
extra
1 parent fa08173 commit 26f89ea

1 file changed

Lines changed: 15 additions & 8 deletions

File tree

Common/DataModel/FITExtra.h

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,18 @@
99
// granted to it by virtue of its status as an Intergovernmental Organization
1010
// or submit itself to any jurisdiction.
1111

12+
/// \file FITExtra.h
13+
/// \author Andreas Molander andreas.molander@cern.ch
14+
/// \brief FIT extra data model
15+
1216
#ifndef COMMON_DATAMODEL_FITEXTRA_H_
1317
#define COMMON_DATAMODEL_FITEXTRA_H_
1418

1519
#include "Framework/ASoA.h"
1620
#include "Framework/AnalysisDataModel.h"
21+
#include "FDDBase/Constants.h"
22+
#include "FV0Base/Constants.h"
23+
1724
#include <cstdint>
1825

1926
namespace o2::aod
@@ -23,14 +30,14 @@ namespace fit
2330

2431
// Constants
2532
// TODO: add reference channels?
26-
static constexpr int nChFT0 = 208; ///< Number of FT0 channels
27-
static constexpr int nChFT0A = 96; ///< Number of FT0A channels (-> number of FT0C channels = nChFT0 - nChFT0A)
28-
static constexpr int nChFV0 = 48; ///< Number of FV0 channels
29-
static constexpr int nChFDD = 16; ///< Number of FDD channels
30-
static constexpr int nADC = 4096; ///< Number of ADC channels
31-
32-
// Quantities copied straight from AOD
33-
// TODO: do we need them here?
33+
static constexpr int nChFT0 = 212; ///< Number of FT0 channels
34+
static constexpr int nChFT0A = 96; ///< Number of FT0A channels
35+
static constexpr int nChFT0C = 112; ///< Number of FT0C channels
36+
static constexpr int nChFT0LCS = 4; ///< Number of FT0 LCS channels
37+
static constexpr int nChFV0 = o2::fv0::nFv0ChannelsPlusRef; ///< Number of FV0 channels
38+
static constexpr int nChFV0LCS = 1; ///< Number of FV0 LCS channels
39+
static constexpr int nChFDD = o2::fdd::Nchannels; ///< Number of FDD channels, TODO: add FDD LCS
40+
static constexpr int nADC = 4096; ///< Number of ADC channels
3441

3542
// BCs
3643
DECLARE_SOA_COLUMN(RunNumber, runNumber, int);

0 commit comments

Comments
 (0)