10 hcalLightMap(
const char* fname,
const char* title=
"Light collection efficiency map");
11 Double_t
Data(Double_t x, Double_t y)
12 {Int_t n=
GetNum(x,y);
if (n<0)
return n;
return fData[n];}
15 Double_t lx=x+0.5; Double_t ly=y+0.5;
16 if (lx<0) lx=0;
if (ly<0) ly=0;
17 if (lx>1) lx=1;
if (ly>1) ly=1;
18 Int_t ix=(Int_t)(lx/
fSSide);
19 Int_t iy=(Int_t)(ly/
fSSide);
25 void Init(
const char* filename);
Int_t GetNum(Double_t x, Double_t y)
Double_t Data(Double_t x, Double_t y)
hcalLightMap & operator=(const hcalLightMap &)
void Init(const char *filename)
hcalLightMap(const hcalLightMap &)