Message: How to check whether 2nd e- is produced? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None How to check whether 2nd e- is produced? 

Forum: Event and Track Management
Date: 18 May, 2016
From: Yigong Zhang <Yigong Zhang>

Here's my code:

G4TrackVector* secondaries = fpTrackingManager->GimmeSecondaries();
    if (secondaries)
    {
        G4cout << "2nd " << G4endl;
    }

Then, no matter whether 2nd is created, "2nd" is printed.

Can anyone help?

YZ

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

1 Feedback: Re: How to check whether 2nd e- is produced?   (Gumplinger Peter - 18 May, 2016)
 Add Message Add Message
to: "How to check whether 2nd e- is produced?"

 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 ]