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++) {
67 if (maxContTimeBin && timeBin >= maxContTimeBin) {
71 throw std::runtime_error(
"Digit time bin exceeds time frame length");
73 if (timeBin < lastTime) {
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)) {
81 retVal->gpuDigitsMC[
i].addElement(
retVal->gpuDigits[
i].size(), element);
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.
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 ...
Defining DataPointCompositeObject explicitly as copiable.
GPUTrackingInOutDigits tpcDigitsMap
GPUTPCDigitsMCInput tpcDigitsMapMC
GPUSettingsRec configReconstruction
int32_t grpContinuousMaxTimeBin
const o2::tpc::Digit * tpcDigits[NSECTORS]
const GPUTPCDigitsMCInput * tpcDigitsMC
const GPUTrackingInOutZS * tpcZS
const GPUTrackingInOutDigits * tpcPackedDigits
std::pair< ConstMCLabelContainer, ConstMCLabelContainerView > ConstMCLabelContainerViewWithBuffer
LOG(info)<< "Compressed in "<< sw.CpuTime()<< " s"