BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Wrapper for G4ScoringBox to allow full access to placement. More...
#include <BDSScoringMeshBox.hh>
Public Member Functions | |
BDSScoringMeshBox (const G4String &name, const BDSScorerMeshInfo &recipe, const G4Transform3D &placementTransform) | |
BDSScoringMeshBox (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 G4ScoringBox to allow full access to placement.
The G4ScoringBox 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 43 of file BDSScoringMeshBox.hh.
BDSScoringMeshBox::BDSScoringMeshBox | ( | 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 BDSScoringMeshBox.cc.
BDSScoringMeshBox::BDSScoringMeshBox | ( | 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 53 of file BDSScoringMeshBox.cc.
|
virtual |
Definition at line 72 of file BDSScoringMeshBox.cc.
const BDSHistBinMapper * BDSScoringMeshBox::Mapper | ( | ) | const |
Definition at line 63 of file BDSScoringMeshBox.cc.
|
mutableprotected |
Definition at line 63 of file BDSScoringMeshBox.hh.
|
protected |
Definition at line 67 of file BDSScoringMeshBox.hh.
|
protected |
Definition at line 66 of file BDSScoringMeshBox.hh.
|
protected |
Definition at line 65 of file BDSScoringMeshBox.hh.