53 std::unique_ptr<precheckModifiedDataInternal>
retVal = std::make_unique<precheckModifiedDataInternal>();
57 static bool filterOutOfTF = getenv(
"TPC_WORKFLOW_FILTER_DIGITS_OUTSIDE_OF_TF") && atoi(getenv(
"TPC_WORKFLOW_FILTER_DIGITS_OUTSIDE_OF_TF"));
58 bool updateDigits = (zsThreshold > 0 || filterOutOfTF) && ptrs->
tpcZS ==
nullptr;
62 retVal->gpuDigits[
i].reserve(
d->nTPCDigits[
i]);
65 for (
int j = 0;
j <
d->nTPCDigits[
i];
j++) {
66 int timeBin =
d->tpcDigits[
i][
j].getTimeStamp();
67 if (maxContTimeBin && timeBin >= maxContTimeBin) {
71 throw std::runtime_error(
"Digit time bin exceeds time frame length");
74 LOG(fatal) <<
"Incorrect digit ordering: time[" <<
i <<
"][" <<
j <<
"] = " << timeBin <<
" < lastTime = " <<
lastTime;
78 if (
d->tpcDigits[
i][
j].getChargeFloat() >= zsThreshold) {
80 for (
const auto&
element :
d->tpcDigitsMC->v[
i]->getLabels(
j)) {
84 retVal->gpuDigits[
i].emplace_back(
d->tpcDigits[
i][
j]);
92 retVal->gpuDigitsMC[
i].flatten_to(
retVal->gpuDigitsMCConst[
i].first);
93 retVal->gpuDigitsMCConst[
i].second =
retVal->gpuDigitsMCConst[
i].first;
100 retVal->tpcDigitsMap.tpcDigitsMC = &
retVal->tpcDigitsMapMC;
Class of a TPC cluster in TPC-native coordinates (row, time)
A const (ready only) version of MCTruthContainer.
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error First event to Number of events to Number of iterations to Number of iterations to Number of initial iterations excluded from const char Directory with events to Events directory is and not inside events d
Wrapper class for TPC CA Tracker algorithm.
static constexpr int MAXSECTOR
static precheckModifiedData runPrecheck(o2::gpu::GPUTrackingInOutPointers *ptrs, o2::gpu::GPUO2InterfaceConfiguration *config)
Global TPC definitions and constants.
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
GPUTrackingInOutDigits tpcDigitsMap
GPUTPCDigitsMCInput tpcDigitsMapMC
GPUSettingsRec configReconstruction
int32_t grpContinuousMaxTimeBin
const GPUTPCDigitsMCInput * tpcDigitsMC
const GPUTrackingInOutZS * tpcZS
const GPUTrackingInOutDigits * tpcPackedDigits
std::pair< ConstMCLabelContainer, ConstMCLabelContainerView > ConstMCLabelContainerViewWithBuffer
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"