Message: Re: Ambiguous hit collection Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Idea Re: Ambiguous hit collection 

Forum: Biasing and Scoring
Re: Question Ambiguous hit collection (Noah Steinberg)
Date: 20 Sep, 2017
From: Tim Meehan <Tim Meehan>

I'm pretty new to Geant4, but I figured that the string "is ambiguous" would be easy to find in the codebase. As far as I can tell, it shows up in G4SDManager::GetCollectionID(G4String).

The test performed in that code is comparing a return value from a G4HCTable member of the G4SDManager. It seems that the -2 returned by G4HCtable::GetCollectionID(G4String) happens when the name supplied as the G4String is in the list of names two (or more) times.

Hope that helps ...

 Add Message Add Message
to: "Re: Ambiguous hit collection"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews