Message: Access to G4 event number from a new EM process Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Question Access to G4 event number from a new EM process 

Forum: Event and Track Management
Date: 18 Jul, 2017
From: Soman <Soman>

Hi,

I am implementing a new process in the Electromagnetic Processes in Geant4. I need to access the event ID number in a PostStepDoIt (const G4Track& aTrack, const G4Step& aStep) procedure in my new process.

I found some related information from a similar post (http://hypernews.slac.stanford.edu/HyperNews/geant4/get/eventtrackmanage/996.html) , but none of solutions worked for the process, even when I included G4Event and G4EventManager (Actually geant4 compilation didnít allow me to include those in my process!).

Could someone please give me a clue how I can get the event ID number in such a process?

Thanks in advance. Best, Soman

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Idea: Re: Access to G4 event number from a new EM process   (Soman - 20 Jul, 2017)
 Add Message Add Message
to: "Access to G4 event number from a new EM process"

 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 ]