6#include "GaudiKernel/ConversionSvc.h"
7#include "GaudiKernel/DataObject.h"
41class GAUDI_API
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)
55 : path(p), treename(tree), branchname(branch),clid(c){}
58 return path == copy.path &&
59 treename == copy.treename &&
60 branchname == copy.branchname &&
67 StatusCode addConverters ();
70 std::vector<std::string> m_tagInputFile;
78 typedef std::map<std::string, Leaf*> LeafMap;
86 std::vector<std::string> m_difileName;
89 std::string m_dofileName;
99 int m_dcompressionLevel;
102 std::string m_dtreeName;
123 StatusCode initFiles();
129 virtual StatusCode initialize();
131 virtual StatusCode finalize();
133 virtual StatusCode updateServiceState(IOpaqueAddress* pAddress);
136 virtual StatusCode queryInterface(
const InterfaceID& riid,
void** ppvInterface);
139 virtual StatusCode declareObject(
const Leaf& leaf);
142 virtual StatusCode commitOutput(
const std::string&
output,
bool do_commit);
145 virtual StatusCode createAddress(
long int svc_type,
147 const std::string* par,
148 const unsigned long* ip,
149 IOpaqueAddress*& refpAddress);
151 virtual StatusCode createAddress(DataObject *obj, IOpaqueAddress*& refpAddress);
152 virtual StatusCode createAddress(std::string path, IOpaqueAddress*& refpAddress);
180 RootCnvSvc(
const std::string& name, ISvcLocator* svc);
*******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.
void setEvtNavigatorCnv(EvtNavigatorCnv *evtnavigatorcnv)
void setRecTrackCnv(RecTrackCnv *rectrackcnv)
void setDstCnv(DstCnv *dstcnv)
void setEvtHeaderCnv(EvtHeaderCnv *evtheadercnv)
void setDigiCnv(DigiCnv *reccnv)
void setHltCnv(HltCnv *hltcnv)
RootInterface * getRootInterface()
void setTrigCnv(TrigCnv *trigcnv)
RecTrackCnv * getRecTrackCnv()
EvtHeaderCnv * getEvtHeaderCnv()
void setMcCnv(McCnv *mccnv)
EvtNavigatorCnv * getEvtNavigatorCnv()
void setEvtRecCnv(EvtRecCnv *evtreccnv)
EvtRecCnv * getEvtRecCnv()
void setEventCnv(EventCnv *eventCnv)
RootEvtSelector performs the function of controlling the ApplicationMgr loop.
Forward and external declarations.
Concrete converter for the Rec branch.