#include <G4LatticeManager.hh>
Definition at line 48 of file G4LatticeManager.hh.
◆ LatticeLogReg
◆ LatticeMatMap
◆ LatticePhyReg
◆ LatticeVolMap
◆ G4LatticeManager()
G4LatticeManager::G4LatticeManager |
( |
| ) |
|
|
private |
◆ ~G4LatticeManager()
G4LatticeManager::~G4LatticeManager |
( |
| ) |
|
|
privatevirtual |
◆ Clear()
void G4LatticeManager::Clear |
( |
| ) |
|
|
protected |
Definition at line 80 of file G4LatticeManager.cc.
LatticeVolMap fPLatticeList
LatticeMatMap fLLatticeList
◆ GetLattice() [1/2]
Definition at line 210 of file G4LatticeManager.cc.
211 LatticeMatMap::const_iterator latFind =
fLLatticeList.find(Mat);
214 G4cout <<
"G4LatticeManager::GetLattice found " << latFind->second
216 return latFind->second;
220 G4cerr <<
"G4LatticeManager:: Found no matching lattices for "
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
LatticeMatMap fLLatticeList
G4GLOB_DLL std::ostream G4cerr
◆ GetLattice() [2/2]
Definition at line 229 of file G4LatticeManager.cc.
230 LatticeVolMap::const_iterator latFind =
fPLatticeList.find(Vol);
233 G4cout <<
"G4LatticeManager::GetLattice found " << latFind->second
234 <<
" for " << (Vol?Vol->
GetName():
"default") <<
"." <<
G4endl;
235 return latFind->second;
239 G4cerr <<
"G4LatticeManager::GetLattice found no matching lattices for "
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
LatticeVolMap fPLatticeList
G4GLOB_DLL std::ostream G4cerr
◆ GetLatticeManager()
◆ HasLattice() [1/2]
◆ HasLattice() [2/2]
◆ LoadLattice() [1/2]
Definition at line 123 of file G4LatticeManager.cc.
126 G4cout <<
"G4LatticeManager::LoadLattice material " << Mat->
GetName()
127 <<
" " << latDir <<
G4endl;
136 G4cerr <<
"ERROR creating " << latDir <<
" lattice for material "
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
G4bool RegisterLattice(G4VPhysicalVolume *, G4LatticePhysical *)
G4GLOB_DLL std::ostream G4cerr
◆ LoadLattice() [2/2]
Definition at line 145 of file G4LatticeManager.cc.
148 G4cout <<
"G4LatticeManager::LoadLattice volume " << Vol->
GetName()
149 <<
" " << latDir <<
G4endl;
156 if (!lLattice)
return 0;
const G4RotationMatrix * GetFrameRotation() const
G4Material * GetMaterial() const
G4GLOB_DLL std::ostream G4cout
G4LatticeLogical * LoadLattice(G4Material *, const G4String &latDir)
const G4String & GetName() const
G4LogicalVolume * GetLogicalVolume() const
G4bool RegisterLattice(G4VPhysicalVolume *, G4LatticePhysical *)
◆ MapKtoV()
Definition at line 265 of file G4LatticeManager.cc.
270 G4cout <<
"G4LatticeManager::MapKtoV using lattice " << theLattice
274 return theLattice ? theLattice->
MapKtoV(polarizationState, k) : 300.*
m/
s;
G4double MapKtoV(G4int, G4ThreeVector) const
G4GLOB_DLL std::ostream G4cout
G4LatticeLogical * GetLattice(G4Material *) const
◆ MapKtoVDir()
Definition at line 283 of file G4LatticeManager.cc.
288 G4cout <<
"G4LatticeManager::MapKtoVDir using lattice " << theLattice
292 return theLattice ? theLattice->
MapKtoVDir(polarizationState, k) : k.
unit();
G4GLOB_DLL std::ostream G4cout
G4LatticeLogical * GetLattice(G4Material *) const
G4ThreeVector MapKtoVDir(G4int, G4ThreeVector) const
◆ RegisterLattice() [1/3]
Definition at line 172 of file G4LatticeManager.cc.
174 if (!Vol || !Lat)
return false;
187 G4cout <<
"G4LatticeManager::RegisterLattice: " 188 <<
" Total number of physical lattices: " <<
fPLatticeList.size()-1
G4GLOB_DLL std::ostream G4cout
LatticeVolMap fPLatticeList
◆ RegisterLattice() [2/3]
Definition at line 195 of file G4LatticeManager.cc.
197 if (!Vol || !LLat)
return false;
const G4RotationMatrix * GetFrameRotation() const
G4Material * GetMaterial() const
G4LogicalVolume * GetLogicalVolume() const
G4bool RegisterLattice(G4VPhysicalVolume *, G4LatticePhysical *)
◆ RegisterLattice() [3/3]
Definition at line 103 of file G4LatticeManager.cc.
105 if (!Mat || !Lat)
return false;
113 G4cout <<
"G4LatticeManager::RegisterLattice: " 114 <<
" Total number of logical lattices: " <<
fLLatticeList.size()
G4GLOB_DLL std::ostream G4cout
LatticeMatMap fLLatticeList
◆ Reset()
void G4LatticeManager::Reset |
( |
| ) |
|
◆ SetVerboseLevel()
void G4LatticeManager::SetVerboseLevel |
( |
G4int |
vb | ) |
|
|
inline |
◆ fLLatticeList
◆ fLLattices
◆ fLM
◆ fPLatticeList
◆ fPLattices
◆ verboseLevel
G4int G4LatticeManager::verboseLevel |
|
protected |
The documentation for this class was generated from the following files: