Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:57:33

0001 /***********************************************************************************\
0002 * (c) Copyright 1998-2023 CERN for the benefit of the LHCb and ATLAS collaborations *
0003 *                                                                                   *
0004 * This software is distributed under the terms of the Apache version 2 licence,     *
0005 * copied verbatim in the file "LICENSE".                                            *
0006 *                                                                                   *
0007 * In applying this licence, CERN does not waive the privileges and immunities       *
0008 * granted to it by virtue of its status as an Intergovernmental Organization        *
0009 * or submit itself to any jurisdiction.                                             *
0010 \***********************************************************************************/
0011 #pragma once
0012 
0013 #include <Gaudi/Accumulators.h>
0014 #include <Gaudi/Functional/utilities.h>
0015 #include <GaudiAlg/GaudiAlgorithm.h>
0016 #include <GaudiAlg/GaudiHistoAlg.h>
0017 
0018 namespace Gaudi::Functional::Traits {
0019   // this example uses GaudiHistoAlg as base class, and the default handle types for
0020   // input and output
0021   using useGaudiHistoAlg = use_<BaseClass_t<GaudiHistoAlg>>;
0022 
0023   // this is the default, but is kept for backward compatibility
0024   using useAlgorithm = use_<BaseClass_t<Gaudi::Algorithm>>;
0025 
0026   // use legacy GaudiAlgorithm as base class
0027   using useLegacyGaudiAlgorithm = use_<BaseClass_t<GaudiAlgorithm>>;
0028 } // namespace Gaudi::Functional::Traits