Geant4  10.00.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
 
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
 

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 52 of file G4Event.cc.

G4Event::~G4Event ( )

Definition at line 62 of file G4Event.cc.

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

+ 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 143 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 92 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 176 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 140 of file G4Event.hh.

References eventID.

Referenced by ExGflashEventAction::BeginOfEventAction(), eRositaEventAction::BeginOfEventAction(), ElectronEventAction::BeginOfEventAction(), exGPSEventAction::BeginOfEventAction(), F04EventAction::BeginOfEventAction(), HadrontherapyEventAction::BeginOfEventAction(), FCALTBEventAction::BeginOfEventAction(), WLSEventAction::BeginOfEventAction(), F03EventAction::BeginOfEventAction(), EventAction::BeginOfEventAction(), F01EventAction::BeginOfEventAction(), F02EventAction::BeginOfEventAction(), Em10EventAction::BeginOfEventAction(), PurgMagEventAction::BeginOfEventAction(), IORTEventAction::BeginOfEventAction(), DicomEventAction::BeginOfEventAction(), RMC01EventAction::BeginOfEventAction(), GammaRayTelEventAction::BeginOfEventAction(), UltraEventAction::BeginOfEventAction(), DMXEventAction::BeginOfEventAction(), RMC01AdjointEventAction::BeginOfEventAction(), XrayFluoEventAction::BeginOfEventAction(), RMC01AnalysisManager::ComputeMeanEdepAndError(), RMC01AnalysisManager::EndOfEvent(), G4VisManager::EndOfEvent(), ExN04EventAction::EndOfEventAction(), RE05EventAction::EndOfEventAction(), B5EventAction::EndOfEventAction(), RE01EventAction::EndOfEventAction(), F04EventAction::EndOfEventAction(), ExN02EventAction::EndOfEventAction(), WLSEventAction::EndOfEventAction(), ExP01EventAction::EndOfEventAction(), F03EventAction::EndOfEventAction(), F01EventAction::EndOfEventAction(), F02EventAction::EndOfEventAction(), Em10EventAction::EndOfEventAction(), RE04EventAction::EndOfEventAction(), RE02EventAction::EndOfEventAction(), GammaRayTelEventAction::EndOfEventAction(), export_G4Event(), G4Pevent::G4Pevent(), G4WorkerRunManager::GenerateEvent(), G4RunManager::GenerateEvent(), G4RTPrimaryGeneratorAction::GeneratePrimaries(), FCALPrimaryGeneratorAction::GeneratePrimaries(), G04PrimaryGeneratorAction::GeneratePrimaries(), G01PrimaryGeneratorAction::GeneratePrimaries(), UltraPrimaryGeneratorAction::GeneratePrimaries(), XrayFluoPrimaryGeneratorAction::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::WritePixels().

G4int G4Event::GetNumberOfPrimaryVertex ( ) const
inline

Definition at line 153 of file G4Event.hh.

References numberOfPrimaryVertex.

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

+ Here is the caller graph for this function:

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

Definition at line 156 of file G4Event.hh.

References G4PrimaryVertex::GetNext(), and thePrimaryVertex.

Referenced by ExGflashEventAction::EndOfEventAction(), RE01EventAction::EndOfEventAction(), exGPSEventAction::EndOfEventAction(), RMC01AnalysisManager::EndOfEventForForwardSimulation(), export_G4Event(), 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 190 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 198 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 188 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 184 of file G4Event.hh.

References eventAborted.

Referenced by export_G4Event().

+ Here is the caller graph for this function:

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

Definition at line 134 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 217 of file G4Event.hh.

References anEventAllocator.

void * G4Event::operator new ( size_t  )
inline

Definition at line 211 of file G4Event.hh.

References anEventAllocator.

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

Definition at line 82 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 77 of file G4Event.cc.

References eventID.

void G4Event::Print ( void  ) const

Definition at line 87 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 118 of file G4Event.hh.

Referenced by G4DigiManager::SetDigiCollection().

+ Here is the caller graph for this function:

void G4Event::SetEventAborted ( )
inline

Definition at line 122 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 114 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 116 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 124 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 129 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 120 of file G4Event.hh.

Referenced by G4EventManager::DoProcessing().

+ Here is the caller graph for this function:

void G4Event::SetUserInformation ( G4VUserEventInformation anInfo)
inline

Definition at line 187 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 136 of file G4Event.hh.

References keepTheEvent.

Referenced by G4RunManager::RunTermination(), 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().

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.

Referenced by ~G4Event().

G4bool G4Event::validRandomNumberStatusForProcessing
private

Definition at line 108 of file G4Event.hh.

Referenced by ~G4Event().


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