17#include <TStopwatch.h>
32 static int nHBPerTF = 0;
33 const auto tracksTPC = pc.
inputs().
get<gsl::span<o2::tpc::TrackTPC>>(
"trackTPC");
34 const auto tracksTPCClRefs = pc.
inputs().
get<gsl::span<o2::tpc::TPCClRefElem>>(
"trackTPCClRefs");
35 const auto& clustersTPC = getWorkflowTPCInput(pc);
38 nHBPerTF = grp->getNHBFPerTF();
39 LOGP(info,
"Will use {} HB per TF from GRPECS", nHBPerTF);
49 LOGF(info,
"Timing for TPC clusters sharing map creation: Cpu: %.3e Real: %.3e s", timer.CpuTime(), timer.RealTime());
Device to produce TPC clusters sharing map.
Header of the AggregatedRunInfo struct.
Helper class to obtain TPC clusters / digits / labels from DPL.
decltype(auto) make(const Output &spec, Args... args)
DataAllocator & outputs()
The data allocator is used to allocate memory for the output data.
InputRecord & inputs()
The inputs associated with this processing context.
ServiceRegistryRef services()
The services registry associated with this processing context.
static size_t fillOccupancyMapGetSize(uint32_t nHbfPerTf, const GPUParam *param=nullptr)
static void fillSharedClustersAndOccupancyMap(const o2::tpc::ClusterNativeAccess *cl, const gsl::span< const o2::tpc::TrackTPC > trks, const o2::tpc::TPCClRefElem *trackRef, uint8_t *shmap, uint32_t *ocmap=nullptr, uint32_t nHbfPerTf=0, const GPUParam *param=nullptr)
static std::shared_ptr< GPUParam > getFullParamShared(float solenoidBz, uint32_t nHbfPerTf=0, std::unique_ptr< GPUO2InterfaceConfiguration > *pConfiguration=nullptr, std::unique_ptr< GPUSettingsO2 > *pO2Settings=nullptr, bool *autoMaxTimeBin=nullptr)
void run(framework::ProcessingContext &pc) final
constexpr o2::header::DataOrigin gDataOriginTPC
Defining PrimaryVertex explicitly as messageable.
Global TPC definitions and constants.
bool globalRunNumberChanged