15#ifndef ALICEO2_TPC_DIGITALCURRENTCLUSTERINTEGRATOR_H_
16#define ALICEO2_TPC_DIGITALCURRENTCLUSTERINTEGRATOR_H_
39 if (mIntegratedCurrents[sector][
row] ==
nullptr) {
41 mIntegratedCurrents[sector][
row].reset(
new unsigned long long int[nPads]);
42 memset(&mIntegratedCurrents[sector][
row][0], 0, nPads *
sizeof(mIntegratedCurrents[sector][
row][0]));
55 mIntegratedCurrents[sector][
row][ipad] +=
charge;
Class of a TPC cluster in TPC-native coordinates (row, time)
~DigitalCurrentClusterIntegrator()=default
void integrateCluster(int sector, int row, float pad, unsigned int charge)
void initRow(int sector, int row)
DigitalCurrentClusterIntegrator()=default
int getNumberOfPadsInRowSector(int row) const
static Mapper & instance(const std::string mappingDir="")
constexpr int MAXGLOBALPADROW
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...