Message: G4ParticleDefinition.icc Line 105 error !!! Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None G4ParticleDefinition.icc Line 105 error !!! 

Keywords: Typo
Forum: Particles
Date: 10 Oct, 2003
From: Denis <D.Bertini@gsi.de>

Hi Guys, 
Just for information. 
 In the newest version Geant4.5.2.p02.
In the inline include file G4ParticleDefinition.icc at line 105
there is a typo please correct: 

inline
 G4int G4ParticleDefinition::GetAntiQuarkContent(G4int flavor) const 
{ 
  if ((flavor>0) && (flavor<=NumberOfQuarkFlavor)){
    return theAntiQuarkContent[flavor-1];
  }else {
#ifdef G4VERBOSE
    if (verboseLevel >0) {
      G4cout <<"Invalid Quark Flavor for G4ParticleDefinition::GetAntiQuarkContent";
      G4cout << ": flavor=" << flavor <<G4endl;
    }
    return 0;
//} <<--- original bracket is here     
#endif
} // <--- should be placed here !!
}

 Regards 

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

1 None: Re: G4ParticleDefinition.icc Line 105 error !!!   (Vladimir IVANTCHENKO - 10 Oct, 2003)
 Add Message Add Message
to: "G4ParticleDefinition.icc Line 105 error !!!"

 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 ]