FairRoot/PandaRoot
Functions | Variables
anamaterial.C File Reference

Go to the source code of this file.

Functions

gROOT ProcessLine (".x ../Libs.C")
 
timer Start ()
 
t SetBranchAddress ("MCTrack",&mc_array)
 

Variables

bool verbose = false
 
TStopwatch timer
 
PndFileNameCreator namecreator ("/home/ralfk/MVD/mvdmacros/data/mvdevalg4.root")
 
std::string inFile = namecreator.GetSimFileName(false)
 
TFile * f = new TFile(inFile.c_str())
 
TTree * t =(TTree *) f->Get("pndsim")
 
TClonesArray * mc_array =new TClonesArray("PndMCTrack")
 
TGeoManager * geoMan = (TGeoManager*) gDirectory->Get("FAIRGeom")
 
Double_t rtime = timer.RealTime()
 
Double_t ctime = timer.CpuTime()
 

Function Documentation

gROOT ProcessLine ( ".x ../Libs.C )
t SetBranchAddress ( "MCTrack"  ,
mc_array 
)
timer Start ( )

Variable Documentation

Double_t ctime = timer.CpuTime()

Definition at line 46 of file anamaterial.C.

TFile* f = new TFile(inFile.c_str())

Definition at line 15 of file anamaterial.C.

TGeoManager* geoMan = (TGeoManager*) gDirectory->Get("FAIRGeom")

Definition at line 24 of file anamaterial.C.

std::string inFile = namecreator.GetSimFileName(false)

Definition at line 13 of file anamaterial.C.

TClonesArray* mc_array =new TClonesArray("PndMCTrack")

Definition at line 21 of file anamaterial.C.

PndFileNameCreator namecreator("/home/ralfk/MVD/mvdmacros/data/mvdevalg4.root")
Double_t rtime = timer.RealTime()

Definition at line 45 of file anamaterial.C.

TTree* t =(TTree *) f->Get("pndsim")

Definition at line 16 of file anamaterial.C.

TStopwatch timer

Definition at line 8 of file anamaterial.C.

bool verbose = false

Definition at line 4 of file anamaterial.C.