Message: Re: How to suppress G4ParticleChange::DumpInfo() output to terminal Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: How to suppress G4ParticleChange::DumpInfo() output to terminal 

Forum: Processes Involving Optical Photons
Re: Question How to suppress G4ParticleChange::DumpInfo() output to terminal (matthew)
Re: Feedback Re: How to suppress G4ParticleChange::DumpInfo() output to terminal (Gumplinger Peter)
Date: 20 Mar, 2015
From: matthew <matthew>

Hi Peter,

If tried setting everything to zero. Everything I know how to set, for example:
(in the physics list)
G4Cerenkov* cerenkovProcess = new G4Cerenkov("Cerenkov");
  G4Scintillation* scintillationProcess = new G4Scintillation("Scintillation");
  G4OpAbsorption* absorptionProcess = new G4OpAbsorption();
  G4OpRayleigh* rayleighScatteringProcess = new G4OpRayleigh();
  G4OpMieHG* mieHGScatteringProcess = new G4OpMieHG();
  G4OpBoundaryProcess* boundaryProcess = new G4OpBoundaryProcess();

  cerenkovProcess->SetVerboseLevel(0);
  scintillationProcess->SetVerboseLevel(0);
  absorptionProcess->SetVerboseLevel(0);
  rayleighScatteringProcess->SetVerboseLevel(0);
  mieHGScatteringProcess->SetVerboseLevel(0);
  boundaryProcess->SetVerboseLevel(0);


(and in the macro)
/control/verbose 0
/tracking/verbose 0
/event/verbose 0
/process/setVerbose 0


but i still get this output to the terminal (thousands and thousands of times):

-----------------------------------------------
        G4ParticleChange Information
      -----------------------------------------------
        # of 2ndaries : 0
      -----------------------------------------------
        Energy Deposit (MeV): 0
        Non-ionizing Energy Deposit (MeV): 0
        Track Status : StopAndKill
        True Path Length (mm) : -3.22e-09
        Stepping Control : 0
        Mass (GeV) : 0
        Charge (eplus) : 0
        MagneticMoment : 0
                : = 0*[e hbar]/[2 m]
        Position - x (mm) : 0.0535
        Position - y (mm) : 0.49
        Position - z (mm) : -25
        Time (ns) : 0.0496
        Proper Time (ns) : 0
        Momentum Direct - x : 0.675
        Momentum Direct - y : -0.684
        Momentum Direct - z : 0.277
        Kinetic Energy (MeV): 2.62e-06
        Velocity (/c): 0.662
        Polarization - x : 0.38
        Polarization - y : 0.000444
        Polarization - z : -0.925

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

1 Feedback: Re: How to suppress G4ParticleChange::DumpInfo() output to terminal   (Gumplinger Peter - 20 Mar, 2015)
 Add Message Add Message
to: "Re: How to suppress G4ParticleChange::DumpInfo() output to terminal"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews