Professional Documents
Culture Documents
Root Data Bases Access: LCG Data Base Deployment Workshop 11 October
Root Data Bases Access: LCG Data Base Deployment Workshop 11 October
René Brun
CERN
ntuple->Branch("main",&mytest,"px/D:py/F:pz:random:i/I:c/B");
ntuple->Branch("string",(void*)str,"str/C");
MySQL:
TSQLServer*dbserver = TSQLServer::Connect("mysql://…”,db,user,passwd);
TTree *tree = new TTreeSQL(dbserver,"rootDev","ntuple");
Coming:
TTree *tree = TTree::Open(“root:/simple.root/ntuple”);
TTree *tree = TTree::Open(“mysql://host../rootDev/ntuple”);
T
either by using additional ‘linked’ tables RO
O
e
either by using ‘blob’ data field th
re
fo
be
lan
P
IO Manager Oracle
GeoInterface Run Manager
RunTime Configuration,
Module DataBase Parameters,
Magnetic Primary Geometry
Field Generator
Detector
Tasks EVGEN Root files
Configuration,
Parameters,
Geometry
Delta digitizers Tracking
genio->readFromLoadingTable(par,RunId);
par->print();
par->printParams();