35 const char* fileType, Double_t BeamMom)
36 :
PndFieldMap(mapName, fileType), fHemiX(0), fHemiY(0),fBeamMom(BeamMom)
44 else if (fBeamMom< 6.0 && fBeamMom >= 3.0)Suffix=
".0406";
45 else if (fBeamMom< 10.0 && fBeamMom >= 6.0 )Suffix=
".0890" ;
46 else if (fBeamMom< 13.0 && fBeamMom >= 10.0)Suffix=
".1191";
47 else if (
fBeamMom> 13.0) Suffix=
".1500";
50 TString NewName=mapName;
51 NewName=mapName+Suffix;
52 SetName(NewName.Data());
53 TString dir = getenv(
"VMCWORKDIR");
55 if ( fileType[0] ==
'R' )
fFileName +=
".root";
79 cerr <<
"-W- PndTransMap::PndTransMap: empty parameter container!"
91 TString dir = getenv(
"VMCWORKDIR");
92 fFileName = dir +
"/input/" + fName +
".root";
108 Double_t
x =point[0];
109 Double_t
y =point[1];
110 Double_t
z =point[2];
118 if (
IsInside(x, y, z, ix, iy, iz, dx, dy, dz) ){
171 Int_t& ix, Int_t& iy, Int_t& iz,
172 Double_t&
dx, Double_t&
dy,
176 Double_t xl = x -
fPosX;
177 Double_t yl = y -
fPosY;
178 Double_t zl = z -
fPosZ;
212 TString MapName=GetName();
216 Bool_t kParameterMerged=kTRUE;