Geant4.10
|
#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 |
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.
|
protected |
Definition at line 74 of file G4LatticeManager.cc.
References fLLatticeList, fLLattices, fPLatticeList, and fPLattices.
Referenced by Reset().
G4LatticeLogical * G4LatticeManager::GetLattice | ( | G4Material * | Mat | ) | const |
Definition at line 195 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 215 of file G4LatticeManager.cc.
References fPLatticeList, G4cerr, G4cout, G4endl, G4VPhysicalVolume::GetName(), and verboseLevel.
|
static |
Definition at line 84 of file G4LatticeManager.cc.
Referenced by XPhononStackingAction::ClassifyNewTrack(), and G4VPhononProcess::StartTracking().
G4bool G4LatticeManager::HasLattice | ( | G4Material * | Mat | ) | const |
G4bool G4LatticeManager::HasLattice | ( | G4VPhysicalVolume * | Vol | ) | const |
G4LatticeLogical * G4LatticeManager::LoadLattice | ( | G4Material * | Mat, |
const G4String & | latDir | ||
) |
Definition at line 112 of file G4LatticeManager.cc.
References G4cerr, G4cout, G4endl, G4Material::GetName(), G4LatticeReader::MakeLattice(), RegisterLattice(), and verboseLevel.
Referenced by LoadLattice().
G4LatticePhysical * G4LatticeManager::LoadLattice | ( | G4VPhysicalVolume * | Vol, |
const G4String & | latDir | ||
) |
Definition at line 134 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 251 of file G4LatticeManager.cc.
References G4cout, G4endl, GetLattice(), python.hepunit::m, G4LatticePhysical::MapKtoV(), and verboseLevel.
Referenced by XPhononStackingAction::ClassifyNewTrack().
G4ThreeVector G4LatticeManager::MapKtoVDir | ( | G4VPhysicalVolume * | Vol, |
G4int | polarizationState, | ||
const G4ThreeVector & | k | ||
) | const |
Definition at line 269 of file G4LatticeManager.cc.
References G4cout, G4endl, GetLattice(), G4LatticePhysical::MapKtoVDir(), CLHEP::Hep3Vector::unit(), and verboseLevel.
Referenced by XPhononStackingAction::ClassifyNewTrack().
G4bool G4LatticeManager::RegisterLattice | ( | G4VPhysicalVolume * | Vol, |
G4LatticePhysical * | Lat | ||
) |
Definition at line 161 of file G4LatticeManager.cc.
References fPLatticeList, fPLattices, G4cout, G4endl, and verboseLevel.
Referenced by LoadLattice(), and RegisterLattice().
G4bool G4LatticeManager::RegisterLattice | ( | G4VPhysicalVolume * | Vol, |
G4LatticeLogical * | LLat | ||
) |
Definition at line 180 of file G4LatticeManager.cc.
References G4VPhysicalVolume::GetFrameRotation(), G4VPhysicalVolume::GetLogicalVolume(), G4LogicalVolume::GetMaterial(), and RegisterLattice().
G4bool G4LatticeManager::RegisterLattice | ( | G4Material * | Mat, |
G4LatticeLogical * | Lat | ||
) |
Definition at line 94 of file G4LatticeManager.cc.
References fLLatticeList, fLLattices, G4cout, G4endl, and verboseLevel.
void G4LatticeManager::Reset | ( | ) |
|
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().
|
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().