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

Simple extension to cache extra variables through an event. More...

#include <BDSLinkEventInfo.hh>

Inheritance diagram for BDSLinkEventInfo:
Inheritance graph
Collaboration diagram for BDSLinkEventInfo:
Collaboration graph

Public Member Functions

void Flush () override
 
- Public Member Functions inherited from BDSEventInfo
virtual void Print () const
 
const BDSOutputROOTEventInfoGetInfo () const
 Accessor.
 
virtual void Flush ()
 
void SetStartTime (const time_t &startTimeIn)
 Setters.
 
void SetStopTime (const time_t &stopTimeIn)
 Setters.
 
void SetDurationWall (G4float durationWallIn)
 Setters.
 
void SetDurationCPU (G4float durationCPUIn)
 Setters.
 
void SetSeedStateAtStart (const G4String &seedStateAtStartIn)
 Setters.
 
void SetIndex (G4int indexIn)
 Setters.
 
void SetAborted (G4bool abortedIn)
 Setters.
 
void SetPrimaryHitMachine (G4bool hitIn)
 Setters.
 
void SetMemoryUsage (G4double memoryUsageMbIn)
 Setters.
 
void SetPrimaryAbsorbedInCollimator (G4bool absorbed)
 Setters.
 
void SetNTracks (long long int nTracks)
 Setters.
 
void SetBunchIndex (int bunchIndexIn)
 Setters.
 

Data Fields

G4int externalParticleIDofPrimary
 
G4int externalParentIDofPrimary
 

Additional Inherited Members

- Protected Attributes inherited from BDSEventInfo
BDSOutputROOTEventInfoinfo
 Instance of info.
 

Detailed Description

Simple extension to cache extra variables through an event.

Author
Laurie Nevay

Definition at line 32 of file BDSLinkEventInfo.hh.

Constructor & Destructor Documentation

◆ BDSLinkEventInfo()

BDSLinkEventInfo::BDSLinkEventInfo ( )
inline

Definition at line 35 of file BDSLinkEventInfo.hh.

◆ ~BDSLinkEventInfo()

virtual BDSLinkEventInfo::~BDSLinkEventInfo ( )
inlinevirtual

Definition at line 39 of file BDSLinkEventInfo.hh.

Member Function Documentation

◆ Flush()

void BDSLinkEventInfo::Flush ( )
inlineoverridevirtual

Reimplemented from BDSEventInfo.

Definition at line 41 of file BDSLinkEventInfo.hh.

Field Documentation

◆ externalParentIDofPrimary

G4int BDSLinkEventInfo::externalParentIDofPrimary

Definition at line 44 of file BDSLinkEventInfo.hh.

◆ externalParticleIDofPrimary

G4int BDSLinkEventInfo::externalParticleIDofPrimary

Definition at line 43 of file BDSLinkEventInfo.hh.


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