ATLAS Offline Software
McCnvSvc.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 // ============================================================
6 // McCnvSvc.h
7 // ------------------------------------------------------------
8 //
9 // Package : McEventSelector
10 //
11 // Author : Marjorie Shapiro
12 // Modified Nov 10 I.H.
13 // ============================================================
14 #ifndef MCEVENTSELECTOR_MCCNVSVC_H
15 #define MCEVENTSELECTOR_MCCNVSVC_H 1
16 
17 #include "GaudiKernel/ConversionSvc.h"
18 
19 // Forward declarations
20 template <class TYPE> class SvcFactory;
21 
22 class McCnvSvc : public ConversionSvc {
24  friend class SvcFactory<McCnvSvc>;
25 public:
28  McCnvSvc(const std::string& name, ISvcLocator* svc);
30 
32  virtual ~McCnvSvc();
33 
36  virtual StatusCode initialize();
38 
40  virtual StatusCode updateServiceState(IOpaqueAddress* pAddress);
42 
44  static long storageType() ;
45  virtual long repSvcType() const;
46 };
47 
48 #endif // MCEVENTSELECTOR_MCCNVSVC_H
49 
McCnvSvc
Definition: McCnvSvc.h:22
SvcFactory
Definition: AthCnvSvc.h:28
McCnvSvc::storageType
static long storageType()
storage type
Definition: McCnvSvc.cxx:56
McCnvSvc::McCnvSvc
McCnvSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
Definition: McCnvSvc.cxx:27
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
Handler::svc
AthROOTErrorHandlerSvc * svc
Definition: AthROOTErrorHandlerSvc.cxx:10
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
McCnvSvc::~McCnvSvc
virtual ~McCnvSvc()
Standard Destructor.
Definition: McCnvSvc.cxx:32
McCnvSvc::repSvcType
virtual long repSvcType() const
Definition: McCnvSvc.cxx:51
McCnvSvc::updateServiceState
virtual StatusCode updateServiceState(IOpaqueAddress *pAddress)
Update state of the service.
Definition: McCnvSvc.cxx:42
McCnvSvc::initialize
virtual StatusCode initialize()
Initialize the service.
Definition: McCnvSvc.cxx:36