|Message: rdecay02 compilation error||Not Logged In (login)|
Click on the Forum title, e.g. on the "Forums by Category" page, to read a sequence of postings to the Forum and its threads all in one page. If you are only interested in one thread or the thread following a specific posting, click the thread or the posting, which takes you to a smaller page, which contains only the part you are interested in and may be easier to navigate.
Messages are "chained" if there are only replies at the first level, i.e. 1/1.html, 1/1/1.html etc. In case of "chained" messages the message number is replaced by the icon and there is no indentation.
Inline: Display the subject line only or also the text of the posting(s); for the choice "All" the "Outline" choices are switched off.
|1||0||1||no text / full text of posting|
|2||1||All||text for level 1 only / text for All postings|
Outline: Choose the depth of the posting thread, successive toggle controls provide increasing detail.
|1||2||1||2 levels / 1 level (original posting)|
|2||3||2||3 levels / 2 levels|
|3||3||All||3 levels / all levels (all postings)|
I am working on rdecay02 example. I was able to compile the example and now I am trying to use root for histograms. first I added the following line to my bash file to activate the root analysis:
and now I have problem with compilation, it gives me the following error:
Making dependency for file rdecay02.cc ... Making dependency for file src/exrdmSteppingAction.cc ... Making dependency for file src/exrdmRunAction.cc ... Making dependency for file src/exrdmPrimaryGeneratorAction.cc ... Making dependency for file src/exrdmPhysListParticles.cc ... Making dependency for file src/exrdmPhysListHadron.cc ... Making dependency for file src/exrdmPhysListEmLowEnergy.cc ... Making dependency for file src/exrdmPhysicsListMessenger.cc ... Making dependency for file src/exrdmPhysicsList.cc ... Making dependency for file src/exrdmMaterialMessenger.cc ... Making dependency for file src/exrdmMaterial.cc ... Making dependency for file src/exrdmHistoMessenger.cc ... Making dependency for file src/exrdmHisto.cc ... Making dependency for file src/exrdmEventActionMessenger.cc ... Making dependency for file src/exrdmEventAction.cc ... Making dependency for file src/exrdmEnergyDeposition.cc ... Making dependency for file src/exrdmDetectorMessenger.cc ... Making dependency for file src/exrdmDetectorConstruction.cc ... Making dependency for file src/exrdmAnalysisManager.cc ... Compiling exrdmAnalysisManager.cc ... Compiling exrdmDetectorConstruction.cc ... Compiling exrdmDetectorMessenger.cc ... Compiling exrdmEnergyDeposition.cc ... Compiling exrdmEventAction.cc ... Compiling exrdmEventActionMessenger.cc ... Compiling exrdmHisto.cc ... src/exrdmHisto.cc: In member function ‘void exrdmHisto::addTuple(const G4String&, const G4String&, const G4String&)’: src/exrdmHisto.cc:338: error: ‘w3’ was not declared in this scope /home/user/Geant4.9.4/CLHEP/include/CLHEP/Units/PhysicalConstants.h: At global scope: /home/user/Geant4.9.4/CLHEP/include/CLHEP/Units/PhysicalConstants.h:80: warning: ‘CLHEP::electron_charge’ defined but not used make: *** [/home/user/geant4/tmp/Linux-g++/rdecay02/exrdmHisto.o] Error 1
If I understand correctly the main problem is with "w3" variable in the exrdmHisto.cc. I wasn't able to track it down so far. I would greatly appreciate any help with resolving this issue.
Thank you very much in advance!