|
BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Wrapper for G4ScoringCylinder to allow full access to placement. More...
#include <BDSScoringMeshCylinder.hh>


Public Member Functions | |
| BDSScoringMeshCylinder (const G4String &name, const BDSScorerMeshInfo &recipe, const G4Transform3D &placementTransform) | |
| BDSScoringMeshCylinder (const G4String &name, const G4ThreeVector &translation, const G4RotationMatrix &rotation) | |
| const BDSHistBinMapper * | Mapper () const |
Protected Attributes | |
| BDSHistBinMapper * | mapper |
| G4double | scorerSize [3] |
| G4int | nSegment [3] |
| G4int | nEnergySegments |
Wrapper for G4ScoringCylinder to allow full access to placement.
The G4ScoringCylinder class provides an incomplete interface to the underlying translation 3 vector and rotation matrix. Here, we wrap the class to assign these protected members directly.
We have several constructors to retain compatibility with Geant4's delayed construction model for use interactively.
Definition at line 42 of file BDSScoringMeshCylinder.hh.
| BDSScoringMeshCylinder::BDSScoringMeshCylinder | ( | const G4String & | name, |
| const BDSScorerMeshInfo & | recipe, | ||
| const G4Transform3D & | placementTransform | ||
| ) |
Construct with size and divisions from recipe class. Retain full control over name of mesh.
Definition at line 28 of file BDSScoringMeshCylinder.cc.
| BDSScoringMeshCylinder::BDSScoringMeshCylinder | ( | const G4String & | name, |
| const G4ThreeVector & | translation, | ||
| const G4RotationMatrix & | rotation | ||
| ) |
Separate constructor with objects that are assigned directly to protected base class members.
Definition at line 65 of file BDSScoringMeshCylinder.cc.
|
virtual |
Definition at line 87 of file BDSScoringMeshCylinder.cc.
| const BDSHistBinMapper * BDSScoringMeshCylinder::Mapper | ( | ) | const |
Definition at line 78 of file BDSScoringMeshCylinder.cc.
|
mutableprotected |
Definition at line 62 of file BDSScoringMeshCylinder.hh.
|
protected |
Definition at line 66 of file BDSScoringMeshCylinder.hh.
|
protected |
Definition at line 65 of file BDSScoringMeshCylinder.hh.
|
protected |
Definition at line 64 of file BDSScoringMeshCylinder.hh.