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