6#include "GaudiKernel/ConversionSvc.h"
7#include "GaudiKernel/DataObject.h"
40class RootCnvSvc :
virtual public ConversionSvc {
48 class Leaf :
public std::vector<Leaf*> {
54 Leaf(
const std::string& p,
const CLID& c,
const std::string& tree,
const std::string& branch)
58 return path == copy.path &&
67 StatusCode addConverters ();
74 typedef std::map<std::string, Leaf*> LeafMap;
82 std::vector<std::string> m_difileName;
85 std::string m_dofileName;
95 int m_dcompressionLevel;
98 std::string m_dtreeName;
116 StatusCode initFiles();
140 const std::string* par,
141 const unsigned long* ip,
142 IOpaqueAddress*& refpAddress);
144 virtual StatusCode
createAddress(DataObject *obj, IOpaqueAddress*& refpAddress);
145 virtual StatusCode
createAddress(std::string path, IOpaqueAddress*& refpAddress);
*******INTEGER m_nBinMax INTEGER m_NdiMax !No of bins in histogram for cell exploration division $ !Last vertex $ !Last active cell $ !Last cell in buffer $ !No of sampling when dividing cell $ !No of function total $ !Flag for random ceel for $ !Flag for type of for WtMax $ !Flag which decides whether vertices are included in the sampling $ entire domain is hyp !Maximum effective eevents per saves r n generator level $ !Flag for chat level in output
const InterfaceID IID_IRootCnvSvc
Concrete converter for the Rec branch.
Concrete converter for the Dst branch.
Concrete converter for the Event header stored in the TDS /Event Based on the EventCnv of GLAST.
Concrete converter for the EvtNavigator branch.
Concrete converter for the Rec branch.
Concrete converter for the Mc branch.
object regrouping CLID and pathname with treename/branchname
bool operator==(const Leaf ©) const
Leaf(const std::string &p, const CLID &c, const std::string &tree, const std::string &branch)
Root Event Conversion Service which coordinates all of our converters.
virtual StatusCode updateServiceState(IOpaqueAddress *pAddress)
void setEvtNavigatorCnv(EvtNavigatorCnv *evtnavigatorcnv)
virtual StatusCode createAddress(DataObject *obj, IOpaqueAddress *&refpAddress)
void setRecTrackCnv(RecTrackCnv *rectrackcnv)
void setDstCnv(DstCnv *dstcnv)
void setEvtHeaderCnv(EvtHeaderCnv *evtheadercnv)
virtual StatusCode commitOutput(const std::string &output, bool do_commit)
Commit pending output (fill the TTrees).
virtual StatusCode queryInterface(const InterfaceID &riid, void **ppvInterface)
Override inherited queryInterface due to enhanced interface.
void setDigiCnv(DigiCnv *reccnv)
virtual StatusCode initialize()
void setHltCnv(HltCnv *hltcnv)
RootInterface * getRootInterface()
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 declareObject(const Leaf &leaf)
Associates a path on TDS with a particular converter.
void setTrigCnv(TrigCnv *trigcnv)
RecTrackCnv * getRecTrackCnv()
RootCnvSvc(const std::string &name, ISvcLocator *svc)
virtual StatusCode createAddress(std::string path, IOpaqueAddress *&refpAddress)
EvtHeaderCnv * getEvtHeaderCnv()
void setMcCnv(McCnv *mccnv)
EvtNavigatorCnv * getEvtNavigatorCnv()
void setEvtRecCnv(EvtRecCnv *evtreccnv)
EvtRecCnv * getEvtRecCnv()
virtual StatusCode finalize()
void setEventCnv(EventCnv *eventCnv)
RootEvtSelector performs the function of controlling the ApplicationMgr loop.
Forward and external declarations.
Concrete converter for the Rec branch.