BOSS 7.1.2
BESIII Offline Software System
|
Root Event Conversion Service which coordinates all of our converters. More...
#include <RootCnvSvc.h>
Classes | |
class | Leaf |
object regrouping CLID and pathname with treename/branchname More... | |
Public Member Functions | |
RootInterface * | getRootInterface () |
virtual StatusCode | initialize () |
virtual StatusCode | finalize () |
virtual StatusCode | updateServiceState (IOpaqueAddress *pAddress) |
Update state of the service. | |
virtual StatusCode | queryInterface (const InterfaceID &riid, void **ppvInterface) |
Override inherited queryInterface due to enhanced interface. | |
virtual StatusCode | declareObject (const Leaf &leaf) |
Associates a path on TDS with a particular converter. | |
virtual StatusCode | commitOutput (const std::string &output, bool do_commit) |
Commit pending output (fill the TTrees). | |
virtual StatusCode | createAddress (long int svc_type, const CLID &clid, const std::string *par, const unsigned long *ip, IOpaqueAddress *&refpAddress) |
create address containing ROOT treename, branchname, entry number | |
virtual StatusCode | createAddress (DataObject *obj, IOpaqueAddress *&refpAddress) |
virtual StatusCode | createAddress (std::string path, IOpaqueAddress *&refpAddress) |
DigiCnv * | getDigiCnv () |
DstCnv * | getDstCnv () |
McCnv * | getMcCnv () |
TrigCnv * | getTrigCnv () |
HltCnv * | getHltCnv () |
EvtRecCnv * | getEvtRecCnv () |
void | setDigiCnv (DigiCnv *reccnv) |
void | setDstCnv (DstCnv *dstcnv) |
void | setMcCnv (McCnv *mccnv) |
void | setTrigCnv (TrigCnv *trigcnv) |
void | setHltCnv (HltCnv *hltcnv) |
void | setEvtRecCnv (EvtRecCnv *evtreccnv) |
void | setRecTrackCnv (RecTrackCnv *rectrackcnv) |
void | setEvtHeaderCnv (EvtHeaderCnv *evtheadercnv) |
void | setEvtNavigatorCnv (EvtNavigatorCnv *evtnavigatorcnv) |
void | setEventCnv (EventCnv *eventCnv) |
RecTrackCnv * | getRecTrackCnv () |
EvtHeaderCnv * | getEvtHeaderCnv () |
EvtNavigatorCnv * | getEvtNavigatorCnv () |
EventCnv * | getEventCnv () |
RootCnvSvc (const std::string &name, ISvcLocator *svc) | |
virtual | ~RootCnvSvc () |
Friends | |
class | SvcFactory< RootCnvSvc > |
Root Event Conversion Service which coordinates all of our converters.
When a component requests an item not yet available on the TDS, the RootcnvSvc is called to find the appropriiate converter to gain access to the data and put it on the TDS. Based on SICb service written by Markus Frank. If an item is mentioned in the jobOptions as one to be written out, it will be converted from TDS to ROOT by the appropriate converter
Based on the RootCnvSvc of GLast.
Definition at line 41 of file RootCnvSvc.h.
RootCnvSvc::RootCnvSvc | ( | const std::string & | name, |
ISvcLocator * | svc ) |
Definition at line 101 of file RootCnvSvc.cxx.
|
inlinevirtual |
Definition at line 182 of file RootCnvSvc.h.
|
virtual |
Commit pending output (fill the TTrees).
Definition at line 402 of file RootCnvSvc.cxx.
|
virtual |
Definition at line 440 of file RootCnvSvc.cxx.
|
virtual |
create address containing ROOT treename, branchname, entry number
Definition at line 377 of file RootCnvSvc.cxx.
Referenced by RootEventBaseCnv::createRep(), and updateServiceState().
|
virtual |
Definition at line 483 of file RootCnvSvc.cxx.
|
virtual |
Associates a path on TDS with a particular converter.
Definition at line 302 of file RootCnvSvc.cxx.
|
virtual |
Definition at line 203 of file RootCnvSvc.cxx.
|
inline |
Definition at line 154 of file RootCnvSvc.h.
Referenced by EmcDigiCnv::DataObjectToTObject(), LumiDigiCnv::DataObjectToTObject(), MdcDigiCnv::DataObjectToTObject(), MucDigiCnv::DataObjectToTObject(), and TofDigiCnv::DataObjectToTObject().
|
inline |
Definition at line 155 of file RootCnvSvc.h.
Referenced by EmcTrackCnv::DataObjectToTObject(), ExtTrackCnv::DataObjectToTObject(), MdcDedxCnv::DataObjectToTObject(), MdcKalTrackCnv::DataObjectToTObject(), MdcTrackCnv::DataObjectToTObject(), MucTrackCnv::DataObjectToTObject(), and TofTrackCnv::DataObjectToTObject().
|
inline |
Definition at line 176 of file RootCnvSvc.h.
|
inline |
Definition at line 174 of file RootCnvSvc.h.
|
inline |
Definition at line 175 of file RootCnvSvc.h.
|
inline |
Definition at line 159 of file RootCnvSvc.h.
Referenced by EvtRecDTagCnv::DataObjectToTObject(), EvtRecEtaToGGCnv::DataObjectToTObject(), EvtRecEventCnv::DataObjectToTObject(), EvtRecPi0Cnv::DataObjectToTObject(), EvtRecPrimaryVertexCnv::DataObjectToTObject(), EvtRecTrackCnv::DataObjectToTObject(), and EvtRecVeeVertexCnv::DataObjectToTObject().
|
inline |
Definition at line 158 of file RootCnvSvc.h.
Referenced by DstHltInfCnv::DataObjectToTObject(), HltInfCnv::DataObjectToTObject(), and HltRawCnv::DataObjectToTObject().
|
inline |
Definition at line 156 of file RootCnvSvc.h.
Referenced by EmcMcHitCnv::DataObjectToTObject(), McParticleCnv::DataObjectToTObject(), MdcMcHitCnv::DataObjectToTObject(), MucMcHitCnv::DataObjectToTObject(), and TofMcHitCnv::DataObjectToTObject().
|
inline |
Definition at line 173 of file RootCnvSvc.h.
Referenced by RecEmcClusterCnv::DataObjectToTObject(), RecEmcHitCnv::DataObjectToTObject(), RecEmcShowerCnv::DataObjectToTObject(), RecEvTimeCnv::DataObjectToTObject(), RecExtTrackCnv::DataObjectToTObject(), RecMdcDedxCnv::DataObjectToTObject(), RecMdcDedxHitCnv::DataObjectToTObject(), RecMdcHitCnv::DataObjectToTObject(), RecMdcKalHelixSegCnv::DataObjectToTObject(), RecMdcKalTrackCnv::DataObjectToTObject(), RecMdcTrackCnv::DataObjectToTObject(), RecMucTrackCnv::DataObjectToTObject(), RecTofTrackCnv::DataObjectToTObject(), and RecZddChannelCnv::DataObjectToTObject().
|
inline |
Definition at line 127 of file RootCnvSvc.h.
|
inline |
Definition at line 157 of file RootCnvSvc.h.
Referenced by TrigDataCnv::DataObjectToTObject().
|
virtual |
Definition at line 145 of file RootCnvSvc.cxx.
|
virtual |
Override inherited queryInterface due to enhanced interface.
Definition at line 364 of file RootCnvSvc.cxx.
|
inline |
Definition at line 161 of file RootCnvSvc.h.
Referenced by DigiCnv::initialize().
|
inline |
Definition at line 162 of file RootCnvSvc.h.
Referenced by DstCnv::initialize().
|
inline |
Definition at line 170 of file RootCnvSvc.h.
|
inline |
Definition at line 168 of file RootCnvSvc.h.
Referenced by EvtHeaderCnv::initialize().
|
inline |
Definition at line 169 of file RootCnvSvc.h.
Referenced by EvtNavigatorCnv::initialize().
|
inline |
Definition at line 166 of file RootCnvSvc.h.
Referenced by EvtRecCnv::initialize().
|
inline |
Definition at line 165 of file RootCnvSvc.h.
Referenced by HltCnv::initialize().
|
inline |
|
inline |
Definition at line 167 of file RootCnvSvc.h.
Referenced by RecTrackCnv::initialize().
|
inline |
Definition at line 164 of file RootCnvSvc.h.
Referenced by TrigCnv::initialize().
|
virtual |
Update state of the service.
Definition at line 317 of file RootCnvSvc.cxx.
|
friend |
Definition at line 41 of file RootCnvSvc.h.