Go to the source code of this file.
Definition at line 1 of file testFile.C.
References exit(), f, PndFileNameCreator::GetCustomFileName(), PndFileNameCreator::GetRecoFileName(), PndFileNameCreator::GetSimFileName(), namecreator, rootlogon(), t, and TString.
Referenced by eventdisplay(), eventDisplay(), eventDisplay_llbar(), and mcMatch().
3 gROOT->Macro(
"$VMCWORKDIR/gconfig/rootlogon.C");
25 cout <<
"-------------------------" << endl;
26 cout <<
"WRONG TYPE SELECTION!!!!!" << endl;
27 cout <<
"-------------------------" << endl;
32 TFile *
f =
new TFile(nome_test.Data(),
"READ");
34 TTree *
t = (TTree*) f->Get(
"pndsim");
std::string GetSimFileName(std::string addon="", bool cut=false)
std::string GetRecoFileName(std::string addon="", bool cut=false)
A simple class which adds the corresponding file extensions to a given base class.
std::string GetCustomFileName(std::string ext, std::string addon="", bool cut=false)
PndFileNameCreator namecreator("../data/Lars/MvdDtsSim.root")