16         gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
 
   24         TFile *geo = 
new TFile(geomFile);
 
   26         TGeoManager *myGeo = geo->Get(
"FAIRGeom");
 
   33         TFile *
f = 
new TFile(LinFile);
 
   35         TTree *
t=(TTree *) f->Get(
"pndsim") ;
 
   37         TClonesArray* tr_array=
new TClonesArray(
"PndLinTrack");
 
   38         t->SetBranchAddress(
"MVDTrack",&tr_array);
 
   40         cout << 
"Events: " << t->GetEntries() << endl;
 
   42         for (Int_t j = 0 ; j < t->GetEntries() ; j++) 
 
   48             cout << 
"Event " << j << 
" Entries " << tr_array->GetEntries() << endl;
 
   50             for (Int_t 
y = 0 ; 
y < tr_array->GetEntries() ; 
y++) 
 
   55                 std::vector<TString> names = line->GetSens();
 
   57                 Int_t siz = names.size();
 
   59                 cout << 
" Hit " << 
y << 
" size " << siz << endl;
 
   61                 for (Int_t 
p = 0 ; 
p < siz ; 
p++)
 
int ReadLines(TString LinFile, TString MCFile)
TString GetPath(Int_t shortID)
for a given shortID the path is returned 
Class to access the naming information of the MVD.