Hello,
up to now I was using Geant4 10.7 …in particular, I was using the Geant4 on cvmf using the sources (that’s because if the simulation needs many time to run, I don’t need to use my computer…I run the simulation by ssh connection)
source /cvmfs/geant4.cern.ch/geant4/10.7.p01/x86_64-centos7-gcc8-optdeb-MT/bin/geant4.sh
source /cvmfs/geant4.cern.ch/geant4/10.7.p01/x86_64-centos7-gcc8-optdeb-MT/CMake-setup.sh
I was trying to add the scintillation to my simulation, but according to @weller Scintillation light - #38 by weller , the code works only by Geant4
I looked for Geant4 11 on cvmfs and I found the source
source /cvmfs/geant4.cern.ch/geant4/11.0/x86_64-centos7-gcc8-optdeb-MT/bin/geant4.sh
but, as you can see in the print screen
THERE ISN’T the source for CMake
source /cvmfs/geant4.cern.ch/geant4/11.0/x86_64-centos7-gcc8-optdeb-MT/CMake-setup.sh
then I found Geant411.00_cand01 having both the required sources
source /cvmfs/geant4.cern.ch/geant4/11.0_cand01/x86_64-centos7-gcc8-optdeb-MT/bin/geant4.sh
source /cvmfs/geant4.cern.ch/geant4/11.0_cand01/x86_64-centos7-gcc8-optdeb-MT/CMake-setup.sh
I tried to compile my simulation (that up to now I used on Geant4 10.7) by this version of Geant4 11.0_cand01 but it says that it can’t find g4analysis.hh
that is required to save on root files
looking on the B5 example of the Geant4 11 I see that it use
#include "G4AnalysisManager.hh"
then I substituted
#include "g4analysis.hh"
by
``#include “G4AnalysisManager.hh”`
but it doesn’t work, because I get the error:
@bmorgan maybe, do you know other version of Geant4?