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

None Re: G4ParticleDefinition.icc Line 105 error !!! 

Forum: Particles
Re: None G4ParticleDefinition.icc Line 105 error !!! (Denis)
Date: 10 Oct, 2003
From: Vladimir Ivanchenko <Vladimir Ivanchenko>

Thanks Denis. 
This typo have been fixed recently.

VI 

On Fri, 10 Oct 2003, Denis wrote:

> *** Discussion title: Particles
> Email replies to PublicHyperNews@slac.stanford.edu must include:
>   In-Reply-To: <"/particles/44"@geant4-hn.slac.stanford.edu>
>   Subject: ...change this to be about your reply.
> 
> 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)

 Add Message Add Message
to: "Re: 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 ]