Hi,
I would appreciate to have scoring active in G4beamline. I have used
Geant4 scoring with macro commands in Geant4 already.
I tried to build G4beamline 3.06 with the modifications you gave, but
I'd expect the scoring commands appear in the "Scene tree, Help, History"
menu, but nothing is there. Is that expected?
Maybe I put the extra lines in the wrong places? Where exactly should I
put the line in the main {} section? I put it right before the
delete mgr;
line.
Having a geant4.10.5-version with GDML support, I also tried to include
the line
G4GDMLParser parser;
together with the corresponding header file
#include "G4GDMLParser.hh"
I thought that would allow me to access the "persistency" commands menu
for gdml im- and export. But also this does not show up.
Any help would be appreciated -
Stefan
--
Stefan E. Mueller
Department of Information Services and Computing - Computational Science
and Institute of Radiation Physics
Helmholtz-Zentrum Dresden-Rossendorf
Tel:
+49 (0351) 260 3847
Stefan....@hzdr.de
http://www.hzdr.de
Vorstand: Prof. Dr. Dr. h. c. Roland Sauerbrey, Dr. Ulrich Breuer
Vereinsregister: VR 1693 beim Amtsgericht Dresden
On Tue, 26 Feb 2019, Volodymyr Rodin wrote:
> Hi everyone,
> Quite a few people had already asked me about more simple obtaining of
> energy deposition dependence from detector depth (similar to a Bragg peak).
> As far as I know, the easiest way in Geant4 is a Scoring Mesh. Keep in mind
> that the translation of the mesh is in Global coordinates
>
> It also perfectly works in g4beamline after adding 2 lines in g4bl.cc:
>
> #include "G4ScoringManager.hh"
>
> main section
> {
> G4ScoringManager * scManager = G4ScoringManager::GetScoringManager();
> }
>
> Some demonstration for target example
>
> Annotation 2019-02-26 194352.png Best regards, Volodymyr Rodin
>
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "G4Beamline" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to
g4beamline+...@muonsinc.com.
> To post to this group, send email to
g4bea...@muonsinc.com.
> Visit this group at
>
https://groups.google.com/a/muonsinc.com/group/g4beamline/.
>
>