12#ifndef O2_TRD_GEOMETRYBASE_H
13#define O2_TRD_GEOMETRYBASE_H
28 GPUd() int isVersion() {
return 1; }
29 GPUd()
bool isHole(
int la,
int st,
int se)
const {
return (((se == 13) || (se == 14) || (se == 15)) && (
st == 2)); }
41 GPUd() static
int getDetectorSec(
int det) {
return (det % (constants::NLAYER * constants::NSTACK)); }
44 GPUd() static
int getLayer(
int det) {
return (det % constants::NLAYER); }
45 GPUd() static
int getStack(
int det) {
return ((det % (constants::NLAYER * constants::NSTACK)) / constants::NLAYER); }
52 GPUd() int getColMax(
int layer)
const {
return getPadPlane(
layer, 0)->getNcols(); }
61 static constexpr GPUd() int getSector(
int det) {
return (det / (constants::NLAYER * constants::NSTACK)); }
63 static constexpr GPUd() double getXtrdBeg() {
return XTRDBEG; }
64 static constexpr GPUd() double getXtrdEnd() {
return XTRDEND; }
65 static constexpr GPUd() double getChamberWidth(
int layer) {
return CWIDTH[
layer]; }
67 static constexpr GPUd() double getAlpha() {
return 2.0 * 3.14159265358979324 / constants::NSECTOR; }
68 static constexpr GPUd() double cheight() {
return CH; }
69 static constexpr GPUd() double cheightSV() {
return CHSV; }
70 static constexpr GPUd() double cspace() {
return VSPACE; }
71 static constexpr GPUd() double craHght() {
return CRAH; }
72 static constexpr GPUd() double cdrHght() {
return CDRH; }
73 static constexpr GPUd() double camHght() {
return CAMH; }
74 static constexpr GPUd() double croHght() {
return CROH; }
75 static constexpr GPUd() double csvHght() {
return CSVH; }
76 static constexpr GPUd() double croWid() {
return CROW; }
77 static constexpr GPUd() double anodePos() {
return ANODEPOS; }
78 static constexpr GPUd() double myThick() {
return RMYTHICK; }
79 static constexpr GPUd() double drThick() {
return DRTHICK; }
80 static constexpr GPUd() double amThick() {
return AMTHICK; }
81 static constexpr GPUd() double drZpos() {
return DRZPOS; }
82 static constexpr GPUd() double rpadW() {
return RPADW; }
83 static constexpr GPUd() double cpadW() {
return CPADW; }
84 static constexpr GPUd() double cwidcha() {
return (SWIDTH2 - SWIDTH1) / SHEIGHT * (CH + VSPACE); }
85 static constexpr GPUd() int MCMmax() {
return MCMMAX; }
86 static constexpr GPUd() int MCMrow() {
return MCMROW; }
87 static constexpr GPUd() int ROBmaxC0() {
return ROBMAXC0; }
88 static constexpr GPUd() int ROBmaxC1() {
return ROBMAXC1; }
89 static constexpr GPUd() int ADCmax() {
return ADCMAX; }
90 static constexpr GPUd() int TBmax() {
return TBMAX; }
91 static constexpr GPUd() int padmax() {
return PADMAX; }
92 static constexpr GPUd() int colmax() {
return COLMAX; }
93 static constexpr GPUd() int rowmaxC0() {
return ROWMAXC0; }
94 static constexpr GPUd() int rowmaxC1() {
return ROWMAXC1; }
166 static
GPUglobalconstexpr()
double PHCTHICK = CROH - PPDTHICK - PPPTHICK - PGLTHICK - PCBTHICK * 2.0 - PPCTHICK - PRBTHICK - PELTHICK;
191 TIME0BASE + 1 * (CH + VSPACE),
192 TIME0BASE + 2 * (CH + VSPACE),
193 TIME0BASE + 3 * (CH + VSPACE),
194 TIME0BASE + 4 * (CH + VSPACE),
195 TIME0BASE + 5 * (CH + VSPACE)};
201 static
GPUglobalconstexpr()
double CWIDTH[constants::NLAYER] = {90.4, 94.8, 99.3, 103.7, 108.1, 112.6};
206 {124.0, 124.0, 110.0, 124.0, 124.0},
207 {124.0, 124.0, 110.0, 124.0, 124.0},
208 {131.0, 131.0, 110.0, 131.0, 131.0},
209 {138.0, 138.0, 110.0, 138.0, 138.0},
210 {145.0, 145.0, 110.0, 145.0, 145.0},
211 {147.0, 147.0, 110.0, 147.0, 147.0}};
configStandalone Light OpenGL display display_light Apply smoothing to points Enable Z buffer Highlight links Highlight seeds Highlight sector tracks Highlight final tracks Show individual sector
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
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 configStandalone Reconstruction rec_trd Max chi2 for TRD tracklets to be matched to a track Chi2 cut for strict matching mode Number of sigmas for ITS TPC track time error estimate Addition to search road around track prolongation along Y in cm Optimal tracklet rphi resolution in maximum chi2 per attached tracklet for TRD tracks take into account the full likelihood of the slope including exponential tails Tracks with less attached tracklets are discarded after the tracking Post trigger Pile up integration time in BCs fits all iterations but the last one in projections Use material lookup table for TPC refit Apply workarounds to avoid cyclic merge should not be needed tpc dyn configStandalone Processing proc_rtc bool
configStandalone Reconstruction rec_tpc float
static constexpr GPUd() double craHght()
static constexpr GPUd() int padmax()
static constexpr GPUd() int rowmaxC1()
static constexpr GPUd() double cspace()
static constexpr GPUd() double getAlpha()
GPUd() int getColMax(int layer) const
static constexpr GPUd() double cwidcha()
static constexpr GPUd() double cdrHght()
static constexpr GPUd() int getSector(int det)
GPUd() float getRowPos(int layer
static constexpr GPUd() int colmax()
static constexpr GPUd() double getXtrdBeg()
static constexpr GPUd() double croHght()
GPUd() float getRowEnd(int layer
static constexpr GPUd() double amThick()
static constexpr GPUd() double getTime0(int layer)
GPUd() float getRow0(int layer
static constexpr GPUd() int MCMmax()
static constexpr GPUd() double csvHght()
static constexpr GPUd() double cheight()
GPUd() float getRowSize(int layer
static constexpr GPUd() double cpadW()
static constexpr GPUd() double anodePos()
static constexpr GPUd() double rpadW()
static constexpr GPUd() double getXtrdEnd()
static constexpr GPUd() double croWid()
static constexpr GPUd() double getChamberLength(int layer
static constexpr GPUd() double camHght()
static constexpr GPUd() int rowmaxC0()
GPUd() const PadPlane *getPadPlane(int det) const
PadPlane mPadPlanes[constants::NLAYER *constants::NSTACK]
static GPUglobalconstexpr() double XTRDBEG
X-coordinate in tracking system of begin of TRD mother volume.
ClassDefNV(GeometryBase, 1)
static GPUglobalconstexpr() double CLENGTH[constants
static constexpr GPUd() int ROBmaxC0()
static constexpr GPUd() double getChamberWidth(int layer)
static GPUglobalconstexpr() double TLENGTH
Total length of the TRD mother volume.
static constexpr GPUd() double drThick()
static constexpr GPUd() double cheightSV()
static constexpr GPUd() int MCMrow()
static constexpr GPUd() int ROBmaxC1()
static constexpr GPUd() int TBmax()
static constexpr GPUd() double drZpos()
static constexpr GPUd() int ADCmax()
GPUd() float getCol0(int layer) const
static constexpr GPUd() double myThick()
GLenum GLuint GLint GLint layer
GLdouble GLdouble GLdouble z
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...