Geant4  10.02.p02
G4Event Class Reference

#include <G4Event.hh>

+ Collaboration diagram for G4Event:

Public Member Functions

 G4Event ()
 
 G4Event (G4int evID)
 
 ~G4Event ()
 
void * operator new (size_t)
 
void operator delete (void *anEvent)
 
G4int operator== (const G4Event &right) const
 
G4int operator!= (const G4Event &right) const
 
void Print () const
 
void Draw () const
 
void SetEventID (G4int i)
 
void SetHCofThisEvent (G4HCofThisEvent *value)
 
void SetDCofThisEvent (G4DCofThisEvent *value)
 
void SetTrajectoryContainer (G4TrajectoryContainer *value)
 
void SetEventAborted ()
 
void SetRandomNumberStatus (G4String &st)
 
void SetRandomNumberStatusForProcessing (G4String &st)
 
void KeepTheEvent (G4bool vl=true)
 
G4bool ToBeKept () const
 
void KeepForPostProcessing () const
 
void PostProcessingFinished () const
 
G4int GetNumberOfGrips () const
 
G4int GetEventID () const
 
void AddPrimaryVertex (G4PrimaryVertex *aPrimaryVertex)
 
G4int GetNumberOfPrimaryVertex () const
 
G4PrimaryVertexGetPrimaryVertex (G4int i=0) const
 
G4HCofThisEventGetHCofThisEvent () const
 
G4DCofThisEventGetDCofThisEvent () const
 
G4TrajectoryContainerGetTrajectoryContainer () const
 
G4bool IsAborted () const
 
void SetUserInformation (G4VUserEventInformation *anInfo)
 
G4VUserEventInformationGetUserInformation () const
 
const G4StringGetRandomNumberStatus () const
 
const G4StringGetRandomNumberStatusForProcessing () const
 

Private Member Functions

 G4Event (const G4Event &)
 
G4Eventoperator= (const G4Event &)
 

Private Attributes

G4int eventID
 
G4PrimaryVertexthePrimaryVertex
 
G4int numberOfPrimaryVertex
 
G4HCofThisEventHC
 
G4DCofThisEventDC
 
G4TrajectoryContainertrajectoryContainer
 
G4bool eventAborted
 
G4VUserEventInformationuserInfo
 
G4StringrandomNumberStatus
 
G4bool validRandomNumberStatus
 
G4StringrandomNumberStatusForProcessing
 
G4bool validRandomNumberStatusForProcessing
 
G4bool keepTheEvent
 
G4int grips
 

Detailed Description

Definition at line 52 of file G4Event.hh.

Constructor & Destructor Documentation

G4Event::G4Event ( )

Definition at line 42 of file G4Event.cc.

G4Event::G4Event ( G4int  evID)

Definition at line 53 of file G4Event.cc.

G4Event::~G4Event ( )

Definition at line 64 of file G4Event.cc.

References G4TrajectoryContainer::clearAndDestroy(), DC, HC, randomNumberStatus, randomNumberStatusForProcessing, thePrimaryVertex, trajectoryContainer, and userInfo.

+ Here is the call graph for this function:

G4Event::G4Event ( const G4Event )
inlineprivate

Definition at line 75 of file G4Event.hh.

Member Function Documentation

void G4Event::AddPrimaryVertex ( G4PrimaryVertex aPrimaryVertex)
inline

Definition at line 154 of file G4Event.hh.

References G4PrimaryVertex::SetNext().

Referenced by export_G4Event(), G4RTPrimaryGeneratorAction::GeneratePrimaries(), G4BlinePrimaryGeneratorAction::GeneratePrimaries(), G4AdjointPrimaryGeneratorAction::GeneratePrimaries(), DMXParticleSource::GeneratePrimaryVertex(), G4ParticleGun::GeneratePrimaryVertex(), G4HEPEvtInterface::GeneratePrimaryVertex(), G4SingleParticleSource::GeneratePrimaryVertex(), and G4RayShooter::Shoot().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4Event::Draw ( ) const

Definition at line 94 of file G4Event.cc.

References DC, G4VDigiCollection::DrawAllDigi(), G4VHitsCollection::DrawAllHits(), G4TrajectoryContainer::entries(), G4DCofThisEvent::GetCapacity(), G4HCofThisEvent::GetCapacity(), G4VVisManager::GetConcreteInstance(), G4DCofThisEvent::GetDC(), G4HCofThisEvent::GetHC(), HC, and trajectoryContainer.

Referenced by export_G4Event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4DCofThisEvent* G4Event::GetDCofThisEvent ( ) const
inline

Definition at line 187 of file G4Event.hh.

References DC.

Referenced by G4DigiManager::GetDigiCollection(), G4DigiManager::SetDigiCollection(), and G4PersistencyManager::Store().

+ Here is the caller graph for this function:

G4int G4Event::GetEventID ( ) const
inline

Definition at line 151 of file G4Event.hh.

References eventID.

Referenced by ExGflashEventAction::BeginOfEventAction(), HadrontherapyEventAction::BeginOfEventAction(), eRositaEventAction::BeginOfEventAction(), F04EventAction::BeginOfEventAction(), FCALTBEventAction::BeginOfEventAction(), WLSEventAction::BeginOfEventAction(), Em10EventAction::BeginOfEventAction(), PurgMagEventAction::BeginOfEventAction(), IORTEventAction::BeginOfEventAction(), RMC01EventAction::BeginOfEventAction(), DicomEventAction::BeginOfEventAction(), GammaRayTelEventAction::BeginOfEventAction(), UltraEventAction::BeginOfEventAction(), DMXEventAction::BeginOfEventAction(), RMC01AdjointEventAction::BeginOfEventAction(), XrayFluoEventAction::BeginOfEventAction(), RMC01AnalysisManager::ComputeMeanEdepAndError(), G4VisManager::Draw(), RMC01AnalysisManager::EndOfEvent(), G4VisManager::EndOfEvent(), ExN04EventAction::EndOfEventAction(), RE05EventAction::EndOfEventAction(), RE01EventAction::EndOfEventAction(), B5EventAction::EndOfEventAction(), F04EventAction::EndOfEventAction(), ExN02EventAction::EndOfEventAction(), WLSEventAction::EndOfEventAction(), ExP01EventAction::EndOfEventAction(), F01EventAction::EndOfEventAction(), F02EventAction::EndOfEventAction(), F03EventAction::EndOfEventAction(), RE04EventAction::EndOfEventAction(), Em10EventAction::EndOfEventAction(), RE02EventAction::EndOfEventAction(), GammaRayTelEventAction::EndOfEventAction(), export_G4Event(), G4Pevent::G4Pevent(), G4WorkerRunManager::GenerateEvent(), G4RunManager::GenerateEvent(), G4RTPrimaryGeneratorAction::GeneratePrimaries(), FCALPrimaryGeneratorAction::GeneratePrimaries(), G01PrimaryGeneratorAction::GeneratePrimaries(), G04PrimaryGeneratorAction::GeneratePrimaries(), UltraPrimaryGeneratorAction::GeneratePrimaries(), G4AdjointPrimaryGeneratorAction::GeneratePrimaries(), F04EventAction::GetEventNo(), WLSEventAction::GetEventNo(), Em10EventAction::GetEventno(), G4VisCommandSceneAddEventID::EventID::operator()(), G4WorkerRunManager::ProcessOneEvent(), G4RTRun::RecordEvent(), G4PersistencyManager::Retrieve(), G4RunManager::rndmSaveThisEvent(), WLSSteppingAction::saveRandomStatus(), CCalEndOfEventAction::StartOfEventAction(), G4PersistencyManager::Store(), and EventAction::WriteFibers().

G4int G4Event::GetNumberOfGrips ( ) const
inline

Definition at line 147 of file G4Event.hh.

References grips.

Referenced by G4RunManager::CleanUpUnnecessaryEvents(), and G4RunManager::StackPreviousEvent().

+ Here is the caller graph for this function:

G4int G4Event::GetNumberOfPrimaryVertex ( ) const
inline

Definition at line 164 of file G4Event.hh.

References numberOfPrimaryVertex.

Referenced by G4EventManager::DoProcessing(), RE01EventAction::EndOfEventAction(), export_G4Event(), and Par02PrimaryGeneratorAction::GeneratePrimaries().

+ Here is the caller graph for this function:

G4PrimaryVertex* G4Event::GetPrimaryVertex ( G4int  i = 0) const
inline

Definition at line 167 of file G4Event.hh.

References G4PrimaryVertex::GetNext(), and thePrimaryVertex.

Referenced by ExGflashEventAction::EndOfEventAction(), RE01EventAction::EndOfEventAction(), RMC01AnalysisManager::EndOfEventForForwardSimulation(), export_G4Event(), Par02PrimaryGeneratorAction::GeneratePrimaries(), PrimaryGeneratorAction1::GeneratePrimaries(), G4BlinePrimaryGeneratorAction::GeneratePrimaries(), G4AdjointPrimaryGeneratorAction::GeneratePrimaries(), and G4PrimaryTransformer::GimmePrimaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4String& G4Event::GetRandomNumberStatus ( ) const
inline

Definition at line 201 of file G4Event.hh.

References G4Exception(), JustWarning, and randomNumberStatus.

+ Here is the call graph for this function:

const G4String& G4Event::GetRandomNumberStatusForProcessing ( ) const
inline

Definition at line 209 of file G4Event.hh.

References G4Exception(), JustWarning, and randomNumberStatusForProcessing.

+ Here is the call graph for this function:

G4VUserEventInformation* G4Event::GetUserInformation ( ) const
inline

Definition at line 199 of file G4Event.hh.

References userInfo.

Referenced by LXeStackingAction::ClassifyNewTrack(), CexmcRunManager::DoCommonEventLoop(), LXeEventAction::EndOfEventAction(), CexmcEventAction::EndOfEventAction(), export_G4Event(), G4EventManager::GetUserInformation(), and LXeSteppingAction::UserSteppingAction().

+ Here is the caller graph for this function:

G4bool G4Event::IsAborted ( ) const
inline

Definition at line 195 of file G4Event.hh.

References eventAborted.

Referenced by export_G4Event().

+ Here is the caller graph for this function:

void G4Event::KeepForPostProcessing ( ) const
inline

Definition at line 139 of file G4Event.hh.

Referenced by G4VisManager::EndOfEvent().

+ Here is the caller graph for this function:

void G4Event::KeepTheEvent ( G4bool  vl = true)
inline

Definition at line 135 of file G4Event.hh.

Referenced by G4EventManager::KeepTheCurrentEvent().

+ Here is the caller graph for this function:

void G4Event::operator delete ( void *  anEvent)
inline

Definition at line 228 of file G4Event.hh.

References anEventAllocator.

void * G4Event::operator new ( size_t  )
inline

Definition at line 222 of file G4Event.hh.

References anEventAllocator.

G4int G4Event::operator!= ( const G4Event right) const

Definition at line 84 of file G4Event.cc.

References eventID.

G4Event& G4Event::operator= ( const G4Event )
inlineprivate

Definition at line 76 of file G4Event.hh.

G4int G4Event::operator== ( const G4Event right) const

Definition at line 79 of file G4Event.cc.

References eventID.

void G4Event::PostProcessingFinished ( ) const
inline

Definition at line 141 of file G4Event.hh.

References FatalException, and G4Exception().

+ Here is the call graph for this function:

void G4Event::Print ( void  ) const

Definition at line 89 of file G4Event.cc.

References eventID, G4cout, and G4endl.

Referenced by export_G4Event().

+ Here is the caller graph for this function:

void G4Event::SetDCofThisEvent ( G4DCofThisEvent value)
inline

Definition at line 119 of file G4Event.hh.

Referenced by G4DigiManager::SetDigiCollection().

+ Here is the caller graph for this function:

void G4Event::SetEventAborted ( )
inline

Definition at line 123 of file G4Event.hh.

Referenced by G4RunManager::AbortEvent(), G4RunManager::AbortRun(), and export_G4Event().

+ Here is the caller graph for this function:

void G4Event::SetEventID ( G4int  i)
inline

Definition at line 115 of file G4Event.hh.

Referenced by export_G4Event(), G4WorkerRunManager::GenerateEvent(), G4MTRunManager::SetUpAnEvent(), and G4MTRunManager::SetUpNEvents().

+ Here is the caller graph for this function:

void G4Event::SetHCofThisEvent ( G4HCofThisEvent value)
inline

Definition at line 117 of file G4Event.hh.

Referenced by G4EventManager::DoProcessing().

+ Here is the caller graph for this function:

void G4Event::SetRandomNumberStatus ( G4String st)
inline

Definition at line 125 of file G4Event.hh.

Referenced by G4WorkerRunManager::GenerateEvent(), G4RunManager::GenerateEvent(), and G4EventManager::ProcessOneEvent().

+ Here is the caller graph for this function:

void G4Event::SetRandomNumberStatusForProcessing ( G4String st)
inline

Definition at line 130 of file G4Event.hh.

Referenced by G4EventManager::DoProcessing().

+ Here is the caller graph for this function:

void G4Event::SetTrajectoryContainer ( G4TrajectoryContainer value)
inline

Definition at line 121 of file G4Event.hh.

Referenced by G4EventManager::DoProcessing(), and ITTrackingInteractivity::EndTracking().

+ Here is the caller graph for this function:

void G4Event::SetUserInformation ( G4VUserEventInformation anInfo)
inline

Definition at line 198 of file G4Event.hh.

Referenced by CexmcEventAction::EndOfEventAction(), export_G4Event(), and G4EventManager::SetUserInformation().

+ Here is the caller graph for this function:

G4bool G4Event::ToBeKept ( ) const
inline

Definition at line 137 of file G4Event.hh.

References keepTheEvent.

Referenced by G4RunManager::CleanUpPreviousEvents(), G4RunManager::CleanUpUnnecessaryEvents(), and G4RunManager::StackPreviousEvent().

+ Here is the caller graph for this function:

Member Data Documentation

G4DCofThisEvent* G4Event::DC
private

Definition at line 90 of file G4Event.hh.

Referenced by Draw(), GetDCofThisEvent(), and ~G4Event().

G4bool G4Event::eventAborted
private

Definition at line 97 of file G4Event.hh.

Referenced by IsAborted().

G4int G4Event::eventID
private

Definition at line 80 of file G4Event.hh.

Referenced by GetEventID(), operator!=(), operator==(), and Print().

G4int G4Event::grips
mutableprivate

Definition at line 112 of file G4Event.hh.

Referenced by GetNumberOfGrips().

G4HCofThisEvent* G4Event::HC
private

Definition at line 87 of file G4Event.hh.

Referenced by Draw(), GetHCofThisEvent(), and ~G4Event().

G4bool G4Event::keepTheEvent
private

Definition at line 111 of file G4Event.hh.

Referenced by ToBeKept().

G4int G4Event::numberOfPrimaryVertex
private

Definition at line 84 of file G4Event.hh.

Referenced by GetNumberOfPrimaryVertex().

G4String* G4Event::randomNumberStatus
private

Definition at line 103 of file G4Event.hh.

Referenced by GetRandomNumberStatus(), and ~G4Event().

G4String* G4Event::randomNumberStatusForProcessing
private

Definition at line 107 of file G4Event.hh.

Referenced by GetRandomNumberStatusForProcessing(), and ~G4Event().

G4PrimaryVertex* G4Event::thePrimaryVertex
private

Definition at line 83 of file G4Event.hh.

Referenced by GetPrimaryVertex(), and ~G4Event().

G4TrajectoryContainer* G4Event::trajectoryContainer
private

Definition at line 93 of file G4Event.hh.

Referenced by Draw(), GetTrajectoryContainer(), and ~G4Event().

G4VUserEventInformation* G4Event::userInfo
private

Definition at line 100 of file G4Event.hh.

Referenced by GetUserInformation(), and ~G4Event().

G4bool G4Event::validRandomNumberStatus
private

Definition at line 104 of file G4Event.hh.

G4bool G4Event::validRandomNumberStatusForProcessing
private

Definition at line 108 of file G4Event.hh.


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