36 #include "G4HCofThisEvent.hh"
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
214 inline void* G4Event::operator
new(size_t)
221 inline void G4Event::operator
delete(
void* anEvent)