ATLAS Offline Software
ISGAudSvc.h
Go to the documentation of this file.
1 
3 /*
4  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
5 */
6 
7 // ISGAudSvc.h
8 // Header file for class ISGAudSvc
9 // Author: Ilija Vukotic<ivukotic@cern.ch>
11 #ifndef SGAUDCORE_ISGAUDSVC_H
12 #define SGAUDCORE_ISGAUDSVC_H
13 
14 // STL includes
15 
16 // FrameWork includes
17 #include "GaudiKernel/IService.h"
18 #include "GaudiKernel/ClassID.h"
19 
20 class ISGAudSvc : virtual public IService
21 {
22 
24  // Public methods:
26  public:
27 
30  virtual ~ISGAudSvc();
31 
32  virtual bool SGSetCurrentAlg(){return true;};//std::string CurrAlg
33 
34  virtual void SGAudit(const std::string& /*key*/, const CLID& /*id*/,
35  const int& /*fnc*/, const int& /*store_id*/) {};
36 
37  virtual void setFakeCurrentAlg(const std::string&){}//For custom increased granularity
38  virtual void clearFakeCurrentAlg(){}
39 
41  // Const methods:
43  static const InterfaceID& interfaceID();
44 
46  // Non-const methods:
48 
49 };
50 
51 // I/O operators
53 
55 // Inline methods:
57 inline const InterfaceID& ISGAudSvc::interfaceID()
58 {
59  static const InterfaceID IID_ISGAudSvc("ISGAudSvc", 1, 0);
60  return IID_ISGAudSvc;
61 }
62 
63 #endif
ISGAudSvc::SGSetCurrentAlg
virtual bool SGSetCurrentAlg()
Definition: ISGAudSvc.h:32
ISGAudSvc::setFakeCurrentAlg
virtual void setFakeCurrentAlg(const std::string &)
Definition: ISGAudSvc.h:37
ISGAudSvc::clearFakeCurrentAlg
virtual void clearFakeCurrentAlg()
Definition: ISGAudSvc.h:38
ISGAudSvc::interfaceID
static const InterfaceID & interfaceID()
Definition: ISGAudSvc.h:57
CLID
uint32_t CLID
The Class ID type.
Definition: Event/xAOD/xAODCore/xAODCore/ClassID_traits.h:47
ISGAudSvc::~ISGAudSvc
virtual ~ISGAudSvc()
Destructor:
Definition: ISGAudSvc.cxx:18
ISGAudSvc
Definition: ISGAudSvc.h:21
ISGAudSvc::SGAudit
virtual void SGAudit(const std::string &, const CLID &, const int &, const int &)
Definition: ISGAudSvc.h:34