Message: Re: scoring secondary heavy ions Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

None Re: scoring secondary heavy ions 

Forum: Biasing and Scoring
Re: Question scoring secondary heavy ions (Kevin Lyons)
Date: 24 Mar, 2013
From: Tsukasa Aso <Tsukasa Aso>

Hi,

  The Ions are created after the beamOn command. It means there is no entry at all for ions
when the DetectorConstruction has been called. (The other particles are static object so that 
they are available after ParticleConsturction, it is basically at the beginning of the program. )

  The particle filter has an alternative method for registration of acceptable particles.
It can specify particles by Atomic number Z and Mass number A.

void G4SDParticleFilter::addIon(G4int Z, G4int A)
  ** This accepts the particle by its Z and A only. It does not check the other conditions such as charge.
 

 For exmaple,
  G4SDParticleFilter * F20Filter = new G4SDParticleFilter(filterName="F20Filter");
  F20Filter->addIon(9,20);

    ** Also you can add more Ions if you need.

 Please try it.

  Best regards,
  Tsukasa Aso

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

1 None: Re: scoring secondary heavy ions   (Kevin Lyons - 24 Mar, 2013)
 Add Message Add Message
to: "Re: scoring secondary heavy ions"

 Subscribe Subscribe

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