Message: Re: HepMC examples and 4.10.03 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Feedback Re: HepMC examples and 4.10.03 

Forum: Installation and Configuration
Re: Question HepMC examples and 4.10.03 (Bryan Wright)
Re: Idea Re: HepMC examples and 4.10.03 (Ben Morgan)
Date: 07 Feb, 2017
From: Bryan Wright <Bryan Wright>

        Thanks to Ben Morgan for his advice re c++11.  Re-compiling the HepMC libs with a later version of gcc fixed that problem.

        I subsequently ran into another error that seems to be due to a typo in one of the HepMC example files, though:

/scratch/bkw1a/geant4.10.03/examples/extended/eventgenerator/HepMC/MCTruth/src/ In constructor ‘MCTruthManager::MCTruthManager()’:
/scratch/bkw1a/geant4.10.03/examples/extended/eventgenerator/HepMC/MCTruth/src/ error: class ‘MCTruthManager’ does not have any field named ‘event’
 MCTruthManager::MCTruthManager() : event(0), fConfig(0) 
If I edit and change "event(0)" to "fEvent(0)", the error goes away.

        Also, references to "directParent" in MCTruthTrackInformation.hh seem to want to
be "fDirectParent".


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

1 None: Re: HepMC examples and 4.10.03   (Witek Pokorski - 10 Apr, 2017)
 Add Message Add Message
to: "Re: HepMC examples and 4.10.03"

 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 ]