Skip to content

Commit ee4b93b

Browse files
authored
Add PMD index table info
1 parent b0f4f76 commit ee4b93b

File tree

1 file changed

+36
-0
lines changed

1 file changed

+36
-0
lines changed

Common/DataModel/PmdTable.h

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2+
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3+
// All rights not expressly granted are reserved.
4+
//
5+
// This software is distributed under the terms of the GNU General Public
6+
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7+
//
8+
// In applying this license CERN does not waive the privileges and immunities
9+
// granted to it by virtue of its status as an Intergovernmental Organization
10+
// or submit itself to any jurisdiction.
11+
///
12+
/// \file PmdTable.h
13+
///
14+
/// \brief pmd index table define
15+
/// \author Abhi Modak (abhi.modak@cern.ch)
16+
/// \since May 17, 2025
17+
18+
#ifndef COMMON_DATAMODEL_PMDTABLE_H_
19+
#define COMMON_DATAMODEL_PMDTABLE_H_
20+
21+
#include "Framework/AnalysisDataModel.h"
22+
23+
namespace o2::aod
24+
{
25+
namespace pmdtrack
26+
{
27+
DECLARE_SOA_INDEX_COLUMN(Collision, collision);
28+
DECLARE_SOA_ARRAY_INDEX_COLUMN(Collision, collisions);
29+
DECLARE_SOA_INDEX_COLUMN(BC, bc);
30+
DECLARE_SOA_SLICE_INDEX_COLUMN(Pmd, pmd);
31+
} // namespace pmdtrack
32+
33+
DECLARE_SOA_INDEX_TABLE_USER(PMDTracksIndex, BCs, "PMDTRKIDX", pmdtrack::CollisionId, pmdtrack::BCId, pmdtrack::PmdIdSlice);
34+
} // namespace o2::aod
35+
36+
#endif // COMMON_DATAMODEL_PMDTABLE_H_

0 commit comments

Comments
 (0)