StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
macros
Load.C
1
// $Id: Load.C,v 1.23 2016/12/01 15:10:44 jeromel Exp $
2
//=======================================================================
3
// owner: Yuri Fisyak
4
// what it does:
5
//=======================================================================
6
7
void
Load(Char_t *loadList=
"St_base,St_Tables,StChain,StDetectorDbMaker,StBichsel,StEvent,StTpcDb,StUtilities,StDbLib,StDbBroker,St_db_Maker,StTriggerDataMaker,StEventUtilities,StBFChain"
){
8
TString opt(loadList);
9
TString separator =
"[^ ;,]+"
;
10
TObjArray *array = opt.Tokenize(separator);
11
TIter next(array);
12
while
((objs = (TObjString *) next())) {gSystem->Load(objs->GetString());}
13
delete
array;
14
}
Generated by
1.8.5