17 void t0_single(TString filename,
char* t0,
char* gas,
float mbfield)
21 cout<<
"Starting t0_single.C:"<<endl;
22 cout<<
" filename = "<<filename<<
".root"<<endl;
23 cout<<
" t0 = "<<t0<<endl;
24 cout<<
" gas = "<<gas<<endl;
25 cout<<
" mbfield = "<<mbfield<<endl;
28 if (gClassTable->GetID(
"TTable") < 0) gSystem->Load(
"libStar");
29 gSystem->Load(
"St_base");
30 gSystem->Load(
"StChain");
31 gSystem->Load(
"St_Tables");
32 gSystem->Load(
"StUtilities");
33 gSystem->Load(
"StarMagField");
34 gSystem->Load(
"StMagF");
35 gSystem->Load(
"StDetectorDbMaker.so");
36 gSystem->Load(
"StDbLib");
37 gSystem->Load(
"StDbBroker");
38 gSystem->Load(
"St_db_Maker");
39 gSystem->Load(
"StarClassLibrary");
40 gSystem->Load(
"StDbUtilities");
41 gSystem->Load(
"StFtpcCalibMaker");
42 gSystem->Load(
"libftpc_Tables");
43 gSystem->Load(
"StFtpcClusterMaker");
44 gSystem->Load(
"StMagF");
47 const char *mysqlDB =
"MySQL:StarDb";
48 const char *paramsDB =
"$STAR/StarDb";
52 laser->GetRunInfo(filename);
53 cout<<
" date = "<<laser->Date()<<
" time = "<<laser->Time()<<endl;
56 dbMk->SetDateTime(laser->Date(),laser->Time());
61 cout<<
"dbDate = "<<dbMk->GetDateTime().GetDate()<<endl;
62 cout<<
"After Database init !!!"<<endl;
70 laser->
DoT0Calib(filename,t0,gas,mbfield);
virtual Int_t DbInit(float mbfield)
The FTPC calibration maker.
void DoT0Calib(TString filename, char *t0, char *gas, float mbfield)