10#include "GaudiKernel/SvcFactory.h"
11#include "GaudiKernel/SmartIF.h"
12#include "GaudiKernel/CnvFactory.h"
13#include "GaudiKernel/GenericAddress.h"
14#include "GaudiKernel/MsgStream.h"
15#include "GaudiKernel/ISvcLocator.h"
16#include "GaudiKernel/IDataProviderSvc.h"
17#include "GaudiKernel/IDataManagerSvc.h"
18#include "GaudiKernel/RegistryEntry.h"
19#include "GaudiKernel/IConversionSvc.h"
21#include "McEventSelector/McCnvSvc.h"
22#include "McEventSelector/McEventCnv.h"
23#include "McEventSelector/McAddress.h"
24#include "McEventSelector/McEventSelector.h"
35: ConversionSvc( name, svc, storageType())
45 MsgStream log(
msgSvc(), name());
46 StatusCode status = ConversionSvc::initialize();
51 MsgStream log(
msgSvc(), name());
52 log << MSG::DEBUG <<
"RootCnvSvc::finalize" << endreq;
54 ConversionSvc::finalize();
56 return StatusCode::SUCCESS;
61 if ( IID_IMcCnvSvc == riid ) {
66 return ConversionSvc::queryInterface(riid, ppvInterface);
69 return StatusCode::SUCCESS;
74 MsgStream log(messageService(), name());
75 static bool first =
true;
78 if ( 0 != pAddress ) {
79 GenericAddress* pAddr =
dynamic_cast<GenericAddress*
>(pAddress);
84 return StatusCode::SUCCESS;
87 return StatusCode::FAILURE;
91 static unsigned char type=0x10;
virtual StatusCode updateServiceState(IOpaqueAddress *pAddress)
Update state of the service.
static unsigned char storageType()
storage type
virtual StatusCode initialize()
Initialize the service.
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvInterface)
Override inherited queryInterface due to enhanced interface.
virtual ~McCnvSvc()
Standard Destructor.
virtual StatusCode finalize()
McCnvSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.