59 inline void *
operator new(size_t);
60 inline void operator delete(
void* anEvent);
84 G4int numberOfPrimaryVertex;
104 G4bool validRandomNumberStatus;
107 G4String* randomNumberStatusForProcessing;
108 G4bool validRandomNumberStatusForProcessing;
122 { trajectoryContainer =
value; }
124 { eventAborted =
true; }
127 randomNumberStatus =
new G4String(st);
128 validRandomNumberStatus =
true;
132 randomNumberStatusForProcessing =
new G4String(st);
133 validRandomNumberStatusForProcessing =
true;
136 { keepTheEvent = vl; }
138 {
return keepTheEvent; }
145 "Number of grips becames negative. This cannot be correct."); }
156 if( thePrimaryVertex ==
nullptr )
157 { thePrimaryVertex = aPrimaryVertex; }
159 { thePrimaryVertex->
SetNext( aPrimaryVertex ); }
160 numberOfPrimaryVertex++;
165 {
return numberOfPrimaryVertex; }
170 {
return thePrimaryVertex; }
171 else if( i > 0 && i < numberOfPrimaryVertex )
174 for(
G4int j=0; j<i; j++ )
176 if( !primaryVertex )
return nullptr;
177 primaryVertex = primaryVertex->
GetNext();
179 return primaryVertex;
190 {
return trajectoryContainer; }
203 if(!validRandomNumberStatus)
205 "G4Event::GetRandomNumberStatus",
"Event0701",
JustWarning,
206 "Random number status is not available for this event."); }
207 return *randomNumberStatus;
211 if(!validRandomNumberStatusForProcessing)
213 "G4Event::GetRandomNumberStatusForProcessing",
"Event0702",
215 "Random number status is not available for this event."); }
216 return *randomNumberStatusForProcessing;
222 inline void* G4Event::operator
new(size_t)
228 inline void G4Event::operator
delete(
void* anEvent)
G4VUserEventInformation * GetUserInformation() const
const G4String & GetRandomNumberStatusForProcessing() const
G4int GetNumberOfPrimaryVertex() const
G4int GetNumberOfGrips() const
G4int operator==(const G4Event &right) const
void AddPrimaryVertex(G4PrimaryVertex *aPrimaryVertex)
void SetRandomNumberStatusForProcessing(G4String &st)
void SetHCofThisEvent(G4HCofThisEvent *value)
G4EVENT_DLL G4ThreadLocal G4Allocator< G4Event > * anEventAllocator
G4TrajectoryContainer * GetTrajectoryContainer() const
const G4String & GetRandomNumberStatus() const
void SetUserInformation(G4VUserEventInformation *anInfo)
const XML_Char int const XML_Char * value
void KeepForPostProcessing() const
void SetNext(G4PrimaryVertex *nv)
G4PrimaryVertex * GetPrimaryVertex(G4int i=0) const
G4PrimaryVertex * GetNext() const
void PostProcessingFinished() const
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
void SetRandomNumberStatus(G4String &st)
void SetDCofThisEvent(G4DCofThisEvent *value)
G4HCofThisEvent * GetHCofThisEvent() const
void SetTrajectoryContainer(G4TrajectoryContainer *value)
G4DCofThisEvent * GetDCofThisEvent() const
void KeepTheEvent(G4bool vl=true)
G4int operator!=(const G4Event &right) const