#include <G4LatticeManager.hh>
Definition at line 48 of file G4LatticeManager.hh.
void G4LatticeManager::Clear |
( |
| ) |
|
|
protected |
Definition at line 80 of file G4LatticeManager.cc.
LatticeVolMap fPLatticeList
LatticeMatMap fLLatticeList
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 "
const G4String & GetName() const
G4GLOB_DLL std::ostream G4cout
LatticeMatMap fLLatticeList
G4GLOB_DLL std::ostream G4cerr
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
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 "
const G4String & GetName() const
G4GLOB_DLL std::ostream G4cout
G4bool RegisterLattice(G4VPhysicalVolume *, G4LatticePhysical *)
G4GLOB_DLL std::ostream G4cerr
Definition at line 145 of file G4LatticeManager.cc.
148 G4cout <<
"G4LatticeManager::LoadLattice volume " << Vol->
GetName()
149 <<
" " << latDir <<
G4endl;
156 if (!lLattice)
return 0;
G4Material * GetMaterial() const
G4GLOB_DLL std::ostream G4cout
const G4String & GetName() const
G4LatticeLogical * LoadLattice(G4Material *, const G4String &latDir)
const G4RotationMatrix * GetFrameRotation() const
G4LogicalVolume * GetLogicalVolume() const
G4bool RegisterLattice(G4VPhysicalVolume *, G4LatticePhysical *)
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
static constexpr double m
G4LatticeLogical * GetLattice(G4Material *) const
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
G4ThreeVector MapKtoVDir(G4int, G4ThreeVector) const
G4LatticeLogical * GetLattice(G4Material *) const
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
Definition at line 195 of file G4LatticeManager.cc.
197 if (!Vol || !LLat)
return false;
G4Material * GetMaterial() const
const G4RotationMatrix * GetFrameRotation() const
G4LogicalVolume * GetLogicalVolume() const
G4bool RegisterLattice(G4VPhysicalVolume *, G4LatticePhysical *)
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
void G4LatticeManager::Reset |
( |
| ) |
|
void G4LatticeManager::SetVerboseLevel |
( |
G4int |
vb | ) |
|
|
inline |
G4int G4LatticeManager::verboseLevel |
|
protected |
The documentation for this class was generated from the following files: