Go to the source code of this file.
Definition at line 12 of file writeMicro.C.
References ctime, Double_t, gDebug, infile(), outfile, printf(), rootlogon(), rtime, timer, and TString.
19 gROOT->LoadMacro(
"$VMCWORKDIR/gconfig/rootlogon.C");
21 gSystem->Load(
"libAnalysisTools");
22 gSystem->Load(
"libRho");
30 FairRunAna *fRunA=
new FairRunAna();
31 fRunA->SetInputFile(infile);
32 fRunA->AddFriend(simfile);
33 fRunA->SetOutputFile(
outfile.Data());
36 PndMicroWriter *tcandTask=
new PndMicroWriter();
37 fRunA->AddTask(tcandTask);
43 if (nevts==0) nevts=10;
50 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")