Message: Re: The better place to GetCollectionID() Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Ok Re: The better place to GetCollectionID() 

Keywords: GetCollectionID()
Forum: Hits, Digitization and Pileup
Re: Question The better place to GetCollectionID() (Kazuyoshi Furutaka)
Re: None Re: The better place to GetCollectionID() (Makoto Asai)
Date: 09 Mar, 2005
From: Kazuyoshi Furutaka <Kazuyoshi Furutaka>

Dear Asai-san,

Thanks a lot for your quick response and clear explanation.

Is there any place where we can accumulate and share knowledge
like this? (like a kind of wiki?  Honestly I don't know what
it is ;-)
Or I'd be glad if you put this on 
or the FAQ page.

Thanks again.


>  Note that construction of sensitive detectors (and thus 
> registration of hits collections to SDManager) takes place 
> when the user issues RunManager::Initialize() method or 
> /run/initialize UI command.
>  Thus, in case user's EventAction class is instantiated
> before Runmanager::Initialize(), GetCollectionID() should
> NOT be in the constructor of EventAction. While, if the user
> has nothing to do to Geant4 before RunManager::Initialize(),
> this method can be hard-coded in the main() before the
> instantiation of EventAction (like in A01 example), so that
> GetCollectionID() could be in the constructor.

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

 Add Message Add Message
to: "Re: The better place to GetCollectionID()"

 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 ]