|
| BDSOutputNone () |
| Default constructor.
|
|
| BDSOutput (const G4String &baseFileNameIn, const G4String &fileExtentionIn, G4int fileNumberOffset) |
| Constructor with base file name (without extension or number suffix).
|
|
virtual void | NewFile ()=0 |
| Open a new file. This should call WriteHeader() in it.
|
|
virtual void | CloseFile ()=0 |
|
virtual void | InitialiseGeometryDependent () |
|
virtual void | UpdateSamplers () |
| Interface to allow updating samplers with dynamic construction. Only for link - not for regular use.
|
|
void | FillHeader () |
| Fill the local structure header with information - updates time stamp.
|
|
void | FillParticleData (G4bool writeIons) |
| Fill the local structure particle data with information. Also calls WriteParticleData().
|
|
void | FillBeam (const GMAD::BeamBase *beam) |
|
void | FillOptions (const GMAD::OptionsBase *options) |
|
void | FillModel () |
|
void | FillEventPrimaryOnly (const BDSParticleCoordsFullGlobal &coords, const BDSParticleDefinition *particle) |
|
void | FillEvent (const BDSEventInfo *info, const G4PrimaryVertex *vertex, const std::vector< BDSHitsCollectionSampler * > &samplerHitsPlane, const std::vector< BDSHitsCollectionSamplerCylinder * > &samplerHitsCylinder, const std::vector< BDSHitsCollectionSamplerSphere * > &samplerHitsSphere, const BDSHitsCollectionSamplerLink *samplerHitsLink, const BDSHitsCollectionEnergyDeposition *energyLoss, const BDSHitsCollectionEnergyDeposition *energyLossFull, const BDSHitsCollectionEnergyDeposition *energyLossVacuum, const BDSHitsCollectionEnergyDeposition *energyLossTunnel, const BDSHitsCollectionEnergyDepositionGlobal *energyLossWorld, const BDSHitsCollectionEnergyDepositionGlobal *energyLossWorldContents, const BDSHitsCollectionEnergyDepositionGlobal *worldExitHits, const std::vector< const BDSTrajectoryPointHit * > &primaryHits, const std::vector< const BDSTrajectoryPointHit * > &primaryLosses, const BDSTrajectoriesToStore *trajectories, const BDSHitsCollectionCollimator *collimatorHits, const BDSHitsCollectionApertureImpacts *apertureImpactHits, const std::map< G4String, G4THitsMap< G4double > * > &scorerHitsMap, const G4int turnsTaken) |
| Copy event information from Geant4 simulation structures to output structures.
|
|
void | CloseAndOpenNewFile () |
| Close a file and open a new one.
|
|
void | FillRun (const BDSEventInfo *info, unsigned long long int nOriginalEventsIn, unsigned long long int nEventsRequestedIn, unsigned long long int nEventsInOriginalDistrFileIn, unsigned long long int nEventsDistrFileSkippedIn, unsigned int distrFileLoopNTimesIn) |
| Copy run information to output structure.
|
|
virtual void | NewFile () |
| No action.
|
|
virtual void | CloseFile () |
| No action.
|
|
virtual void | WriteHeader () |
| No action.
|
|
virtual void | WriteHeaderEndOfFile () |
| No action.
|
|
virtual void | WriteParticleData () |
| No action.
|
|
virtual void | WriteBeam () |
| No action.
|
|
virtual void | WriteOptions () |
| No action.
|
|
virtual void | WriteModel () |
| No action.
|
|
virtual void | WriteFileEventLevel () |
| No action.
|
|
virtual void | WriteFileRunLevel () |
| No action.
|
|
|
static G4bool | InvalidSamplerName (const G4String &samplerName) |
| Test whether a sampler name is invalid or not.
|
|
static void | PrintProtectedNames (std::ostream &out) |
| Feedback for protected names.
|
|
G4String | GetNextFileName () |
| Get the next file name based on the base file name and the accrued number of files.
|
|
G4bool | CreateCollimatorOutputStructures () const |
| Whether to create the collimator structures in the output or not.
|
|
| BDSOutputStructures (const BDSGlobalConstants *globals) |
|
void | InitialiseSamplers () |
| Construct samplers.
|
|
void | InitialiseMaterialMap () |
| Construct a map of material pointer to integer ID and name.
|
|
G4int | UpdateSamplerStructures () |
| Interface to allow setting up samplers later for dynamic geometry construction a la SixTrack. Not for regular use.
|
|
void | PrepareCollimatorInformation () |
|
void | PrepareCavityInformation () |
| Extract number of collimators and their names from beam line.
|
|
void | InitialiseCollimators () |
| Construct collimators.
|
|
void | ClearStructuresParticleData () |
| Clear the local particle data structure.
|
|
void | ClearStructuresHeader () |
| Clear the local header structure.
|
|
void | ClearStructuresModel () |
| Clear the local model structure.
|
|
void | ClearStructuresBeam () |
| Clear the local beam structure.
|
|
void | ClearStructuresOptions () |
| Clear the local options structure.
|
|
void | ClearStructuresEventLevel () |
| Clear the local structures in this class in preparation for a new event.
|
|
void | ClearStructuresRunLevel () |
| Clear the local structures in this class in preparation for a new run.
|
|
G4int | Create1DHistogram (G4String name, G4String title, G4int nbins, G4double xmin, G4double xmax) |
| Create histograms for both evtHistos and runHistos. Return index from evtHistos.
|
|
G4int | Create1DHistogram (G4String name, G4String title, std::vector< double > &edges) |
| Create histograms for both evtHistos and runHistos. Return index from evtHistos.
|
|
G4int | Create3DHistogram (G4String name, G4String title, G4int nBinsX, G4double xMin, G4double xMax, G4int nBinsY, G4double yMin, G4double yMax, G4int nBinsZ, G4double zMin, G4double zMax) |
| Create histograms for both evtHistos and runHistos. Return index from evtHistos.
|
|
G4int | Create4DHistogram (const G4String &name, const G4String &title, const G4String &eScale, const std::vector< double > &eBinsEdges, G4int nBinsX, G4double xMin, G4double xMax, G4int nBinsY, G4double yMin, G4double yMax, G4int nBinsZ, G4double zMin, G4double zMax, G4int nBinsE, G4double eMin, G4double eMax) |
| Create histograms for both evtHistos and runHistos. Return index from evtHistos.
|
|
std::map< G4String, G4int > | blmCollectionNameToHistogramID |
|
G4bool | storeELoss |
| Options for dynamic bits of output.
|
|
G4bool | storeELossTunnel |
| Options for dynamic bits of output.
|
|
G4bool | storeELossVacuum |
| Options for dynamic bits of output.
|
|
G4bool | storeELossWorld |
| Options for dynamic bits of output.
|
|
G4bool | storeELossWorldContents |
| Options for dynamic bits of output.
|
|
G4bool | storeApertureImpacts |
| Options for dynamic bits of output.
|
|
G4bool | storeApertureImpactsHistograms |
| Options for dynamic bits of output.
|
|
G4bool | storePrimaries |
| Options for dynamic bits of output.
|
|
G4bool | storeTrajectory |
| Options for dynamic bits of output.
|
|
BDSOutputROOTParticleData * | particleDataOutput |
| Geant4 information / particle tables.
|
|
BDSOutputROOTEventHeader * | headerOutput |
| Information about the file.
|
|
BDSOutputROOTEventBeam * | beamOutput |
| Beam output.
|
|
BDSOutputROOTEventOptions * | optionsOutput |
| Options output.
|
|
BDSOutputROOTEventModel * | modelOutput |
| Model output.
|
|
BDSOutputROOTEventSampler< double > * | primary |
| Primary sampler structure.
|
|
BDSOutputROOTEventSampler< float > * | primary |
|
BDSOutputROOTEventCoords * | primaryGlobal |
|
std::vector< BDSOutputROOTEventSampler< double > * > | samplerTrees |
| Sampler structures.
|
|
std::vector< BDSOutputROOTEventSampler< float > * > | samplerTrees |
|
std::vector< std::string > | samplerNames |
| Sampler names to use.
|
|
std::vector< BDSOutputROOTEventSamplerC * > | samplerCTrees |
|
std::vector< BDSOutputROOTEventSamplerS * > | samplerSTrees |
|
std::vector< std::string > | samplerCNames |
|
std::vector< std::string > | samplerSNames |
|
std::map< G4int, G4int > | samplerIDToIndexPlane |
|
std::map< G4int, G4int > | samplerIDToIndexCylinder |
|
std::map< G4int, G4int > | samplerIDToIndexSphere |
|
BDSOutputROOTEventRunInfo * | runInfo |
| Run information.
|
|
BDSOutputROOTEventHistograms * | runHistos |
| Run level histograms.
|
|
BDSOutputROOTEventLoss * | eLoss |
| General energy deposition.
|
|
BDSOutputROOTEventLoss * | pFirstHit |
| Primary hit point.
|
|
BDSOutputROOTEventLoss * | pLastHit |
| Primary loss point.
|
|
BDSOutputROOTEventLoss * | eLossVacuum |
| General energy deposition.
|
|
BDSOutputROOTEventLoss * | eLossTunnel |
| Tunnel energy deposition.
|
|
BDSOutputROOTEventLossWorld * | eLossWorld |
| World energy deposition.
|
|
BDSOutputROOTEventLossWorld * | eLossWorldExit |
| World exit hits.
|
|
BDSOutputROOTEventLossWorld * | eLossWorldContents |
| Externally supplied world contents hits.
|
|
BDSOutputROOTEventAperture * | apertureImpacts |
| Impacts on the aperture.
|
|
BDSOutputROOTEventTrajectory * | traj |
| Trajectories.
|
|
BDSOutputROOTEventHistograms * | evtHistos |
| Event level histograms.
|
|
BDSOutputROOTEventInfo * | evtInfo |
| Event information.
|
|
std::vector< BDSOutputROOTEventCollimator * > | collimators |
| Collimator output structures.
|
|
std::vector< G4String > | collimatorNames |
| Names of collimators in output structures.
|
|
G4int | nCollimators |
| Number of collimators in beam line.
|
|
std::vector< G4int > | collimatorIndices |
| Indices in beam line that are collimators.
|
|
std::map< G4String, G4int > | collimatorIndicesByName |
| Indices mapped to their name.
|
|
std::vector< BDSOutputROOTEventCollimatorInfo > | collimatorInfo |
|
std::vector< std::pair< G4double, G4double > > | collimatorDifferences |
|
std::vector< G4String > | cavityNames |
| Names of cavities in output structures.
|
|
G4int | nCavities |
| Number of cavities in beam line.
|
|
std::vector< G4int > | cavityIndices |
| Indices in beam line that are cavities.
|
|
std::map< G4String, G4int > | cavityIndicesByName |
| Indices mapped to their name.
|
|
std::vector< BDSOutputROOTEventCavityInfo > | cavityInfo |
| Cavity parameters.
|
|
std::map< G4Material *, short int > | materialToID |
|
std::map< short int, G4String > | materialIDToNameUnique |
|
No output class.
Write no output
- Author
- Jochem Snuverink
Definition at line 32 of file BDSOutputNone.hh.