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"
18#ifdef O2_WITH_ACTS
20#endif
21
22namespace o2::trk
23{
24
26{
27 public:
28 ClustererDPL(bool useMC) : mUseMC(useMC) {}
29 void init(o2::framework::InitContext& ic) final;
31
32 private:
33 bool mUseMC = true;
34 int mNThreads = 1;
35#ifdef O2_WITH_ACTS
36 bool mUseACTS = false;
37#endif
38 o2::trk::Clusterer mClusterer;
39#ifdef O2_WITH_ACTS
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)