Project
Loading...
Searching...
No Matches
ClustererSpec.h
Go to the documentation of this file.
1// Copyright 2019-2026 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
12#ifndef O2_TRK_CLUSTERERDPL
13#define O2_TRK_CLUSTERERDPL
14
16#include "Framework/Task.h"
17#include "TRKBase/AlmiraParam.h"
19#ifdef O2_WITH_ACTS
21#endif
22
23namespace o2::trk
24{
25
27{
28 public:
29 ClustererDPL(bool useMC) : mUseMC(useMC) {}
30 void init(o2::framework::InitContext& ic) final;
32
33 private:
34 static constexpr int mLayers = o2::trk::AlmiraParam::kNLayers;
35 bool mUseMC = true;
36 int mNThreads = 1;
37 o2::trk::Clusterer mClusterer;
38#ifdef O2_WITH_ACTS
39 bool mUseACTS = false;
40 o2::trk::ClustererACTS mClustererACTS;
41#endif
42};
43
45
46} // namespace o2::trk
47
48#endif
Definition of the TRK cluster finder.
Definition of the TRK cluster finder.
void init(o2::framework::InitContext &ic) final
void run(o2::framework::ProcessingContext &pc) final
o2::framework::DataProcessorSpec getClustererSpec(bool useMC)
static constexpr size_t kNLayers
Definition AlmiraParam.h:28