Project
Loading...
Searching...
No Matches
OnDemandPlugin.cxx
Go to the documentation of this file.
1
// Copyright 2019-2025 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
#include "
Framework/Plugins.h
"
12
#include "
Framework/AlgorithmSpec.h
"
13
#include "
AODReaderHelpers.h
"
14
15
struct
ExtendedTableSpawner
:
o2::framework::AlgorithmPlugin
{
16
o2::framework::AlgorithmSpec
create
(
o2::framework::ConfigContext
const
& config)
override
17
{
18
return
o2::framework::readers::AODReaderHelpers::aodSpawnerCallback
(config);
19
}
20
};
21
22
struct
IndexTableBuilder
:
o2::framework::AlgorithmPlugin
{
23
o2::framework::AlgorithmSpec
create
(
o2::framework::ConfigContext
const
& config)
override
24
{
25
return
o2::framework::readers::AODReaderHelpers::indexBuilderCallback
(config);
26
}
27
};
28
29
DEFINE_DPL_PLUGINS_BEGIN
30
DEFINE_DPL_PLUGIN_INSTANCE
(
ExtendedTableSpawner
, CustomAlgorithm);
31
DEFINE_DPL_PLUGIN_INSTANCE
(
IndexTableBuilder
, CustomAlgorithm);
32
DEFINE_DPL_PLUGINS_END
AODReaderHelpers.h
AlgorithmSpec.h
Plugins.h
DEFINE_DPL_PLUGIN_INSTANCE
#define DEFINE_DPL_PLUGIN_INSTANCE(NAME, KIND)
Definition
Plugins.h:112
DEFINE_DPL_PLUGINS_END
#define DEFINE_DPL_PLUGINS_END
Definition
Plugins.h:115
DEFINE_DPL_PLUGINS_BEGIN
#define DEFINE_DPL_PLUGINS_BEGIN
Definition
Plugins.h:107
o2::framework::ConfigContext
Definition
ConfigContext.h:24
ExtendedTableSpawner
Definition
OnDemandPlugin.cxx:15
ExtendedTableSpawner::create
o2::framework::AlgorithmSpec create(o2::framework::ConfigContext const &config) override
Definition
OnDemandPlugin.cxx:16
IndexTableBuilder
Definition
OnDemandPlugin.cxx:22
IndexTableBuilder::create
o2::framework::AlgorithmSpec create(o2::framework::ConfigContext const &config) override
Definition
OnDemandPlugin.cxx:23
o2::framework::AlgorithmPlugin
Helper class for an algorithm which is loaded as a plugin.
Definition
AlgorithmSpec.h:83
o2::framework::AlgorithmSpec
Definition
AlgorithmSpec.h:43
o2::framework::readers::AODReaderHelpers::indexBuilderCallback
static AlgorithmSpec indexBuilderCallback(ConfigContext const &ctx)
Definition
AODReaderHelpers.cxx:82
o2::framework::readers::AODReaderHelpers::aodSpawnerCallback
static AlgorithmSpec aodSpawnerCallback(ConfigContext const &ctx)
Definition
AODReaderHelpers.cxx:184
Framework
AnalysisSupport
src
OnDemandPlugin.cxx
Generated on Sat Nov 29 2025 09:50:03 for Project by
1.9.8