Go to the source code of this file.
      
        
          | int ana_fast | ( | TString | infile = "dsdsj_20k.evt.root", | 
        
          |  |  | int | nevts = 0, | 
        
          |  |  | TString | outfile = "ana.root" | 
        
          |  | ) |  |  | 
      
 
Definition at line 10 of file ana_fast.C.
References basiclibs(), ctime, Double_t, gDebug, infile(), outfile, printf(), rtime, and timer.
   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(
"libGen");
 
   26   gSystem->Load(
"libRho");
 
   27   gSystem->Load(
"libfsim");
 
   34   FairRunAna *fRunA= 
new FairRunAna();
 
   35   fRunA->SetInputFile(
infile);
 
   40   fRunA->AddTask(anaTask);
 
   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")