Geant4
10.02.p02
|
#include <G4LatticeManager.hh>
Public Member Functions | |
void | SetVerboseLevel (G4int vb) |
void | Reset () |
G4bool | RegisterLattice (G4VPhysicalVolume *, G4LatticePhysical *) |
G4bool | RegisterLattice (G4VPhysicalVolume *, G4LatticeLogical *) |
G4bool | RegisterLattice (G4Material *, G4LatticeLogical *) |
G4LatticeLogical * | LoadLattice (G4Material *, const G4String &latDir) |
G4LatticeLogical * | GetLattice (G4Material *) const |
G4bool | HasLattice (G4Material *) const |
G4LatticePhysical * | LoadLattice (G4VPhysicalVolume *, const G4String &latDir) |
G4LatticePhysical * | GetLattice (G4VPhysicalVolume *) const |
G4bool | HasLattice (G4VPhysicalVolume *) const |
G4double | MapKtoV (G4VPhysicalVolume *, G4int, const G4ThreeVector &) const |
G4ThreeVector | MapKtoVDir (G4VPhysicalVolume *, G4int, const G4ThreeVector &) const |
Static Public Member Functions | |
static G4LatticeManager * | GetLatticeManager () |
Protected Types | |
typedef std::map< G4Material *, G4LatticeLogical * > | LatticeMatMap |
typedef std::set < G4LatticeLogical * > | LatticeLogReg |
typedef std::map < G4VPhysicalVolume *, G4LatticePhysical * > | LatticeVolMap |
typedef std::set < G4LatticePhysical * > | LatticePhyReg |
Protected Member Functions | |
void | Clear () |
Protected Attributes | |
G4int | verboseLevel |
LatticeLogReg | fLLattices |
LatticeMatMap | fLLatticeList |
LatticePhyReg | fPLattices |
LatticeVolMap | fPLatticeList |
Private Member Functions | |
G4LatticeManager () | |
virtual | ~G4LatticeManager () |
Static Private Attributes | |
static G4LatticeManager * | fLM = 0 |
Definition at line 48 of file G4LatticeManager.hh.
|
protected |
Definition at line 90 of file G4LatticeManager.hh.
|
protected |
Definition at line 89 of file G4LatticeManager.hh.
|
protected |
Definition at line 96 of file G4LatticeManager.hh.
|
protected |
Definition at line 95 of file G4LatticeManager.hh.
|
private |
Definition at line 54 of file G4LatticeManager.cc.
References Clear().
Referenced by GetLatticeManager().
|
privatevirtual |
Definition at line 58 of file G4LatticeManager.cc.
References Reset().
|
protected |
Definition at line 80 of file G4LatticeManager.cc.
References fLLatticeList, fLLattices, fPLatticeList, and fPLattices.
Referenced by G4LatticeManager(), and Reset().
G4LatticeLogical * G4LatticeManager::GetLattice | ( | G4Material * | Mat | ) | const |
Definition at line 210 of file G4LatticeManager.cc.
References fLLatticeList, G4cerr, G4cout, G4endl, G4Material::GetName(), and verboseLevel.
Referenced by MapKtoV(), MapKtoVDir(), and G4VPhononProcess::StartTracking().
G4LatticePhysical * G4LatticeManager::GetLattice | ( | G4VPhysicalVolume * | Vol | ) | const |
Definition at line 229 of file G4LatticeManager.cc.
References fPLatticeList, G4cerr, G4cout, G4endl, G4VPhysicalVolume::GetName(), and verboseLevel.
|
static |
Definition at line 90 of file G4LatticeManager.cc.
References fLM, G4LatticeManager(), and G4TemplateAutoLock< M, L, U >::unlock().
Referenced by XPhononStackingAction::ClassifyNewTrack(), XDetectorConstruction::SetupGeometry(), and G4VPhononProcess::StartTracking().
G4bool G4LatticeManager::HasLattice | ( | G4Material * | Mat | ) | const |
Definition at line 255 of file G4LatticeManager.cc.
References fLLatticeList.
G4bool G4LatticeManager::HasLattice | ( | G4VPhysicalVolume * | Vol | ) | const |
Definition at line 249 of file G4LatticeManager.cc.
References fPLatticeList.
G4LatticeLogical * G4LatticeManager::LoadLattice | ( | G4Material * | Mat, |
const G4String & | latDir | ||
) |
Definition at line 123 of file G4LatticeManager.cc.
References G4cerr, G4cout, G4endl, G4Material::GetName(), G4LatticeReader::MakeLattice(), RegisterLattice(), and verboseLevel.
Referenced by LoadLattice(), and XDetectorConstruction::SetupGeometry().
G4LatticePhysical * G4LatticeManager::LoadLattice | ( | G4VPhysicalVolume * | Vol, |
const G4String & | latDir | ||
) |
Definition at line 145 of file G4LatticeManager.cc.
References G4cout, G4endl, G4VPhysicalVolume::GetFrameRotation(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetMaterial(), G4VPhysicalVolume::GetName(), LoadLattice(), RegisterLattice(), and verboseLevel.
G4double G4LatticeManager::MapKtoV | ( | G4VPhysicalVolume * | Vol, |
G4int | polarizationState, | ||
const G4ThreeVector & | k | ||
) | const |
Definition at line 265 of file G4LatticeManager.cc.
References G4cout, G4endl, GetLattice(), m, G4LatticePhysical::MapKtoV(), s, and verboseLevel.
Referenced by XPhononStackingAction::ClassifyNewTrack().
G4ThreeVector G4LatticeManager::MapKtoVDir | ( | G4VPhysicalVolume * | Vol, |
G4int | polarizationState, | ||
const G4ThreeVector & | k | ||
) | const |
Definition at line 283 of file G4LatticeManager.cc.
References G4cout, G4endl, GetLattice(), G4LatticePhysical::MapKtoVDir(), and verboseLevel.
Referenced by XPhononStackingAction::ClassifyNewTrack().
G4bool G4LatticeManager::RegisterLattice | ( | G4VPhysicalVolume * | Vol, |
G4LatticePhysical * | Lat | ||
) |
Definition at line 172 of file G4LatticeManager.cc.
References fPLatticeList, fPLattices, G4cout, G4endl, G4TemplateAutoLock< M, L, U >::unlock(), and verboseLevel.
Referenced by LoadLattice(), RegisterLattice(), and XDetectorConstruction::SetupGeometry().
G4bool G4LatticeManager::RegisterLattice | ( | G4VPhysicalVolume * | Vol, |
G4LatticeLogical * | LLat | ||
) |
Definition at line 195 of file G4LatticeManager.cc.
References G4VPhysicalVolume::GetFrameRotation(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetMaterial(), and RegisterLattice().
G4bool G4LatticeManager::RegisterLattice | ( | G4Material * | Mat, |
G4LatticeLogical * | Lat | ||
) |
Definition at line 103 of file G4LatticeManager.cc.
References fLLatticeList, fLLattices, G4cout, G4endl, G4TemplateAutoLock< M, L, U >::unlock(), and verboseLevel.
void G4LatticeManager::Reset | ( | ) |
Definition at line 64 of file G4LatticeManager.cc.
References Clear(), fLLattices, and fPLattices.
Referenced by ~G4LatticeManager().
|
inline |
Definition at line 55 of file G4LatticeManager.hh.
References verboseLevel.
|
protected |
Definition at line 93 of file G4LatticeManager.hh.
Referenced by Clear(), GetLattice(), HasLattice(), and RegisterLattice().
|
protected |
Definition at line 92 of file G4LatticeManager.hh.
Referenced by Clear(), RegisterLattice(), and Reset().
|
staticprivate |
Definition at line 50 of file G4LatticeManager.hh.
Referenced by GetLatticeManager().
|
protected |
Definition at line 99 of file G4LatticeManager.hh.
Referenced by Clear(), GetLattice(), HasLattice(), and RegisterLattice().
|
protected |
Definition at line 98 of file G4LatticeManager.hh.
Referenced by Clear(), RegisterLattice(), and Reset().
|
protected |
Definition at line 87 of file G4LatticeManager.hh.
Referenced by GetLattice(), LoadLattice(), MapKtoV(), MapKtoVDir(), RegisterLattice(), and SetVerboseLevel().