BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Public Member Functions | Protected Attributes
BDSScoringMeshCylinder Class Reference

Wrapper for G4ScoringCylinder to allow full access to placement. More...

#include <BDSScoringMeshCylinder.hh>

Inheritance diagram for BDSScoringMeshCylinder:
Inheritance graph
Collaboration diagram for BDSScoringMeshCylinder:
Collaboration graph

Public Member Functions

 BDSScoringMeshCylinder (const G4String &name, const BDSScorerMeshInfo &recipe, const G4Transform3D &placementTransform)
 
 BDSScoringMeshCylinder (const G4String &name, const G4ThreeVector &translation, const G4RotationMatrix &rotation)
 
const BDSHistBinMapperMapper () const
 

Protected Attributes

BDSHistBinMappermapper
 
G4double scorerSize [3]
 
G4int nSegment [3]
 
G4int nEnergySegments
 

Detailed Description

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.

Author
Eliott Ramoisiaux

Definition at line 43 of file BDSScoringMeshCylinder.hh.

Constructor & Destructor Documentation

◆ BDSScoringMeshCylinder() [1/2]

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 29 of file BDSScoringMeshCylinder.cc.

◆ BDSScoringMeshCylinder() [2/2]

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 60 of file BDSScoringMeshCylinder.cc.

◆ ~BDSScoringMeshCylinder()

BDSScoringMeshCylinder::~BDSScoringMeshCylinder ( )
virtual

Definition at line 79 of file BDSScoringMeshCylinder.cc.

Member Function Documentation

◆ Mapper()

const BDSHistBinMapper * BDSScoringMeshCylinder::Mapper ( ) const

Definition at line 70 of file BDSScoringMeshCylinder.cc.

Field Documentation

◆ mapper

BDSHistBinMapper* BDSScoringMeshCylinder::mapper
mutableprotected

Definition at line 63 of file BDSScoringMeshCylinder.hh.

◆ nEnergySegments

G4int BDSScoringMeshCylinder::nEnergySegments
protected

Definition at line 67 of file BDSScoringMeshCylinder.hh.

◆ nSegment

G4int BDSScoringMeshCylinder::nSegment[3]
protected

Definition at line 66 of file BDSScoringMeshCylinder.hh.

◆ scorerSize

G4double BDSScoringMeshCylinder::scorerSize[3]
protected

Definition at line 65 of file BDSScoringMeshCylinder.hh.


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