Message: Re: How do I get the list of registered sensitive detectors? Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How do I get the list of registered sensitive detectors? 

Forum: Hits, Digitization and Pileup
Re: Question How do I get the list of registered sensitive detectors? (Jeremy McCormick)
Re: Idea Re: How do I get the list of registered sensitive detectors? (Michael H. Kelsey)
Re: None Re: How do I get the list of registered sensitive detectors? (Jan Weidner)
Date: 26 Mar, 2018
From: Michael H. Kelsey <Michael H. Kelsey>

Jan Weidner writes:
> Same problem here. Note that ListTree just prints the SDs but does not
> yield an iterable list.

IN G4SDManager.hh, I see that inlined ListTree() calls treeTop->ListTree(),
and just above that definition I see GetTreeTop() returns G4SDStructure*
treeTop itself, which you can iterate through.  See G4SDStructure.hh for how
to do that.
     -- Michael Kelsey

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

1 Ok: Re: How do I get the list of registered sensitive detectors?   (Jan Weidner - 28 Mar, 2018)
(_ None: Re: How do I get the list of registered sensitive detectors?   (Jan Weidner - 29 Mar, 2018)
 Add Message Add Message
to: "Re: How do I get the list of registered sensitive detectors?"

 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 ]