78 GetNavigatorForTracking();
89 CreateTouchableHistoryHandle();
92 for (
G4int i = 0; i<depth; ++i) {
105 for (
int i=0; i<2; ++i) {
106 local[0] = (i==0 ? -1.0 : 1.0) *
GetWidth()/2.;
107 for (
int j=0; j<2; ++j) {
108 local[1] = (j==0 ? -1.0 : 1.0) *
GetHeight()/2.;
109 for (
int k=0; k<2; ++k) {
110 local[2] = (k==0 ? -1.0 : 1.0) *
GetLength()/2.;
114 global[0] = globalPosition.
x();
115 global[1] = globalPosition.
y();
116 global[2] = globalPosition.
z();
128 if(color.size() > 0 &&
129 (isdigit(color.c_str()[0]) || color.c_str()[0] ==
'.')) {
131 if (sscanf(color.c_str(),
"%lf,%lf,%lf",&
red,&green,&
blue) == 3) {
G4LogicalVolume * GetLogicalVolume() const
static constexpr double MeV
virtual G4double GetHeight()=0
void Construct()
the actual implementation constructs the F04ElementField
static G4ThreadLocal G4Navigator * fNavigator
static constexpr double mm
Definition of the F04ElementField class.
G4int GetHistoryDepth() const
G4AffineTransform fGlobal2local
static const G4VisAttributes & GetInvisible()
virtual void SetUserMaxTime(G4double utimeMax)
static constexpr double m
G4LogicalVolume * fVolume
const G4NavigationHistory * GetHistory() const
G4VPhysicalVolume * GetVolume(G4int depth=0) const
void SetWorldVolume(G4VPhysicalVolume *pWorld)
const G4AffineTransform & GetTopTransform() const
void SetVisAttributes(const G4VisAttributes *pVA)
static constexpr double ms
static F04GlobalField * GetObject()
void SetUserLimits(G4UserLimits *pULimits)
void AddElementField(F04ElementField *f)
virtual void SetUserMaxTrackLength(G4double utrakMax)
static G4TransportationManager * GetTransportationManager()
G4UserLimits * fUserLimits
Definition of the F04GlobalField class.
static G4VisAttributes * GetVisAttribute(G4String color)
GetVisAttribute() returns the appropriate G4VisAttributes.
void SetDaughtersInvisible(G4bool=true)
virtual G4double GetLength()=0
G4GLOB_DLL std::ostream G4cout
void SetGlobalPoint(const G4double point[4])
virtual void SetUserMinEkine(G4double uekinMin)
G4int MoveUpHistory(G4int num_levels=1)
virtual G4VPhysicalVolume * LocateGlobalPointAndSetup(const G4ThreeVector &point, const G4ThreeVector *direction=0, const G4bool pRelativeSearch=true, const G4bool ignoreDirection=true)
virtual void SetMaxAllowedStep(G4double ustepMax)
virtual G4double GetWidth()=0
G4VPhysicalVolume * GetWorldVolume() const
F04ElementField(const G4ThreeVector, G4LogicalVolume *)
Constructor.