Go to the source code of this file.
int writeMicro_Geo2 |
( |
TString |
base = "Hit_hypIdReco" , |
|
|
int |
nevts = 0 , |
|
|
TString |
outfile = "" |
|
) |
| |
Definition at line 10 of file writeMicro_Geo2_Bg.C.
References ctime, Double_t, gDebug, infile(), outfile, printf(), RecoFile, rootlogon(), rtime, timer, and TString.
20 gROOT->LoadMacro(
"$VMCWORKDIR/gconfig/rootlogon.C");
24 gSystem->Load(
"librazhyp");
25 gSystem->Load(
"libHyp");
43 if (
outfile==
"")
outfile=
"../Alicia/MicroSimpleG4Bup1TXm_Geo2.root";
66 FairRunAna *fRunA=
new FairRunAna();
67 fRunA->SetInputFile(infile);
68 fRunA->AddFriend(RecoFile);
70 fRunA->SetOutputFile(
outfile.Data());
85 fRunA->AddTask(tcandTask);
101 printf(
"RealTime=%f seconds, CpuTime=%f seconds\n",rtime,ctime);
printf("RealTime=%f seconds, CpuTime=%f seconds\n", rtime, ctime)
TFile infile("dedx_out.root","READ")