Project
Loading...
Searching...
No Matches
KrCluster.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::trd;
18
19void KrCluster::setGlobalPadID(int det, int row, int col)
20{
21 mDet = det;
22 mRow = row;
23 mCol = col;
24}
25
26void KrCluster::setAdcData(int adcSum, int adcRms, int adcMaxA, int adcMaxB, int adcEoT, int adcIntegral, int adcSumTrunc)
27{
28 mAdcSum = adcSum;
29 mAdcRms = adcRms;
30 mAdcMaxA = adcMaxA;
31 mAdcMaxB = adcMaxB;
32 mAdcSumEoverT = adcEoT;
33 mAdcIntegral = adcIntegral;
34 mAdcSumTruncated = adcSumTrunc;
35}
36
37void KrCluster::setTimeData(int timeMaxA, int timeMaxB, int timeRms)
38{
39 mTimeMaxA = timeMaxA;
40 mTimeMaxB = timeMaxB;
41 mTimeRms = timeRms;
42}
43
44void KrCluster::setClusterSizeData(int rowSize, int colSize, int timeSize, int nAdcs)
45{
46 mDeltaRow = rowSize;
47 mDeltaCol = colSize;
48 mDeltaTime = timeSize;
49 mClusterSize = nAdcs;
50}
uint32_t col
Definition RawData.h:4
A cluster formed from digits during TRD Krypton calibration.
void setTimeData(int timeMaxA, int timeMaxB, int timeRms)
Definition KrCluster.cxx:37
void setGlobalPadID(int det, int row, int col)
Definition KrCluster.cxx:19
void setClusterSizeData(int rowSize, int colSize, int timeSize, int nAdcs)
Definition KrCluster.cxx:44
void setAdcData(int adcSum, int adcRms, int adcMaxA, int adcMaxB, int adcEoT, int adcIntegral, int adcSumTrunc)
Definition KrCluster.cxx:26
std::vector< int > row