Go to the source code of this file.
int makeTCands |
( |
TString |
base = "dsdsj20k.evt" , |
|
|
int |
nevts = 10 |
|
) |
| |
Definition at line 10 of file makeTCands.C.
References basiclibs(), ctime, Double_t, gDebug, infile(), outfile, printf(), rtime, timer, and TString.
17 gROOT->LoadMacro(
"$VMCWORKDIR/gconfig/basiclibs.C");
21 gSystem->Load(
"libGeoBase");
22 gSystem->Load(
"libParBase");
23 gSystem->Load(
"libBase");
24 gSystem->Load(
"libPndData");
25 gSystem->Load(
"libField");
26 gSystem->Load(
"libPassive");
27 gSystem->Load(
"libGen");
28 gSystem->Load(
"libEmc");
29 gSystem->Load(
"libgenfit");
30 gSystem->Load(
"libtpc");
31 gSystem->Load(
"libtpcreco");
32 gSystem->Load(
"libtrackrep");
37 gSystem->Load(
"libanatask");
39 gSystem->Load(
"libRho");
47 FairRunAna *fRunA=
new FairRunAna();
48 fRunA->SetInputFile(infile);
49 fRunA->SetOutputFile(outfile.Data());
52 PndStoreTCands *tcandTask=
new PndStoreTCands();
53 fRunA->AddTask(tcandTask);
59 if (nevts==0) nevts=10;
66 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")