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

Class to store all options for a BDSIM run. More...

#include <BDSOutputROOTEventOptions.hh>

Inheritance diagram for BDSOutputROOTEventOptions:
Inheritance graph
Collaboration diagram for BDSOutputROOTEventOptions:
Collaboration graph

Public Member Functions

 BDSOutputROOTEventOptions (const GMAD::OptionsBase *ob)
 
void Fill ()
 
 ClassDef (BDSOutputROOTEventOptions, 7)
 
- Public Member Functions inherited from GMAD::OptionsBase
 OptionsBase ()
 
void print () const
 print some properties More...
 

Additional Inherited Members

- Data Fields inherited from GMAD::OptionsBase
std::string inputFileName
 Input filename. More...
 
std::string visMacroFileName
 Visualisation filename. More...
 
std::string geant4MacroFileName
 Geant4 macro to run. More...
 
std::string geant4PhysicsMacroFileName
 Geant4 physics macro. More...
 
bool geant4PhysicsMacroFileNameFromExecOptions
 
bool visDebug
 Flag for visualisation debug. More...
 
bool batch
 Flag for batch / interactive mode. More...
 
bool verbose
 General verbosity. More...
 
int verboseRunLevel
 Run level verbosity. More...
 
int verboseTrackingLevel
 Tracking verbosity. More...
 
int verboseImportanceSampling
 
bool circular
 Flag for circular machine. More...
 
int seed
 The seed value for the random number generator. More...
 
std::string randomEngine
 Name of random engine to use. More...
 
int nGenerate
 The number of primary events to simulate. More...
 
bool recreate
 Whether to recreate from a file or not. More...
 
std::string recreateFileName
 The file path to recreate a run from. More...
 
int startFromEvent
 Event to start from when recreating. More...
 
bool writeSeedState
 Write the seed state each event to a text file. More...
 
bool useASCIISeedState
 Whether to use the seed state from an ASCII file. More...
 
std::string seedStateFileName
 Seed state file path. More...
 
bool generatePrimariesOnly
 Whether to only generate primary coordinates and quit, or not. More...
 
std::string bdsimPath
 
std::string physicsList
 list of physics processes More...
 
bool physicsVerbose
 
int physicsVerbosity
 
double physicsEnergyLimitLow
 
double physicsEnergyLimitHigh
 
bool g4PhysicsUseBDSIMRangeCuts
 
bool g4PhysicsUseBDSIMCutsAndLimits
 
int eventOffset
 Event number to start from when recreating from a root file. More...
 
bool recreateSeedState
 Load seed state when recreating events. More...
 
double elossHistoBinWidth
 
double ffact
 magnetic field flip (+1 default, -1: flip sign) More...
 
int eventNumberOffset
 
bool checkOverlaps
 bdsim options More...
 
double xsize
 for element specification More...
 
double ysize
 
std::string magnetGeometryType
 default magnet geometry parameters More...
 
std::string outerMaterialName
 
double horizontalWidth
 
double thinElementLength
 
bool hStyle
 H Style dipoles (if not, C Style). More...
 
double vhRatio
 
double coilWidthFraction
 
double coilHeightFraction
 
bool ignoreLocalMagnetGeometry
 
bool buildPoleFaceGeometry
 
bool preprocessGDML
 geometry control More...
 
bool preprocessGDMLSchema
 
bool dontSplitSBends
 geometry debug, don't split bends into multiple segments More...
 
bool yokeFields
 
bool yokeFieldsMatchLHCGeometry
 
bool useOldMultipoleOuterFields
 
double scalingFieldOuter
 
bool includeFringeFields
 
bool includeFringeFieldsCavities
 
std::string vacMaterial
 vacuum material More...
 
std::string emptyMaterial
 material in container volumes More...
 
std::string worldMaterial
 
std::string worldGeometryFile
 
bool autoColourWorldGeometryFile
 
std::string importanceWorldGeometryFile
 
std::string importanceVolumeMap
 
double worldVolumeMargin
 Padding margin for world volume size. More...
 
double vacuumPressure
 
bool removeTemporaryFiles
 
std::string temporaryDirectory
 
double samplerDiameter
 
std::string defaultBiasVacuum
 
std::string defaultBiasMaterial
 
std::string biasForWorldVolume
 
std::string biasForWorldContents
 
std::string biasForWorldVacuum
 
std::string worldVacuumVolumeNames
 
std::string integratorSet
 
double lengthSafety
 
double lengthSafetyLarge
 
double maximumTrackingTime
 Maximum tracking time per track [s]. More...
 
double maximumStepLength
 Maximum permitted step length in any volume. More...
 
double maximumTrackLength
 Maximum permitted track length [m]. More...
 
double chordStepMinimum
 
double chordStepMinimumYoke
 
double deltaIntersection
 
double minimumEpsilonStep
 
double maximumEpsilonStep
 
double deltaOneStep
 
bool stopSecondaries
 
bool killNeutrinos
 
bool killedParticlesMassAddedToEloss
 
double minimumRadiusOfCurvature
 Minimum allowed radius of curvature. More...
 
bool sampleElementsWithPoleface
 
double nominalMatrixRelativeMomCut
 Momentum threshold for nominal dipole matrix tracking. More...
 
bool teleporterFullTransform
 Whether to use the new Transform3D method for the teleporter. More...
 
double dEThresholdForScattering
 
double backupStepperMomLimit
 Fractional momentum limit for reverting to backup steppers. More...
 
bool sensitiveOuter
 
bool sensitiveBeamPipe
 
int numberOfEventsPerNtuple
 
bool storeMinimalData
 
bool storeApertureImpacts
 
bool storeApertureImpactsIons
 
bool storeApertureImpactsAll
 
bool storeApertureImpactsHistograms
 
double apertureImpactsMinimumKE
 
bool storeCollimatorInfo
 
bool storeCollimatorHits
 
bool storeCollimatorHitsLinks
 
bool storeCollimatorHitsIons
 
bool storeCollimatorHitsAll
 
double collimatorHitsMinimumKE
 
bool storeEloss
 
bool storeElossHistograms
 
bool storeElossVacuum
 
bool storeElossVacuumHistograms
 
bool storeElossTunnel
 
bool storeElossTunnelHistograms
 
bool storeElossWorld
 
bool storeElossWorldContents
 
bool storeElossTurn
 
bool storeElossLinks
 
bool storeElossLocal
 
bool storeElossGlobal
 
bool storeElossTime
 
bool storeElossStepLength
 
bool storeElossPreStepKineticEnergy
 
bool storeElossModelID
 
bool storeElossPhysicsProcesses
 
bool storeParticleData
 
bool storePrimaries
 
bool storePrimaryHistograms
 
bool storeTrajectory
 
int storeTrajectoryDepth
 
int storeTrajectoryStepPoints
 
bool storeTrajectoryStepPointLast
 
std::string storeTrajectoryParticle
 
std::string storeTrajectoryParticleID
 
double storeTrajectoryEnergyThreshold
 
std::string storeTrajectorySamplerID
 
std::string storeTrajectoryELossSRange
 
bool storeTrajectoryTransportationSteps
 
bool trajNoTransportation
 kept only for backwards compatibility. More...
 
bool storeTrajectoryKineticEnergy
 
bool storeTrajectoryMomentumVector
 
bool storeTrajectoryProcesses
 
bool storeTrajectoryTime
 
bool storeTrajectoryLocal
 
bool storeTrajectoryLinks
 
bool storeTrajectoryIon
 
bool storeTrajectoryMaterial
 
bool storeTrajectoryAllVariables
 
bool trajectoryFilterLogicAND
 
bool storeSamplerAll
 
bool storeSamplerPolarCoords
 
bool storeSamplerCharge
 
bool storeSamplerKineticEnergy
 
bool storeSamplerMass
 
bool storeSamplerRigidity
 
bool storeSamplerIon
 
double trajCutGTZ
 
double trajCutLTR
 
bool trajConnect
 
bool storeModel
 
int samplersSplitLevel
 
int nturns
 
std::string ptcOneTurnMapFileName
 
double printFractionEvents
 
double printFractionTurns
 
bool printPhysicsProcesses
 
int nSegmentsPerCircle
 Number of facets per 2pi in visualisation. More...
 
int nbinsx
 
int nbinsy
 
int nbinsz
 
int nbinse
 
double xmin
 
double xmax
 
double ymin
 
double ymax
 
double zmin
 
double zmax
 
double emin
 
double emax
 
bool useScoringMap
 
std::vector< std::string > setKeys
 A list of all the keys that have been set in this instance. More...
 
std::string outputFileName
 Parameter for output format. More...
 
std::string outputFormat
 Parameter for output format. More...
 
bool outputDoublePrecision
 Parameter for output format. More...
 
int outputCompressionLevel
 Parameter for output format. More...
 
bool survey
 Parameter for survey. More...
 
std::string surveyFileName
 Parameter for survey. More...
 
bool verboseEventBDSIM
 Event level verbosity. More...
 
int verboseEventLevel
 Event level verbosity. More...
 
int verboseEventStart
 Event level verbosity. More...
 
int verboseEventContinueFor
 Event level verbosity. More...
 
bool verboseSteppingBDSIM
 Stepping level verbosity. More...
 
int verboseSteppingLevel
 Stepping level verbosity. More...
 
int verboseSteppingEventStart
 Stepping level verbosity. More...
 
int verboseSteppingEventContinueFor
 Stepping level verbosity. More...
 
bool verboseSteppingPrimaryOnly
 Stepping level verbosity. More...
 
bool exportGeometry
 Parameter for controlling geometry export. More...
 
std::string exportType
 Parameter for controlling geometry export. More...
 
std::string exportFileName
 Parameter for controlling geometry export. More...
 
double beamlineX
 Initial beam line transform w.r.t. the world coordinate frame. More...
 
double beamlineY
 Initial beam line transform w.r.t. the world coordinate frame. More...
 
double beamlineZ
 Initial beam line transform w.r.t. the world coordinate frame. More...
 
double beamlinePhi
 Initial beam line transform w.r.t. the world coordinate frame. More...
 
double beamlineTheta
 Initial beam line transform w.r.t. the world coordinate frame. More...
 
double beamlinePsi
 Initial beam line transform w.r.t. the world coordinate frame. More...
 
double beamlineAxisX
 Initial beam line transform w.r.t. the world coordinate frame. More...
 
double beamlineAxisY
 Initial beam line transform w.r.t. the world coordinate frame. More...
 
double beamlineAxisZ
 Initial beam line transform w.r.t. the world coordinate frame. More...
 
double beamlineAngle
 Initial beam line transform w.r.t. the world coordinate frame. More...
 
bool beamlineAxisAngle
 Initial beam line transform w.r.t. the world coordinate frame. More...
 
double beamlineS
 Initial beam line transform w.r.t. the world coordinate frame. More...
 
double beampipeThickness
 default beampipe parameters More...
 
std::string apertureType
 default beampipe parameters More...
 
double aper1
 default beampipe parameters More...
 
double aper2
 default beampipe parameters More...
 
double aper3
 default beampipe parameters More...
 
double aper4
 default beampipe parameters More...
 
std::string beampipeMaterial
 default beampipe parameters More...
 
bool ignoreLocalAperture
 default beampipe parameters More...
 
bool buildTunnel
 tunnel geometry parameters More...
 
bool buildTunnelStraight
 tunnel geometry parameters More...
 
std::string tunnelType
 tunnel geometry parameters More...
 
double tunnelThickness
 tunnel geometry parameters More...
 
double tunnelSoilThickness
 tunnel geometry parameters More...
 
std::string tunnelMaterial
 tunnel geometry parameters More...
 
std::string soilMaterial
 tunnel geometry parameters More...
 
bool buildTunnelFloor
 tunnel geometry parameters More...
 
double tunnelFloorOffset
 tunnel geometry parameters More...
 
double tunnelAper1
 tunnel geometry parameters More...
 
double tunnelAper2
 tunnel geometry parameters More...
 
bool tunnelVisible
 tunnel geometry parameters More...
 
double tunnelOffsetX
 tunnel geometry parameters More...
 
double tunnelOffsetY
 tunnel geometry parameters More...
 
double tunnelMaxSegmentLength
 tunnel geometry parameters More...
 
bool turnOnOpticalAbsorption
 Physics processes. More...
 
bool turnOnMieScattering
 Physics processes. More...
 
bool turnOnRayleighScattering
 Physics processes. More...
 
bool turnOnOpticalSurface
 Physics processes. More...
 
double scintYieldFactor
 physics parameters More...
 
int maximumPhotonsPerStep
 physics parameters More...
 
int maximumBetaChangePerStep
 physics parameters More...
 
long maximumTracksPerEvent
 physics parameters More...
 
double minimumKineticEnergy
 physics parameters More...
 
double minimumKineticEnergyTunnel
 physics parameters More...
 
double minimumRange
 physics parameters More...
 
std::string particlesToExcludeFromCuts
 physics parameters More...
 
double defaultRangeCut
 physics parameters More...
 
double prodCutPhotons
 physics parameters More...
 
double prodCutElectrons
 physics parameters More...
 
double prodCutPositrons
 physics parameters More...
 
double prodCutProtons
 physics parameters More...
 
double neutronTimeLimit
 physics parameters More...
 
double neutronKineticEnergyLimit
 physics parameters More...
 
bool useLENDGammaNuclear
 physics parameters More...
 
bool useElectroNuclear
 physics parameters More...
 
bool useMuonNuclear
 physics parameters More...
 
bool useGammaToMuMu
 physics parameters More...
 
bool usePositronToMuMu
 physics parameters More...
 
bool usePositronToHadrons
 physics parameters More...
 
bool beamPipeIsInfiniteAbsorber
 physics parameters More...
 
bool collimatorsAreInfiniteAbsorbers
 physics parameters More...
 
bool tunnelIsInfiniteAbsorber
 physics parameters More...
 
int muonSplittingFactor
 physics parameters More...
 
double muonSplittingThresholdParentEk
 physics parameters More...
 
int muonSplittingFactor2
 physics parameters More...
 
double muonSplittingThresholdParentEk2
 physics parameters More...
 
bool muonSplittingExcludeWeight1Particles
 physics parameters More...
 
double muonSplittingExclusionWeight
 physics parameters More...
 

Detailed Description

Class to store all options for a BDSIM run.

Author
Stewart Boogert

Definition at line 33 of file BDSOutputROOTEventOptions.hh.

Constructor & Destructor Documentation

◆ BDSOutputROOTEventOptions()

BDSOutputROOTEventOptions::BDSOutputROOTEventOptions ( const GMAD::OptionsBase ob)
explicit

Definition at line 27 of file BDSOutputROOTEventOptions.cc.

◆ ~BDSOutputROOTEventOptions()

BDSOutputROOTEventOptions::~BDSOutputROOTEventOptions ( )
virtual

Definition at line 30 of file BDSOutputROOTEventOptions.cc.

Member Function Documentation

◆ Fill()

void BDSOutputROOTEventOptions::Fill ( )

Definition at line 34 of file BDSOutputROOTEventOptions.cc.


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