BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
RecMucRecHitCnv Class Reference

#include <RecMucRecHitCnv.h>

+ Inheritance diagram for RecMucRecHitCnv:

Public Member Functions

virtual ~RecMucRecHitCnv ()
 
- Public Member Functions inherited from RootEventBaseCnv
 RootEventBaseCnv (const CLID &clid, ISvcLocator *svc)
 
virtual ~RootEventBaseCnv ()
 
virtual long repSvcType () const
 
virtual StatusCode initialize ()
 
virtual StatusCode finalize ()
 
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.
 
virtual StatusCode createObj (IOpaqueAddress *addr, DataObject *&dat)
 Convert the persistent object to transient.
 
virtual StatusCode createRep (DataObject *pObject, IOpaqueAddress *&refpAddress)
 Convert the transient object to the requested representation.
 
virtual StatusCode fillRepRefs (IOpaqueAddress *pAddress, DataObject *pObject)
 Resolve the references of the converted object.
 
virtual StatusCode fillObjRefs (IOpaqueAddress *pAddress, DataObject *pObject)
 Resolve the references of the converted object.
 
virtual StatusCode DataObjectToTObject (DataObject *dat, RootAddress *addr)=0
 Do the concrete conversion from TDS to ROOT.
 
virtual StatusCode TObjectToDataObject (DataObject *&dat)=0
 Do the concrete conversion from ROOT to TDS.
 
TObject * getReadObject () const
 get the object to be read
 
- Public Member Functions inherited from Converter< Ty1, Ty2 >
destinationoperator (const source &) const
 

Static Public Member Functions

static const CLID & classID ()
 
- Static Public Member Functions inherited from RootEventBaseCnv
static const unsigned char storageType ()
 Storage type and class ID.
 

Protected Member Functions

 RecMucRecHitCnv (ISvcLocator *svc)
 
virtual StatusCode DataObjectToTObject (DataObject *obj, RootAddress *addr)
 transformation to root
 
virtual StatusCode TObjectToDataObject (DataObject *&obj)
 transformation from root
 
- Protected Member Functions inherited from Converter< Ty1, Ty2 >
virtual destinationconvert (const source &) const =0
 

Friends

class CnvFactory< RecMucRecHitCnv >
 

Additional Inherited Members

- Public Types inherited from Converter< Ty1, Ty2 >
typedef Ty1 source
 
typedef Ty2 destination
 
- Protected Attributes inherited from RootEventBaseCnv
RootCnvSvcm_cnvSvc
 
std::vector< RootCnvSvc::Leafm_leaves
 
RootInterfacem_rootInterface
 pointer to the RootInterface
 
IDataProviderSvc * m_eds
 pointer to eventdataservice
 
int m_branchNr
 the branchNr of this converter for writing
 
int m_branchNrDst
 
int m_branchNrMc
 
int m_branchNrRecon
 
int m_branchNrEvtRec
 
int m_branchNrEvtHeader
 
int m_branchNrEvtNavigator
 
TObject * m_objRead
 the object that was read
 
CLID CLID_top
 the CLID of the upper converter if any
 
TArrayS * m_branchNumbers
 array with number of branches for reading
 
std::string m_rootBranchname
 root branchname (may be concatenated of severals)
 
std::string m_rootTreename
 each converter knows it's treename
 
std::string m_currentFileName
 
std::vector< void * > m_adresses
 each converter knows the corresponding adresses
 
RootEvtSelectorm_evtsel
 

Detailed Description

Definition at line 15 of file RecMucRecHitCnv.h.

Constructor & Destructor Documentation

◆ ~RecMucRecHitCnv()

virtual RecMucRecHitCnv::~RecMucRecHitCnv ( )
inlinevirtual

Definition at line 25 of file RecMucRecHitCnv.h.

25{ };

◆ RecMucRecHitCnv()

RecMucRecHitCnv::RecMucRecHitCnv ( ISvcLocator *  svc)
protected

Definition at line 32 of file RecMucRecHitCnv.cxx.

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}
IMessageSvc * msgSvc()
static const CLID & classID()
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:105

Member Function Documentation

◆ classID()

static const CLID & RecMucRecHitCnv::classID ( )
inlinestatic

Definition at line 20 of file RecMucRecHitCnv.h.

21 {
22 return CLID_MucRecHitCol;
23 }
const CLID & CLID_MucRecHitCol
Definition: EventModel.cxx:348

◆ DataObjectToTObject()

StatusCode RecMucRecHitCnv::DataObjectToTObject ( DataObject *  obj,
RootAddress addr 
)
protectedvirtual

transformation to root

Implements RootEventBaseCnv.

Definition at line 53 of file RecMucRecHitCnv.cxx.

53 {
54
55 return StatusCode::SUCCESS;
56}

◆ TObjectToDataObject()

StatusCode RecMucRecHitCnv::TObjectToDataObject ( DataObject *&  obj)
protectedvirtual

transformation from root

Implements RootEventBaseCnv.

Definition at line 46 of file RecMucRecHitCnv.cxx.

46 {
47 // creation of TDS object from root object
48
49
50 return StatusCode::SUCCESS;
51}

Friends And Related Function Documentation

◆ CnvFactory< RecMucRecHitCnv >

friend class CnvFactory< RecMucRecHitCnv >
friend

Definition at line 9 of file RecMucRecHitCnv.h.


The documentation for this class was generated from the following files: