forked from star-bnl/star-sw
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathrootlogon.C
More file actions
34 lines (31 loc) · 1.74 KB
/
rootlogon.C
File metadata and controls
34 lines (31 loc) · 1.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
gSystem->Load("libStarClassLibrary");
gSystem->Load("libGeom");
gSystem->Load("libTable");
gSystem->Load("libPhysics");
gSystem->Load("libEG");
gSystem->Load("libStarRoot");
if (gSystem->GetLibraries("*libTable*"))
{
gInterpreter->ProcessLine("typedef TCL StCL;");
gInterpreter->ProcessLine("typedef TDataSet St_DataSet ;");
gInterpreter->ProcessLine("typedef TDataSetIter St_DataSetIter;");
gInterpreter->ProcessLine("typedef TFileSet St_FileSet;");
gInterpreter->ProcessLine("typedef TVolume St_Node;");
gInterpreter->ProcessLine("typedef TVolumePosition St_NodePosition;");
gInterpreter->ProcessLine("typedef TVolumeView St_NodeView;");
gInterpreter->ProcessLine("typedef TVolumeViewIter St_NodeViewIter;");
gInterpreter->ProcessLine("typedef TObjectSet St_ObjectSet;");
gInterpreter->ProcessLine("typedef TPoints3D St_Points3D;");
gInterpreter->ProcessLine("typedef TPointsArray3D St_PointsArray3D;");
gInterpreter->ProcessLine("typedef TPolyLineShape St_PolyLineShape;");
gInterpreter->ProcessLine("typedef TTable St_Table;");
gInterpreter->ProcessLine("typedef TTable3Points St_Table3Points;");
gInterpreter->ProcessLine("typedef TTableIter St_TableIter;");
gInterpreter->ProcessLine("typedef TTablePoints St_TablePoints;");
gInterpreter->ProcessLine("typedef TTableSorter St_TableSorter;");
gInterpreter->ProcessLine("typedef TTableDescriptor St_tableDescriptor;");
}
std::cout << " *** Start at Date : " << TDatime().AsString() << std::endl;
gSystem->AddIncludePath(" -I. -I./.$STAR_HOST_SYS/include -I./StRoot -I$STAR/.$STAR_HOST_SYS/include -I$STAR/StRoot -I/usr/include/mysql");
}