69 string fileName = gSystem->Getenv(
"VMCWORKDIR");
70 fileName +=
"/parameters/rich/radius_correction_map_compact.root";
73 TFile* oldFile = gFile;
74 TDirectory* oldDir = gDirectory;
76 TFile* file =
new TFile(fileName.c_str(),
"READ");
78 if (NULL == file || !file->IsOpen()) {
79 cout <<
" -E- Read correction maps " << endl;
80 cout <<
" -E- Could not open input file " << fileName << endl;
84 cout <<
" -I- Map Correction input file: " << fileName << endl;
89 fhMapAaxisXY = (TH2D*) file->Get(
"fh_mapaxisAXY")->Clone();
90 fhMapBaxisXY = (TH2D*) file->Get(
"fh_mapaxisBXY")->Clone();