Back to home page

EIC code displayed by LXR

 
 

    


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

0001 /***********************************************************************************\
0002 * (c) Copyright 1998-2019 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 #ifndef GAUDIALG_TUPLEID_H
0012 #define GAUDIALG_TUPLEID_H 1
0013 // ============================================================================
0014 // include files
0015 // ============================================================================
0016 // GaudiAlg
0017 // ============================================================================
0018 #include "GaudiAlg/GaudiAlg.h"
0019 #include "GaudiAlg/GaudiHistoID.h"
0020 // ============================================================================
0021 
0022 // ============================================================================
0023 /** @namespace Tuples
0024  *  helper namespace to collect useful definitions, types, constants
0025  *  and functions, related to manipulations with N-Tuples
0026  *  @author Vanya BELYAEV Ivan.Belyaev@lapp.in2p3.fr
0027  *  @date 2005-08-06
0028  */
0029 // ============================================================================
0030 namespace Tuples {
0031   /// the actual type for N-Tuple identifier (HBOOK-style)
0032   typedef GaudiAlg::ID TupleID;
0033   inline std::size_t   hash_value( TupleID const& b ) { return b.hash(); }
0034 } // namespace Tuples
0035 // ============================================================================
0036 
0037 // ============================================================================
0038 namespace GaudiAlg {
0039   /// the actual type for N-Tuple identifier
0040   typedef Tuples::TupleID TupleID;
0041   inline std::size_t      hash_value( TupleID const& b ) { return b.hash(); }
0042 } // namespace GaudiAlg
0043 // ============================================================================
0044 
0045 #endif // GAUDIALG_TUPLEID_H