Project
Loading...
Searching...
No Matches
TrackerSpec.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
13
14#ifndef O2_TRK_TRACKERDPL
15#define O2_TRK_TRACKERDPL
16
18
20#include "Framework/Task.h"
21
23#include "GPUDataTypes.h"
24
26
27#include "TStopwatch.h"
28
29namespace o2::trk
30{
32{
33 public:
34 TrackerDPL(std::shared_ptr<o2::base::GRPGeomRequest> gr,
35 bool isMC,
37 ~TrackerDPL() override = default;
38 void init(framework::InitContext& ic) final;
39 void run(framework::ProcessingContext& pc) final;
41 // void finaliseCCDB(framework::ConcreteDataMatcher& matcher, void* obj) final;
42 void stop() final;
43
44 private:
45 void updateTimeDependentParams(framework::ProcessingContext& pc);
46 // std::unique_ptr<o2::gpu::GPUReconstruction> mRecChain = nullptr;
47 // std::unique_ptr<o2::gpu::GPUChainITS> mChainITS = nullptr;
48 // std::shared_ptr<o2::base::GRPGeomRequest> mGGCCDBRequest;
49 // ITSTrackingInterface mITSTrackingInterface;
50 TStopwatch mTimer;
51};
52
53framework::DataProcessorSpec getTrackerSpec(bool useMC, gpu::GPUDataTypes::DeviceType dType = gpu::GPUDataTypes::DeviceType::CPU);
54
55} // namespace o2::trk
56#endif /* O2_TRK_TRACKERDPL */
Definition of the ClusterTopology class.
Helper for geometry and GRP related CCDB requests.
void endOfStream(framework::EndOfStreamContext &ec) final
This is invoked whenever we have an EndOfStream event.
void run(framework::ProcessingContext &pc) final
void stop() final
This is invoked on stop.
~TrackerDPL() override=default
void init(framework::InitContext &ic) final
framework::DataProcessorSpec getTrackerSpec(bool useMC, gpu::GPUDataTypes::DeviceType dType=gpu::GPUDataTypes::DeviceType::CPU)