15 :
PndFieldMap(), fRegionNo(0), fHemiX(0), fHemiY(0), fBeamMom(0.)
25 const char* fileType, Double_t BeamMom)
26 :
PndFieldMap(mapName, fileType), fRegionNo(0), fHemiX(0), fHemiY(0), fBeamMom(BeamMom)
35 else if (fBeamMom< 6.0 && fBeamMom >= 3.0)Suffix=
".0406";
36 else if (fBeamMom< 10.0 && fBeamMom >= 6.0 )Suffix=
".0890" ;
37 else if (fBeamMom< 13.0 && fBeamMom >= 10.0)Suffix=
".1191";
38 else if (
fBeamMom> 13.0) Suffix=
".1500";
41 TString NewName=mapName;
42 NewName=mapName+Suffix;
43 SetName(NewName.Data());
44 TString dir = getenv(
"VMCWORKDIR");
46 if ( fileType[0] ==
'R' )
fFileName +=
".root";
73 cerr <<
"-W- PndDipoleMap::PndDipoleMap: empty parameter container!"
85 TString dir = getenv(
"VMCWORKDIR");
86 fFileName = dir +
"/input/" + fName +
".root";
103 Double_t
x =point[0];
104 Double_t
y =point[1];
105 Double_t
z =point[2];
113 if (
IsInside(x, y, z, ix, iy, iz, dx, dy, dz) ){
167 Int_t& ix, Int_t& iy, Int_t& iz,
168 Double_t&
dx, Double_t&
dy,
172 Double_t xl = x -
fPosX;
173 Double_t yl = y -
fPosY;
174 Double_t zl = z -
fPosZ;
212 TString MapName=GetName();
213 cout <<
"PndDipoleMap::FillParContainer() " << endl;