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
15
#include "
Framework/DataProcessorSpec.h
"
16
#include "
Framework/Task.h
"
17
#include "
TRKReconstruction/Clusterer.h
"
18
19
namespace
o2::trk
20
{
21
22
class
ClustererDPL
:
public
o2::framework::Task
23
{
24
public
:
25
ClustererDPL
(
bool
useMC) : mUseMC(useMC) {}
26
void
init
(
o2::framework::InitContext
& ic)
final
;
27
void
run
(
o2::framework::ProcessingContext
& pc)
final
;
28
29
private
:
30
bool
mUseMC =
true
;
31
int
mNThreads = 1;
32
o2::trk::Clusterer
mClusterer;
33
};
34
35
o2::framework::DataProcessorSpec
getClustererSpec
(
bool
useMC);
36
37
}
// namespace o2::trk
38
39
#endif
DataProcessorSpec.h
Task.h
Clusterer.h
Definition of the TRK cluster finder.
o2::framework::InitContext
Definition
InitContext.h:25
o2::framework::ProcessingContext
Definition
ProcessingContext.h:27
o2::framework::Task
Definition
Task.h:32
o2::trk::ClustererDPL
Definition
ClustererSpec.h:23
o2::trk::ClustererDPL::init
void init(o2::framework::InitContext &ic) final
Definition
ClustererSpec.cxx:23
o2::trk::ClustererDPL::ClustererDPL
ClustererDPL(bool useMC)
Definition
ClustererSpec.h:25
o2::trk::ClustererDPL::run
void run(o2::framework::ProcessingContext &pc) final
Definition
ClustererSpec.cxx:28
o2::trk::Clusterer
Definition
Clusterer.h:44
o2::trk
Definition
Cluster.h:20
o2::trk::getClustererSpec
o2::framework::DataProcessorSpec getClustererSpec(bool useMC)
Definition
ClustererSpec.cxx:73
o2::framework::DataProcessorSpec
Definition
DataProcessorSpec.h:41
Detectors
Upgrades
ALICE3
TRK
workflow
include
TRKWorkflow
ClustererSpec.h
Generated on Tue Mar 17 2026 00:46:52 for Project by
1.9.8