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

Question The better place to GetCollectionID() 

Keywords: GetCollectionID()
Forum: Hits, Digitization and Pileup
Date: 08 Mar, 2005
From: Kazuyoshi Furutaka <Kazuyoshi Furutaka>

Hi all.

Which is the better place to invoke G4SDManager->GetCollectionID()
in a user event action class, in its constructor? or in the
BeginOfEventAction()?

I've tested using examples/novice/N02 and examples/extended/analysis/A01.
In the constructor of the former example, I couldn't get the correct
ID, while in the latter I could.
Are there any differences in the two examples?
(In both case I could obtain the correct ID in BeginOfEventAction())

Many thanks in advance.
Kazuyoshi

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

1 None: Re: The better place to GetCollectionID()   (Makoto Asai - 08 Mar, 2005)
1 Ok: Re: The better place to GetCollectionID()   (Kazuyoshi Furutaka - 09 Mar, 2005)
3 None: Re: The better place to GetCollectionID()   (Makoto Asai - 08 Mar, 2005)
 Add Message Add Message
to: "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 ]