BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes
BDSLogicalVolumeLaser Class Reference

Extended logical volume with laser definition. More...

#include <BDSLogicalVolumeLaser.hh>

Inheritance diagram for BDSLogicalVolumeLaser:
Inheritance graph
Collaboration diagram for BDSLogicalVolumeLaser:
Collaboration graph

Public Member Functions

 BDSLogicalVolumeLaser (G4VSolid *solid, G4Material *material, const G4String &name, const BDSLaser *laserIn, G4FieldManager *fieldManager=nullptr, G4VSensitiveDetector *sensitiveDetector=nullptr, G4UserLimits *userLimits=nullptr, G4bool optimise=true)
 
const BDSLaserLaser () const
 Access the laser.
 
virtual G4bool IsExtended () const override
 Override flag function as to whether G4LogicalVolume is extended.
 

Private Member Functions

 BDSLogicalVolumeLaser (const BDSLogicalVolumeLaser &other)=delete
 Private copy and assignment constructors.
 
BDSLogicalVolumeLaseroperator= (const BDSLogicalVolumeLaser &other)=delete
 Private copy and assignment constructors.
 

Private Attributes

BDSLaserlaser
 Laser instance - owned by this class.
 

Detailed Description

Extended logical volume with laser definition.

Author
Laurie Nevay

Definition at line 37 of file BDSLogicalVolumeLaser.hh.

Constructor & Destructor Documentation

◆ BDSLogicalVolumeLaser()

BDSLogicalVolumeLaser::BDSLogicalVolumeLaser ( G4VSolid *  solid,
G4Material *  material,
const G4String &  name,
const BDSLaser laserIn,
G4FieldManager *  fieldManager = nullptr,
G4VSensitiveDetector *  sensitiveDetector = nullptr,
G4UserLimits *  userLimits = nullptr,
G4bool  optimise = true 
)

Definition at line 22 of file BDSLogicalVolumeLaser.cc.

◆ ~BDSLogicalVolumeLaser()

BDSLogicalVolumeLaser::~BDSLogicalVolumeLaser ( )
virtual

Definition at line 35 of file BDSLogicalVolumeLaser.cc.

Member Function Documentation

◆ IsExtended()

virtual G4bool BDSLogicalVolumeLaser::IsExtended ( ) const
inlineoverridevirtual

Override flag function as to whether G4LogicalVolume is extended.

Definition at line 55 of file BDSLogicalVolumeLaser.hh.

◆ Laser()

const BDSLaser * BDSLogicalVolumeLaser::Laser ( ) const
inline

Access the laser.

Definition at line 52 of file BDSLogicalVolumeLaser.hh.

References laser.

Field Documentation

◆ laser

BDSLaser* BDSLogicalVolumeLaser::laser
private

Laser instance - owned by this class.

Definition at line 64 of file BDSLogicalVolumeLaser.hh.

Referenced by Laser().


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