The Gaudi Framework
v38r1p1 (ae26267b)
FunctionalUtilities.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2023 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#pragma once
12
13
#include <
Gaudi/Accumulators.h
>
14
#include <
Gaudi/Functional/utilities.h
>
15
#include <
GaudiAlg/GaudiAlgorithm.h
>
16
#include <
GaudiAlg/GaudiHistoAlg.h
>
17
18
namespace
Gaudi::Functional::Traits
{
19
// this example uses GaudiHistoAlg as base class, and the default handle types for
20
// input and output
21
using
useGaudiHistoAlg
=
use_<BaseClass_t<GaudiHistoAlg>
>;
22
23
// this is the default, but is kept for backward compatibility
24
using
useAlgorithm
=
use_<BaseClass_t<Gaudi::Algorithm>
>;
25
26
// use legacy GaudiAlgorithm as base class
27
using
useLegacyGaudiAlgorithm
=
use_<BaseClass_t<GaudiAlgorithm>
>;
28
}
// namespace Gaudi::Functional::Traits
Gaudi::Functional::Traits
Definition:
FunctionalUtilities.h:18
GaudiHistoAlg.h
Gaudi::Functional::Traits::use_
Definition:
utilities.h:36
utilities.h
Accumulators.h
GaudiAlgorithm.h
GaudiAlg
include
GaudiAlg
FunctionalUtilities.h
Generated on Fri Oct 18 2024 13:27:42 for The Gaudi Framework by
1.8.18