58 inline void *
operator new(size_t);
59 inline void operator delete(
void* anEvent);
83 G4int numberOfPrimaryVertex;
103 G4bool validRandomNumberStatus;
106 G4String* randomNumberStatusForProcessing;
107 G4bool validRandomNumberStatusForProcessing;
120 { trajectoryContainer = value; }
122 { eventAborted =
true; }
125 randomNumberStatus =
new G4String(st);
126 validRandomNumberStatus =
true;
130 randomNumberStatusForProcessing =
new G4String(st);
131 validRandomNumberStatusForProcessing =
true;
134 { keepTheEvent = vl; }
136 {
return keepTheEvent; }
144 if( thePrimaryVertex == 0 )
145 { thePrimaryVertex = aPrimaryVertex; }
147 { thePrimaryVertex->
SetNext( aPrimaryVertex ); }
148 numberOfPrimaryVertex++;
153 {
return numberOfPrimaryVertex; }
158 {
return thePrimaryVertex; }
159 else if( i > 0 && i < numberOfPrimaryVertex )
162 for(
G4int j=0; j<i; j++ )
164 if( primaryVertex == 0 )
return 0;
165 primaryVertex = primaryVertex->
GetNext();
167 return primaryVertex;
178 {
return trajectoryContainer; }
191 if(!validRandomNumberStatus)
193 "G4Event::GetRandomNumberStatus",
"Event0701",
JustWarning,
194 "Random number status is not available for this event."); }
195 return *randomNumberStatus;
199 if(!validRandomNumberStatusForProcessing)
201 "G4Event::GetRandomNumberStatusForProcessing",
"Event0702",
203 "Random number status is not available for this event."); }
204 return *randomNumberStatusForProcessing;
208#if defined G4EVENT_ALLOC_EXPORT
214inline void* G4Event::operator
new(size_t)
221inline void G4Event::operator
delete(
void* anEvent)
G4DLLIMPORT G4Allocator< G4Event > anEventAllocator
G4int GetNumberOfPrimaryVertex() const
const G4String & GetRandomNumberStatus() const
G4TrajectoryContainer * GetTrajectoryContainer() const
void SetRandomNumberStatus(G4String &st)
void KeepTheEvent(G4bool vl=true)
G4HCofThisEvent * GetHCofThisEvent() const
void SetRandomNumberStatusForProcessing(G4String &st)
void SetDCofThisEvent(G4DCofThisEvent *value)
G4PrimaryVertex * GetPrimaryVertex(G4int i=0) const
const G4String & GetRandomNumberStatusForProcessing() const
G4DCofThisEvent * GetDCofThisEvent() const
void SetHCofThisEvent(G4HCofThisEvent *value)
void SetUserInformation(G4VUserEventInformation *anInfo)
void AddPrimaryVertex(G4PrimaryVertex *aPrimaryVertex)
G4int operator==(const G4Event &right) const
G4VUserEventInformation * GetUserInformation() const
G4int operator!=(const G4Event &right) const
void SetTrajectoryContainer(G4TrajectoryContainer *value)
void SetNext(G4PrimaryVertex *nv)
G4PrimaryVertex * GetNext() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)