BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
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 BDSHistBinMapper * Mapper () const
 

Protected Attributes

BDSHistBinMapper * mapper
 
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 42 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 28 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 65 of file BDSScoringMeshCylinder.cc.

◆ ~BDSScoringMeshCylinder()

BDSScoringMeshCylinder::~BDSScoringMeshCylinder ( )
virtual

Definition at line 87 of file BDSScoringMeshCylinder.cc.

Member Function Documentation

◆ Mapper()

const BDSHistBinMapper * BDSScoringMeshCylinder::Mapper ( ) const

Definition at line 78 of file BDSScoringMeshCylinder.cc.

Field Documentation

◆ mapper

BDSHistBinMapper* BDSScoringMeshCylinder::mapper
mutableprotected

Definition at line 62 of file BDSScoringMeshCylinder.hh.

◆ nEnergySegments

G4int BDSScoringMeshCylinder::nEnergySegments
protected

Definition at line 66 of file BDSScoringMeshCylinder.hh.

◆ nSegment

G4int BDSScoringMeshCylinder::nSegment[3]
protected

Definition at line 65 of file BDSScoringMeshCylinder.hh.

◆ scorerSize

G4double BDSScoringMeshCylinder::scorerSize[3]
protected

Definition at line 64 of file BDSScoringMeshCylinder.hh.


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