Message: Re: EventAction never kicks in? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: EventAction never kicks in? 

Forum: Event and Track Management
Re: None EventAction never kicks in? (Erik Almhagen)
Date: 28 Mar, 2017
From: Erik Almhagen <Erik Almhagen>

And I just figured it out. Forgot to capitilize B and E in the EventAction class member function names. Compiler didn't catch it and the program runs, but I was not overriding the member functions of the G4UserEventAction base class, so my derived class member functions never ran. Things work now, anyway!

 Add Message Add Message
to: "Re: EventAction never kicks in?"

 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 ]