Skip to content

Commit a0a4c7b

Browse files
authored
TPC constants in namespace instead of class (#459)
1 parent b4b595a commit a0a4c7b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

Modules/TPC/src/Clusters.cxx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ void Clusters::monitorData(o2::framework::ProcessingContext& ctx)
151151
return;
152152
}
153153
const int sector = sectorHeader->sector();
154-
std::bitset<o2::tpc::Constants::MAXSECTOR> sectorMask(sectorHeader->sectorBits);
154+
std::bitset<o2::tpc::constants::MAXSECTOR> sectorMask(sectorHeader->sectorBits);
155155
LOG(INFO) << "Reading TPC cluster data, sector mask is " << sectorMask;
156156

157157
if (sector < 0) {
@@ -186,8 +186,8 @@ void Clusters::monitorData(o2::framework::ProcessingContext& ctx)
186186
ClusterNativeHelper::Reader::fillIndex(clusterIndex, clusterBuffer, clustersMCBuffer,
187187
inputs, mcInputs, [&validInputs](auto& index) { return validInputs.test(index); });
188188

189-
for (int isector = 0; isector < o2::tpc::Constants::MAXSECTOR; ++isector) {
190-
for (int irow = 0; irow < o2::tpc::Constants::MAXGLOBALPADROW; ++irow) {
189+
for (int isector = 0; isector < o2::tpc::constants::MAXSECTOR; ++isector) {
190+
for (int irow = 0; irow < o2::tpc::constants::MAXGLOBALPADROW; ++irow) {
191191
const int nClusters = clusterIndex.nClusters[isector][irow];
192192
for (int icl = 0; icl < nClusters; ++icl) {
193193
const auto& cl = *(clusterIndex.clusters[isector][irow] + icl);

0 commit comments

Comments
 (0)