Message: Re: Question on G4Event with multiple primary vertices Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: Question on G4Event with multiple primary vertices 

Forum: Event and Track Management
Re: Question Question on G4Event with multiple primary vertices (Tom Roberts)
Date: 13 Nov, 2013
From: Gumplinger Peter <Gumplinger Peter>

> A G4Event can have multiple pointers to G4PrimaryVertex.

Why do you say that?

> G4PrimaryVertex can hold a pointer to a "next" G4PrimaryVertex.

Correct.

> For an event with multiple primary vertices, which should be used, the
> "vector" in G4Event or the linked-list in G4PrimaryVertex?

I don't see a "vector" and I can only find examples that use the linked-list:

http://www-geant4.kek.jp/lxr/source//examples/extended/runAndEvent/RE01/src/RE01EventAction.cc#L140

when AddPrimaryVertex was employed earlier.

http://www-geant4.kek.jp/lxr/source/event/include/G4Event.hh#L142

 Add Message Add Message
to: "Re: Question on G4Event with multiple primary vertices"

 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 ]