Message: Re: Error compiling example in Cygwin Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: Error compiling example in Cygwin 

Forum: Documentation and Examples
Re: None Error compiling example in Cygwin (Jonathan Porter)
Date: 13 Aug, 2012
From: Ivana Hrivnacova <Ivana Hrivnacova>

You can change the line:
  Target4Momentum.setVectM(0.,aTarget->GetPDGMass());
with
  Target4Momentum.setVectM(G4ThreeVector(0.,0.,0.).,aTarget->GetPDGMass());

Best regards,

 Add Message Add Message
to: "Re: Error compiling example in Cygwin"

 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 ]