Message: extended/electromagnetic/TestEm5 G4Element* Cr with z=25 Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None extended/electromagnetic/TestEm5 G4Element* Cr with z=25 

Forum: Documentation and Examples
Date: 10 Mar, 2017
From: Dario Lattuada <Dario Lattuada>

Hello,

At line 184 of DetectorConstruction.cc of extended/electromagnetic/TestEm5 example (I guess any version up to 10.2.1) there's a bad instantiation of a G4Element* Cr with z=25 (instead of z=24), for the havar definition:

G4Element* Cr = new G4Element("Chrome", "Cr", z=25, a= 51.996*g/mole);

Besides the trivial fix, I wonder why NO ERROR or WARNING is issued. Also, will it be Mn (z=25) or Cr (z=24) or some new psuedoelement halfway (depending on the process maybe)? I need to be sure about it because I'm currently performing some data analysis using this "wrong" copied&pasted Cr definition for havar.

My guess is that since in the GetMaterialTable() function prints a Cr element with z=25, the wrong z=24 call in the instatiation is just neglected, but then what's the use of it?

Thank you for your answer, Dario

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

1 None: Re: extended/electromagnetic/TestEm5 G4Element* Cr with z=25   (Dario Lattuada - 10 Mar, 2017)
(_ Idea: Re: extended/electromagnetic/TestEm5 G4Element* Cr with z=25   (Vladimir Ivanchenko - 10 Mar, 2017)
(_ None: Re: extended/electromagnetic/TestEm5 G4Element* Cr with z=25   (Dario Lattuada - 13 Mar, 2017)
 Add Message Add Message
to: "extended/electromagnetic/TestEm5 G4Element* Cr with z=25"

 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 ]