TagCollectionSvc.h
Go to the documentation of this file.
1 //====================================================================
2 // Tag collection service definition
3 //--------------------------------------------------------------------
4 //
5 // Package : GaudiSvc ( The LHCb Offline System)
6 // Author : M.Frank
7 //====================================================================
8 #ifndef GAUDI_TAGCOLLECTIONSVC_H
9 #define GAUDI_TAGCOLLECTIONSVC_H 1
10 
11 // Framework include files
12 #include "NTupleSvc.h"
13 
26 class TagCollectionSvc : public NTupleSvc {
27 public:
29  using NTupleSvc::connect;
30 
32  virtual StatusCode initialize();
34  virtual StatusCode finalize();
35 
37  TagCollectionSvc(const std::string& name, ISvcLocator* svc);
39  virtual ~TagCollectionSvc();
41 protected:
42  virtual StatusCode connect(const std::string& ident, std::string& logname);
48  virtual StatusCode createService( const std::string& nam,
49  const std::string& typ,
50  const std::vector<Prop>& props,
51  IConversionSvc*& pSvc);
52 };
53 
54 #endif // GAUDI_TAGCOLLECTIONSVC_H
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
Definition: ISvcLocator.h:26
virtual StatusCode initialize()
DataSvc overrides: Initialize the service.
Gaudi tag collection service definition.
virtual StatusCode finalize()
DataSvc overrides: stop the service.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:30
virtual StatusCode connect(const std::string &ident)
Add file to list I/O list.
Definition: NTupleSvc.cpp:225
virtual const std::string & name() const
Retrieve name of the service.
Definition: Service.cpp:329
virtual ~TagCollectionSvc()
Standard Destructor.
NTuple service.
Definition: NTupleSvc.h:25
virtual StatusCode connect(const std::string &ident, std::string &logname)
Add file to list I/O list.
TagCollectionSvc(const std::string &name, ISvcLocator *svc)
Standard Constructor.
virtual StatusCode createService(const std::string &nam, const std::string &typ, const std::vector< Prop > &props, IConversionSvc *&pSvc)
Create conversion service.