BOSS 6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
RecBTofCalHitCnv Class Reference

#include <RecBTofCalHitCnv.h>

+ Inheritance diagram for RecBTofCalHitCnv:

Public Member Functions

virtual ~RecBTofCalHitCnv ()
 
- 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

 RecBTofCalHitCnv (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< RecBTofCalHitCnv >
 

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 RecBTofCalHitCnv.h.

Constructor & Destructor Documentation

◆ ~RecBTofCalHitCnv()

virtual RecBTofCalHitCnv::~RecBTofCalHitCnv ( )
inlinevirtual

Definition at line 25 of file RecBTofCalHitCnv.h.

25{ };

◆ RecBTofCalHitCnv()

RecBTofCalHitCnv::RecBTofCalHitCnv ( ISvcLocator *  svc)
protected

Definition at line 33 of file RecBTofCalHitCnv.cxx.

35{
36
37 // Here we associate this converter with the /Event path on the TDS.
38 MsgStream log(msgSvc(), "RecBTofCalHitCnv");
39 //log << MSG::DEBUG << "Constructor called for " << objType() << endreq;
40 //m_rootTreename ="Rec";
41 m_rootBranchname ="m_RecBTofCalHitCol";
42 //declareObject(EventModel::Recon::RecBTofCalHitCol, objType(), m_rootTreename, m_rootBranchname);
43 m_adresses.push_back(&m_mucTrackCol);
44 m_mucTrackCol=0;
45}
IMessageSvc * msgSvc()
static const CLID & classID()
Base class for all Root Converters.
std::vector< void * > m_adresses
each converter knows the corresponding adresses
std::string m_rootBranchname
root branchname (may be concatenated of severals)

Member Function Documentation

◆ classID()

static const CLID & RecBTofCalHitCnv::classID ( )
inlinestatic

Definition at line 20 of file RecBTofCalHitCnv.h.

21 {
23 }
const CLID & CLID_RecBTofCalHitCol
Definition: EventModel.cxx:332

◆ DataObjectToTObject()

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

transformation to root

Implements RootEventBaseCnv.

Definition at line 54 of file RecBTofCalHitCnv.cxx.

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

◆ TObjectToDataObject()

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

transformation from root

Implements RootEventBaseCnv.

Definition at line 47 of file RecBTofCalHitCnv.cxx.

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

Friends And Related Function Documentation

◆ CnvFactory< RecBTofCalHitCnv >

friend class CnvFactory< RecBTofCalHitCnv >
friend

Definition at line 9 of file RecBTofCalHitCnv.h.


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