Message: Re: Total number of events per run Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Total number of events per run 

Forum: Run Management
Re: Question Total number of events per run
Date: 16 Sep, 2010
From: Cheick Thiam <Cheick Thiam>

You can get the number of events in the run by this command in :

void RunAction::BeginOfRunAction(const G4Run* aRun){

   G4int nbEventInRun = theRun->GetNumberOfEventToBeProcessed();
}

I hope that this helps.

 Add Message Add Message
to: "Re: Total number of events per run"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews


[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]