Tsld015

    virtual void beginOfEventAction()


    • invoked by G4EventManager
      • after invoking to G4VUserPrimaryGeneratorAction
      • after initializing stacks and sensitive detectors
      • G4PrimaryParticle objects exist but no G4Track object
    • to do
      • initialize Vis and draw the detector

    virtual void endOfEventAction()

    • invoked by G4EventManager
      • at the end of processing one event
    • to do
      • draw hits and/or trajectories
      • analysis of the current event (if you want)

Previous slide Next slide Back to first slide View graphic version