CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
RootCnvSvc-04-01-15/src/Rec/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
10#include "EventModel/EventModel.h"
11
12#include "ReconEvent/ReconEvent.h"
13
14//#include "RootEventData/TMucTrack.h" // standard root object
15#include "RootEventData/TRecMucTrack.h" // standard root object
16//#include "RootEventData/TDstEvent.h"
17#include "RootEventData/TRecTrackEvent.h"
18
19#include "RootCnvSvc/Rec/RecTrackCnv.h"
20#include "RootCnvSvc/Rec/RecMucRecHitCnv.h"
21#include "RootCnvSvc/RootAddress.h"
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";
41 declareObject(EventModel::Recon::MucRecHitCol, objType(), m_rootTreename, m_rootBranchname);
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
virtual StatusCode DataObjectToTObject(DataObject *obj, RootAddress *addr)
transformation to root
virtual StatusCode TObjectToDataObject(DataObject *&obj)
transformation from root
Definition of a Root address, derived from IOpaqueAddress.