Project
Loading...
Searching...
No Matches
KrCluster.h
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
15#ifndef O2_TRD_KRCLUSTER_H
16#define O2_TRD_KRCLUSTER_H
17
18#include "Rtypes.h"
21
22namespace o2
23{
24namespace trd
25{
26
28{
29 public:
30 KrCluster() = default;
31 KrCluster(const KrCluster&) = default;
32 ~KrCluster() = default;
33
34 void setGlobalPadID(int det, int row, int col);
35 void setAdcData(int adcSum, int adcRms, int adcMaxA, int adcMaxB, int adcEoT, int adcIntegral, int adcSumTrunc);
36 void setTimeData(int timeMaxA, int timeMaxB, int timeRms);
37 void setClusterSizeData(int rowSize, int colSize, int timeSize, int nAdcs);
38
39 // identify global pad number (row and column with the maximum ADC value contained in the cluster)
40 int getDetector() const { return mDet; }
41 int getSector() const { return HelperMethods::getSector(mDet); }
42 int getStack() const { return HelperMethods::getStack(mDet); }
43 int getLayer() const { return HelperMethods::getLayer(mDet); }
44 int getRow() const { return mRow; }
45 int getColumn() const { return mCol; }
46
47 // ADC related members
48 int getAdcSum() const { return mAdcSum; }
49 int getAdcRms() const { return mAdcRms; }
50 int getAdcMaxA() const { return mAdcMaxA; }
51 int getAdcMaxB() const { return mAdcMaxB; }
52 int getAdcSumEoverT() const { return mAdcSumEoverT; }
53 int getAdcIntegral() const { return mAdcIntegral; }
54 int getAdcSumTruncated() const { return mAdcSumTruncated; }
55
56 // cluster size
57 int getClSizeRow() const { return mDeltaRow; }
58 int getClSizeCol() const { return mDeltaCol; }
59 int getClSizeTime() const { return mDeltaTime; }
60 int getClSize() const { return mClusterSize; }
61
62 // time bin related members
63 int getTimeMaxA() const { return mTimeMaxA; }
64 int getTimeMaxB() const { return mTimeMaxB; }
65 int getTimeRms() const { return mTimeRms; }
66
67 private:
68 uint16_t mDet;
69 uint16_t mAdcSum;
70 uint16_t mAdcRms;
71 uint16_t mAdcMaxA;
72 uint16_t mAdcMaxB;
73 uint16_t mAdcSumEoverT;
74 uint16_t mAdcIntegral;
75 uint16_t mAdcSumTruncated;
76 uint8_t mRow;
77 uint8_t mCol;
78 uint8_t mDeltaRow;
79 uint8_t mDeltaCol;
80 uint8_t mDeltaTime;
81 uint8_t mClusterSize;
82 uint8_t mTimeMaxA;
83 uint8_t mTimeMaxB;
84 uint8_t mTimeRms;
85
86 ClassDefNV(KrCluster, 1);
87};
88
89} // namespace trd
90} // namespace o2
91
92#endif // O2_TRD_KRCLUSTER_H
Global TRD definitions and constants.
unsigned short int uint16_t
configStandalone Reconstruction rec_tpc multiplier for the combined cluster track error during track following area in cm for the search of for z only used if decrease removal by when above this local occupancy rowx Shift of TPC revert cluster flag edge bit distance to edge exceeds this ZOffset for secondary multiple of radius max P of electron K BB bands crossing max P of electron p BB bands crossing max P of electron d BB bands crossing max P of electron t BB bands crossing min accepted dEdxMaxTPC of the track Additive extra cluster error for Y2 if edge flag set Additive extra cluster error for Y2 if single set Additive extra cluster error for Y2 if or single set Additive extra cluster error for Z2 if or single set Extra errors to add to track when crossing depending on addErrorsCECrossing Inner portion of y range in sector that is not used in searching for extrapolated track candidates factor2YS for track merging factor2K for track merging Margin in cm of Y position when rejecting edge clusters based on uncorrected track Y Max fraction of shared clusters for tracklet Except pad from cluster finding if total number of charges in a fragment is above this Except pad from cluster finding if number of consecutive charges in a fragment is above this Threshold where a timebin is considered disabling the noisy pad check for that pad Treat signal above this minimum as saturated Smoothing factor for the exponential Highly Ionising Particle tail filter Number of timebins to use for the averaging Add additional custom track errors when crossing relative as fraction of Do N fit passes in final fit of< 0:reject at max -n hits") AddOptionRTC(rejectIFCLowRadiusCluster, uint8_t, 1, "", 0, "Reject clusters that get the IFC mask error during refit") AddOptionRTC(dEdxTruncLow, uint8_t, 2, "", 0, "Low truncation threshold, fraction of 128") AddOptionRTC(dEdxTruncHigh, uint8_t, 77, "", 0, "High truncation threshold, fraction of 128") AddOptionRTC(extrapolationTracking, int8_t, 1, "", 0, "Enable Extrapolation Tracking(prolong tracks to adjacent sectors to find short segments)") AddOptionRTC(disableRefitAttachment, uint8_t, 0, "", 0, "Bitmask to disable certain attachment steps during refit(1:attachment, 2:propagation, 4:loop following, 8:mirroring)") AddOptionRTC(rejectionStrategy, uint8_t, o2::gpu::GPUSettings::RejectionStrategyA, "", 0, "Enable rejection of TPC clusters for compression(0=no, 1=strategy A, 2=strategy B)") AddOptionRTC(mergeLoopersAfterburner, uint8_t, 1, "", 0, "Run afterburner for additional looper merging") AddOptionRTC(compressionTypeMask, uint8_t, o2::gpu::GPUSettings::CompressionFull, "", 0, "TPC Compression mode bits(1=truncate charge/width LSB, 2=differences, 4=track-model)") AddOptionRTC(compressionSortOrder, uint8_t, o2::gpu::GPUSettings::SortTime, "", 0, "Sort order of TPC compression(0=time, 1=pad, 2=Z-time-pad, 3=Z-pad-time, 4=no sorting(use incoming order))") AddOptionRTC(sigBitsCharge, uint8_t, 4, "", 0, "Number of significant bits for TPC cluster charge in compression mode 1") AddOptionRTC(sigBitsWidth, uint8_t, 3, "", 0, "Number of significant bits for TPC cluster width in compression mode 1") AddOptionRTC(dropLoopers, uint8_t, 0, "", 0, "Drop looping tracks starting from second loop") AddOptionRTC(mergerInterpolateErrors, uint8_t, 1, "", 0, "Use interpolation instead of extrapolation for chi2 based cluster rejection") AddOptionRTC(mergerInterpolateRejectAlsoOnCurrentPosition, uint8_t, 1, "", 0, "When using mergerInterpolateErrors, reject based on chi2 twice computed with interpolated and current track position starting from NDF > mergerNonInterpolateRejectMinNDF Merge tracks accross the central electrode Enable PID response Add sub threshold clusters in TPC dEdx computation OR mask of TPC flags that will reject the cluster in alternative dEdx Reject edge clusters based on uncorrected track Y during track fit Increase decrease removal by when on this number of pads from the edge h trd
uint32_t col
Definition RawData.h:4
~KrCluster()=default
int getRow() const
Definition KrCluster.h:44
int getLayer() const
Definition KrCluster.h:43
int getAdcSumTruncated() const
Definition KrCluster.h:54
int getSector() const
Definition KrCluster.h:41
int getTimeMaxB() const
Definition KrCluster.h:64
int getColumn() const
Definition KrCluster.h:45
int getAdcSumEoverT() const
Definition KrCluster.h:52
int getAdcMaxB() const
Definition KrCluster.h:51
int getTimeRms() const
Definition KrCluster.h:65
KrCluster(const KrCluster &)=default
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
int getAdcRms() const
Definition KrCluster.h:49
int getAdcIntegral() const
Definition KrCluster.h:53
int getTimeMaxA() const
Definition KrCluster.h:63
int getAdcSum() const
Definition KrCluster.h:48
int getClSizeTime() const
Definition KrCluster.h:59
int getDetector() const
Definition KrCluster.h:40
int getClSizeRow() const
Definition KrCluster.h:57
void setAdcData(int adcSum, int adcRms, int adcMaxA, int adcMaxB, int adcEoT, int adcIntegral, int adcSumTrunc)
Definition KrCluster.cxx:26
int getAdcMaxA() const
Definition KrCluster.h:50
int getStack() const
Definition KrCluster.h:42
int getClSizeCol() const
Definition KrCluster.h:58
int getClSize() const
Definition KrCluster.h:60
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
static int getStack(int det)
static int getLayer(int det)
static int getSector(int det)
std::vector< int > row