Geant4  10.00.p02
G4ScoringBox Class Reference

#include <G4ScoringBox.hh>

+ Inheritance diagram for G4ScoringBox:
+ Collaboration diagram for G4ScoringBox:

Public Member Functions

 G4ScoringBox (G4String wName)
 
 ~G4ScoringBox ()
 
virtual void Construct (G4VPhysicalVolume *fWorldPhys)
 
void List () const
 
void Draw (std::map< G4int, G4double * > *map, G4VScoreColorMap *colorMap, G4int axflg=111)
 
void DrawColumn (std::map< G4int, G4double * > *map, G4VScoreColorMap *colorMap, G4int idxProj, G4int idxColumn)
 
void SetSegmentDirection (G4int dir)
 
- Public Member Functions inherited from G4VScoringMesh
 G4VScoringMesh (const G4String &wName)
 
virtual ~G4VScoringMesh ()
 
virtual void WorkerConstruct (G4VPhysicalVolume *fWorldPhys)
 
const G4StringGetWorldName () const
 
G4bool IsActive () const
 
void Activate (G4bool vl=true)
 
MeshShape GetShape () const
 
void Accumulate (G4THitsMap< G4double > *map)
 
void Merge (const G4VScoringMesh *scMesh)
 
void Dump ()
 
void DrawMesh (const G4String &psName, G4VScoreColorMap *colorMap, G4int axflg=111)
 
void DrawMesh (const G4String &psName, G4int idxPlane, G4int iColumn, G4VScoreColorMap *colorMap)
 
void ResetScore ()
 
void SetSize (G4double size[3])
 
G4ThreeVector GetSize () const
 
void SetCenterPosition (G4double centerPosition[3])
 
G4ThreeVector GetTranslation () const
 
void RotateX (G4double delta)
 
void RotateY (G4double delta)
 
void RotateZ (G4double delta)
 
G4RotationMatrix GetRotationMatrix () const
 
void SetNumberOfSegments (G4int nSegment[3])
 
void GetNumberOfSegments (G4int nSegment[3])
 
void SetPrimitiveScorer (G4VPrimitiveScorer *ps)
 
void SetFilter (G4VSDFilter *filter)
 
void SetCurrentPrimitiveScorer (const G4String &name)
 
G4bool FindPrimitiveScorer (const G4String &psname)
 
G4bool IsCurrentPrimitiveScorerNull ()
 
G4String GetPSUnit (const G4String &psname)
 
G4String GetCurrentPSUnit ()
 
void SetCurrentPSUnit (const G4String &unit)
 
G4double GetPSUnitValue (const G4String &psname)
 
void SetDrawPSName (const G4String &psname)
 
void GetDivisionAxisNames (G4String divisionAxisNames[3])
 
void SetNullToCurrentPrimitiveScorer ()
 
void SetVerboseLevel (G4int vl)
 
MeshScoreMap GetScoreMap () const
 
G4bool ReadyForQuantity () const
 
void SetMeshElementLogical (G4LogicalVolume *val)
 
G4LogicalVolumeGetMeshElementLogical () const
 

Private Member Functions

void SetupGeometry (G4VPhysicalVolume *fWorldPhys)
 
G4ThreeVector GetReplicaPosition (G4int x, G4int y, G4int z)
 
void GetXYZ (G4int index, G4int q[3]) const
 
G4int GetIndex (G4int x, G4int y, G4int z) const
 

Private Attributes

G4int fSegmentDirection
 

Additional Inherited Members

- Protected Member Functions inherited from G4VScoringMesh
G4VPrimitiveScorerGetPrimitiveScorer (const G4String &name)
 
- Protected Attributes inherited from G4VScoringMesh
G4String fWorldName
 
G4VPrimitiveScorerfCurrentPS
 
G4bool fConstructed
 
G4bool fActive
 
MeshShape fShape
 
G4double fSize [3]
 
G4ThreeVector fCenterPosition
 
G4RotationMatrixfRotationMatrix
 
G4int fNSegment [3]
 
std::map< G4String, G4THitsMap
< G4double > * > 
fMap
 
G4MultiFunctionalDetectorfMFD
 
G4int verboseLevel
 
G4bool sizeIsSet
 
G4bool nMeshIsSet
 
G4String fDrawUnit
 
G4double fDrawUnitValue
 
G4String fDrawPSName
 
G4String fDivisionAxisNames [3]
 
G4LogicalVolumefMeshElementLogical
 

Detailed Description

Definition at line 43 of file G4ScoringBox.hh.

Constructor & Destructor Documentation

G4ScoringBox::G4ScoringBox ( G4String  wName)
G4ScoringBox::~G4ScoringBox ( )

Definition at line 61 of file G4ScoringBox.cc.

Member Function Documentation

void G4ScoringBox::Construct ( G4VPhysicalVolume fWorldPhys)
virtual

Implements G4VScoringMesh.

Definition at line 65 of file G4ScoringBox.cc.

References G4VScoringMesh::fConstructed, G4cout, G4endl, G4VPhysicalVolume::GetName(), G4VScoringMesh::ResetScore(), SetupGeometry(), and G4VScoringMesh::verboseLevel.

+ Here is the call graph for this function:

G4int G4ScoringBox::GetIndex ( G4int  x,
G4int  y,
G4int  z 
) const
private

Definition at line 429 of file G4ScoringBox.cc.

References G4VScoringMesh::fNSegment.

G4ThreeVector G4ScoringBox::GetReplicaPosition ( G4int  x,
G4int  y,
G4int  z 
)
private

Definition at line 410 of file G4ScoringBox.cc.

References G4VScoringMesh::fNSegment, G4VScoringMesh::fSize, pos, and width.

Referenced by Draw(), and DrawColumn().

+ Here is the caller graph for this function:

void G4ScoringBox::GetXYZ ( G4int  index,
G4int  q[3] 
) const
private

Definition at line 421 of file G4ScoringBox.cc.

References G4VScoringMesh::fNSegment.

Referenced by Draw(), and DrawColumn().

+ Here is the caller graph for this function:

void G4ScoringBox::List ( ) const
virtual

Reimplemented from G4VScoringMesh.

Definition at line 242 of file G4ScoringBox.cc.

References cm, G4VScoringMesh::fSize, G4VScoringMesh::fWorldName, G4cout, G4endl, and G4VScoringMesh::List().

+ Here is the call graph for this function:

void G4ScoringBox::SetSegmentDirection ( G4int  dir)
inline

Definition at line 58 of file G4ScoringBox.hh.

References fSegmentDirection.

void G4ScoringBox::SetupGeometry ( G4VPhysicalVolume fWorldPhys)
private

Definition at line 80 of file G4ScoringBox.cc.

References G4VScoringMesh::fCenterPosition, G4VScoringMesh::fMeshElementLogical, G4VScoringMesh::fMFD, G4VScoringMesh::fNSegment, G4VScoringMesh::fRotationMatrix, G4VScoringMesh::fSize, G4VScoringMesh::fWorldName, G4cerr, G4cout, G4endl, G4VPhysicalVolume::GetLogicalVolume(), G4ScoringManager::GetReplicaLevel(), kXAxis, kYAxis, kZAxis, G4LogicalVolume::SetSensitiveDetector(), G4LogicalVolume::SetVisAttributes(), G4VisAttributes::SetVisibility(), and G4VScoringMesh::verboseLevel.

Referenced by Construct().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

G4int G4ScoringBox::fSegmentDirection
private

Definition at line 71 of file G4ScoringBox.hh.

Referenced by SetSegmentDirection().


The documentation for this class was generated from the following files: