#include <XLogicalLattice.hh>
|
| XLogicalLattice () |
|
| ~XLogicalLattice () |
|
void | SetDynamicalConstants (double, double, double, double) |
|
void | SetScatteringConstant (G4double) |
|
void | SetAnhDecConstant (G4double) |
|
void | SetLDOS (double) |
|
void | SetSTDOS (double) |
|
void | SetFTDOS (double) |
|
double | GetBeta () |
|
double | GetGamma () |
|
double | GetLambda () |
|
double | GetMu () |
|
G4double | GetScatteringConstant () |
|
G4double | GetAnhDecConstant () |
|
double | GetLDOS () |
|
double | GetSTDOS () |
|
double | GetFTDOS () |
|
bool | LoadMap (int, int, int, string) |
|
bool | Load_NMap (int, int, int, string) |
|
double | MapKtoV (int, G4ThreeVector) |
|
G4ThreeVector | MapKtoVDir (int, G4ThreeVector) |
|
Definition at line 43 of file XLogicalLattice.hh.
XLogicalLattice::XLogicalLattice |
( |
| ) |
|
XLogicalLattice::~XLogicalLattice |
( |
| ) |
|
G4double XLogicalLattice::GetAnhDecConstant |
( |
| ) |
|
double XLogicalLattice::GetBeta |
( |
| ) |
|
double XLogicalLattice::GetFTDOS |
( |
| ) |
|
double XLogicalLattice::GetGamma |
( |
| ) |
|
double XLogicalLattice::GetLambda |
( |
| ) |
|
double XLogicalLattice::GetLDOS |
( |
| ) |
|
double XLogicalLattice::GetMu |
( |
| ) |
|
G4double XLogicalLattice::GetScatteringConstant |
( |
| ) |
|
double XLogicalLattice::GetSTDOS |
( |
| ) |
|
bool XLogicalLattice::Load_NMap |
( |
int |
tRes, |
|
|
int |
pRes, |
|
|
int |
polarizationState, |
|
|
string |
m |
|
) |
| |
Definition at line 230 of file XLogicalLattice.cc.
236 G4cout<<
"\nk-V map exceeds maximum resolution of "<<
MAXRES<<
237 " by "<<
MAXRES<<
" terminating."<<endl;
246 fMapFile.open(
m.data());
247 if(!fMapFile.is_open())
return false;
249 for(
int theta = 0; theta<fThetaRes; theta++){
250 for(
int phi = 0; phi<fPhiRes; phi++){
251 for(
int coord = 0; coord<3; coord++){
252 fMapFile>>fN_map[polarizationState][theta][phi][coord];
258 G4cout<<
"\nXLogicalLattice::Load_NMap() sucessful"<<endl;
G4GLOB_DLL std::ostream G4cout
static constexpr double m
bool XLogicalLattice::LoadMap |
( |
int |
tRes, |
|
|
int |
pRes, |
|
|
int |
polarizationState, |
|
|
string |
m |
|
) |
| |
Definition at line 193 of file XLogicalLattice.cc.
199 G4cout<<
"\nk-V fMap exceeds maximum resolution of "<<
MAXRES<<
200 " by "<<
MAXRES<<
". terminating."<<endl;
209 fMapFile.open(
m.data());
210 if(!fMapFile.is_open())
return false;
212 for(
int theta = 0; theta<fThetaRes; theta++){
213 for(
int phi = 0; phi<fPhiRes; phi++){
214 fMapFile>>fMap[polarizationState][theta][phi];
218 G4cout<<
"\nXLogicalLattice::LoadMap() sucessful (Vg scalars)."<<endl;
G4GLOB_DLL std::ostream G4cout
static constexpr double m
Definition at line 268 of file XLogicalLattice.cc.
274 double theta, phi, tRes, pRes;
276 tRes=
pi/(fVresTheta);
277 pRes=2*
pi/(fVresPhi);
283 if(phi<0) phi = phi + 2*
pi;
284 if(theta>pi) theta=theta-
pi;
286 if(fMap[polarizationState][
int(theta/tRes)][
int(phi/pRes)]==0){
287 G4cout<<
"\nFound v=0 for polarization "<<polarizationState
288 <<
" theta "<<theta<<
" phi "<<phi<<
" translating to map coords "
289 <<
"theta "<<
int(theta/tRes) <<
" phi " <<
int(phi/pRes)<<endl;
292 return fMap[polarizationState][
int(theta/tRes)][
int(phi/pRes)];
G4GLOB_DLL std::ostream G4cout
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
static constexpr double pi
Definition at line 299 of file XLogicalLattice.cc.
305 double theta, phi, tRes, pRes;
307 tRes=
pi/(fDresTheta-1);
308 pRes=2*
pi/(fDresPhi-1);
313 if(theta>
pi) theta=theta-
pi;
315 if(phi<0) phi = phi + 2*
pi;
322 fN_map[polarizationState][iTheta][iPhi][1],
323 fN_map[polarizationState][iTheta][iPhi][2]);
typedef int(XMLCALL *XML_NotStandaloneHandler)(void *userData)
static constexpr double pi
void XLogicalLattice::SetDynamicalConstants |
( |
double |
Beta, |
|
|
double |
Gamma, |
|
|
double |
Lambda, |
|
|
double |
Mu |
|
) |
| |
void XLogicalLattice::SetFTDOS |
( |
double |
FTDOS | ) |
|
void XLogicalLattice::SetLDOS |
( |
double |
LDOS | ) |
|
void XLogicalLattice::SetSTDOS |
( |
double |
STDOS | ) |
|
The documentation for this class was generated from the following files:
- source/geant4.10.03.p03/examples/extended/exoticphysics/channeling/include/XLogicalLattice.hh
- source/geant4.10.03.p03/examples/extended/exoticphysics/channeling/src/XLogicalLattice.cc