23.2.2010 Kamil Sedlak
1) changed treatment for the odet_timeCFD determination 2) changed definition of odet_timeC and odet_timeD 3) corrected bug in execution time calculation for randomOption 3 4) corrected bug in eventID setting when randomOption=3
This commit is contained in:
@@ -492,11 +492,11 @@ void musrPrimaryGeneratorAction::SetOrReadTheRandomNumberSeeds(G4Event* anEvent)
|
||||
if (!pointerToSeedVector->empty()) {
|
||||
eventID = pointerToSeedVector->back();
|
||||
pointerToSeedVector->pop_back();
|
||||
anEvent -> SetEventID(eventID);
|
||||
}
|
||||
else {
|
||||
eventID = ++lastEventID_in_pointerToSeedVector;
|
||||
}
|
||||
anEvent -> SetEventID(eventID);
|
||||
CLHEP::HepRandom::setTheSeed(eventID);
|
||||
CLHEP::RandGauss::setFlag(false);
|
||||
// G4cout <<"musrPrimaryGeneratorAction.cc: seed will be set to="<< eventID<<G4endl;
|
||||
|
||||
Reference in New Issue
Block a user