Message: Run-time problem in example advanced/gammaray_telescope Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Sad Run-time problem in example advanced/gammaray_telescope 

Keywords: unknown commands, gammaray_telescope
Forum: Documentation and Examples
Date: 18 Dec, 2006
From: Henning Gast <Henning Gast>

Hi,

I encountered the following run-time problem when running example
advanced/gammaray_telesope in G4.8.2 with the provided macro1.mac:
The /gun/particle command is unknown to G4.
This seems to be due to the fact that some /gun/... commands are
created in the GammaRayTelPrimaryGeneratorMessenger class.
Naturally, this causes the macro to fail.

The output follows:

*************************************************************
 Geant4 version Name: geant4-08-02    (15-December-2006)
                      Copyright : Geant4 Collaboration
                      Reference : NIM A 506 (2003), 250-303
                            WWW : http://cern.ch/geant4
*************************************************************

Visualization Manager instantiating...
Visualization Manager initialising...
Registering graphics systems...

You have successfully registered the following graphics systems.
Current available graphics systems are:
  ASCIITree (ATree)
  DAWNFILE (DAWNFILE)
  GAGTree (GAGTree)
  G4HepRep (HepRepXML)
  G4HepRepFile (HepRepFile)
  RayTracer (RayTracer)
  VRML1FILE (VRML1FILE)
  VRML2FILE (VRML2FILE)
  FukuiRenderer (DAWN)
  OpenGLImmediateX (OGLIX)
  OpenGLStoredX (OGLSX)
  VRML1 (VRML1)
  VRML2 (VRML2)

Registering model factories...

You have successfully registered the following model factories.
Registered model factories:
  generic
  drawByCharge
  drawByParticleID
  drawByOriginVolume
  drawByAttribute

Registered filter factories:
  chargeFilter
  particleFilter
  originVolumeFilter
  attributeFilter

/control/saveHistory
/run/verbose 1
/gun/sourceGen true
/run/initialize

***** Table : Nb of materials = 10 *****

 Material: Tungsten     density: 19.300 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   3.504 mm 
   --->  Element: Tungsten ( )   Z = 74.0   N = 183.8   A = 183.84 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material: Scintillator     density:  1.032 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:  42.549 cm 
   --->  Element: Carbon (C)   Z =  6.0   N =  12.0   A =  12.01 g/mole  ElmMassFraction:  91.45 %  ElmAbundance  47.37 %
   --->  Element: Hydrogen (H)   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction:   8.55 %  ElmAbundance  52.63 %

 Material: CesiumIodide     density:  4.530 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.852 cm 
   --->  Element: Cesium (Cs)   Z = 55.0   N = 132.9   A = 132.91 g/mole  ElmMassFraction:  51.15 %  ElmAbundance  50.00 %
   --->  Element: Iodine (I)   Z = 53.0   N = 126.9   A = 126.90 g/mole  ElmMassFraction:  48.85 %  ElmAbundance  50.00 %

 Material:      Air     density:  1.290 mg/cm3  temperature: 273.15 K  pressure:   1.00 atm  RadLength: 285.049 m  
   --->  Element: Nitrogen (N)   Z =  7.0   N =  14.0   A =  14.01 g/mole  ElmMassFraction:  70.00 %  ElmAbundance  72.71 %
   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  15.99 g/mole  ElmMassFraction:  30.00 %  ElmAbundance  27.29 %

 Material: Aluminum     density:  2.700 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   8.893 cm 
   --->  Element: Aluminum (Al)   Z = 13.0   N =  27.0   A =  26.98 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material:  Silicon     density:  2.333 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   9.356 cm 
   --->  Element: Silicon (Si)   Z = 14.0   N =  28.1   A =  28.09 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material:     Iron     density:  7.870 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   1.758 cm 
   --->  Element: Iron (Fe)   Z = 26.0   N =  55.8   A =  55.84 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material:     Lead     density: 11.350 g/cm3   temperature: 273.15 K  pressure:   1.00 atm  RadLength:   5.612 mm 
   --->  Element: Lead (Pb)   Z = 82.0   N = 207.2   A = 207.19 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material: Galactic     density:  0.000 kg/m3   temperature:   2.73 K  pressure:   0.00 atm  RadLength: 204727576.737 pc 
   --->  Element: Galactic ( )   Z =  1.0   N =   1.0   A =   1.01 g/mole  ElmMassFraction: 100.00 %  ElmAbundance 100.00 %

 Material:     Beam     density:  0.010 kg/m3   temperature: 273.15 K  pressure:   0.02 atm  RadLength:  36.771 km 
   --->  Element: Nitrogen (N)   Z =  7.0   N =  14.0   A =  14.01 g/mole  ElmMassFraction:  70.00 %  ElmAbundance  72.71 %
   --->  Element: Oxygen (O)   Z =  8.0   N =  16.0   A =  15.99 g/mole  ElmMassFraction:  30.00 %  ElmAbundance  27.29 %


2 LAT 
1 TOP 

------------------------------------------------------------
---> The Tracker is 15 layers of:  0.3mm of Tungsten
------------------------------------------------------------
GammaRayTelPhysicsList::SetCuts: default cut length : 1 mm 
/control/execute emstd.mac
/process/inactivate LowEnRayleigh   gamma
/run/physicsModified
/process/inactivate LowEnPhotoElec  gamma
/run/physicsModified
/process/inactivate LowEnCompton    gamma
/run/physicsModified
/process/inactivate LowEnConversion gamma
/run/physicsModified
/process/activate   phot            gamma
/run/physicsModified
/process/activate   compt           gamma
/run/physicsModified
/process/activate   conv            gamma
/run/physicsModified
/process/inactivate LowEnergyIoni   
/run/physicsModified
/process/inactivate LowEnBrem       
/run/physicsModified
/process/activate   eIoni           
/run/physicsModified
/process/activate   eBrem           
/run/physicsModified
/process/list
     Transportation,              Decay,               phot,              compt
               conv,     LowEnPhotoElec,       LowEnCompton,    LowEnConversion
      LowEnRayleigh,              eBrem,              eIoni,          LowEnBrem
      LowEnergyIoni,                msc,            annihil,             muIoni
            muBrems,         muPairProd,muMinusCaptureAtRest,              hIoni
           LElastic,  PionPlusInelastic, PionMinusInelastic,PiMinusAbsorptionAtRest
  KaonPlusInelastic, KaonMinusInelastic, KaonZeroLInelastic, KaonZeroSInelastic
    ProtonInelastic,AntiProtonInelastic,AntiProtonAnnihilationAtRest,   NeutronInelastic
           LFission,           LCapture,AntiNeutronInelastic,AntiNeutronAnnihilationAtRest
    LambdaInelastic,AntiLambdaInelastic,SigmaMinusInelastic,AntiSigmaMinusInelastic
 SigmaPlusInelastic,AntiSigmaPlusInelastic,   XiMinusInelastic,AntiXiMinusInelastic
    XiZeroInelastic,AntiXiZeroInelastic,OmegaMinusInelastic,AntiOmegaMinusInelastic
  DeuteronInelastic,    TritonInelastic,     AlphaInelastic
/gun/particle gamma
***** COMMAND NOT FOUND </gun/particle gamma> *****
***** Command ignored *****
Graphics systems deleted.
Visualization Manager deleting...
G4 kernel has come to Quit state.


Cheers
Henning

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

1 None: Re: Run-time problem in example advanced/gammaray_telescope   (Francesco Longo - 19 Dec, 2006)
 Add Message Add Message
to: "Run-time problem in example advanced/gammaray_telescope"

 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 ]