CGEM BOSS 6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
RecMucRecHitCnv.cxx
Go to the documentation of this file.
1#ifndef RecMucRecHitCnv_CXX
2#define RecMucRecHitCnv_CXX 1
3
4#include "GaudiKernel/MsgStream.h"
5#include "GaudiKernel/DataObject.h"
6#include "GaudiKernel/ObjectVector.h"
7
8#include "TClonesArray.h"
9
11
13
14//#include "RootEventData/TMucTrack.h" // standard root object
15#include "RootEventData/TRecMucTrack.h" // standard root object
16//#include "RootEventData/TDstEvent.h"
18
22
23#include <vector>
24
25using namespace std;
26
27// Instantiation of a static factory class used by clients to create
28// instances of this service
29//static CnvFactory<RecMucRecHitCnv> s_factory;
30//const ICnvFactory& RecMucRecHitCnvFactory = s_factory;
31
33: RootEventBaseCnv(classID(), svc)
34{
35
36 // Here we associate this converter with the /Event path on the TDS.
37 MsgStream log(msgSvc(), "RecMucRecHitCnv");
38 //log << MSG::DEBUG << "Constructor called for " << objType() << endreq;
39 //m_rootTreename ="Rec";
40 m_rootBranchname ="m_RecmucRecHitCol";
42 m_adresses.push_back(&m_mucTrackCol);
43 m_mucTrackCol=0;
44}
45
46StatusCode RecMucRecHitCnv::TObjectToDataObject(DataObject*& refpObject) {
47 // creation of TDS object from root object
48
49
50 return StatusCode::SUCCESS;
51}
52
53StatusCode RecMucRecHitCnv::DataObjectToTObject(DataObject* obj,RootAddress* rootaddr) {
54
55 return StatusCode::SUCCESS;
56}
57#endif
IMessageSvc * msgSvc()
virtual StatusCode DataObjectToTObject(DataObject *obj, RootAddress *addr)
transformation to root
virtual StatusCode TObjectToDataObject(DataObject *&obj)
transformation from root
RecMucRecHitCnv(ISvcLocator *svc)
Definition of a Root address, derived from IOpaqueAddress.
Definition RootAddress.h:21
Base class for all Root Converters.
std::string m_rootTreename
each converter knows it's treename
std::vector< void * > m_adresses
each converter knows the corresponding adresses
void declareObject(const std::string &fullPath, const CLID &clid, const std::string &treename, const std::string &branchname)
Store TDS path to link a particular converter to an object on the TDS.
std::string m_rootBranchname
root branchname (may be concatenated of severals)
_EXTERN_ std::string MucRecHitCol
Definition EventModel.h:111