Project
Loading...
Searching...
No Matches
DigitalCurrentClusterIntegrator.cxx
Go to the documentation of this file.
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
14
16
17using namespace o2::tpc;
18using namespace o2::tpc::constants;
19
21{
22 for (int i = 0; i < MAXSECTOR; i++) {
23 for (int j = 0; j < MAXGLOBALPADROW; j++) {
24 if (mIntegratedCurrents[i][j]) {
26 memset(&mIntegratedCurrents[i][j][0], 0, nPads * sizeof(mIntegratedCurrents[i][j][0]));
27 }
28 }
29 }
30}
31
33{
34 for (int i = 0; i < MAXSECTOR; i++) {
35 for (int j = 0; j < MAXGLOBALPADROW; j++) {
36 mIntegratedCurrents[i][j].reset(nullptr);
37 }
38 }
39}
Decoder to convert TPC ClusterHardware to ClusterNative.
int32_t i
uint32_t j
Definition RawData.h:0
int getNumberOfPadsInRowSector(int row) const
Definition Mapper.h:340
static Mapper & instance(const std::string mappingDir="")
Definition Mapper.h:44
constexpr int MAXSECTOR
Definition Constants.h:28
constexpr int MAXGLOBALPADROW
Definition Constants.h:34
Global TPC definitions and constants.
Definition SimTraits.h:167