Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-21 10:00:31

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 GAUDIKERNEL_IEVENTTIMEDECODER_H
0012 #define GAUDIKERNEL_IEVENTTIMEDECODER_H 1
0013 
0014 // Include files
0015 // from STL
0016 #include <string>
0017 
0018 // from Gaudi
0019 #include "GaudiKernel/IAlgTool.h"
0020 #include "GaudiKernel/Time.h"
0021 
0022 /** @class IEventTimeDecoder IEventTimeDecoder.h GaudiKernel/IEventTimeDecoder.h
0023  *
0024  *  Interface that a Tool that decodes the event time has to implement.
0025  *
0026  *  @author Marco Clemencic
0027  *  @date   2006-09-21
0028  */
0029 class GAUDI_API IEventTimeDecoder : virtual public IAlgTool {
0030 public:
0031   /// InterfaceID
0032   DeclareInterfaceID( IEventTimeDecoder, 2, 0 );
0033 
0034   /// Return the time of current event.
0035   virtual Gaudi::Time getTime() const = 0;
0036 };
0037 #endif // GAUDIKERNEL_IEVENTTIMEDECODER_H