10 #ifndef CBM_RICH_RADIUS_CORRECTION
11 #define CBM_RICH_RADIUS_CORRECTION
14 #include "TDirectory.h"
65 string fileName = gSystem->Getenv(
"VMCWORKDIR");
66 fileName +=
"/parameters/rich/radius_correction_map_compact.root";
68 TDirectory* current = gDirectory;
69 TFile* file =
new TFile(fileName.c_str(),
"READ");
71 if (NULL == file || !file->IsOpen()) {
72 cout <<
" -E- Read correction maps " << endl;
73 cout <<
" -E- Could not open input file " << fileName << endl;
76 cout <<
" -I- Map Correction input file: " << fileName << endl;
81 fhMapAaxisXY = (TH2D*) file->Get(
"fh_mapaxisAXY")->Clone();
82 fhMapBaxisXY = (TH2D*) file->Get(
"fh_mapaxisBXY")->Clone();