OSCAR simulated V0 daughters
- CMKIN datacard parameters
MSTJ(22)=2 A particle is decayed only if its proper lifetime is smaller than PARJ(71), which is set to cτ = 10 mm. Strange particles are "stable", charm and bottom decay.
- Mantis/MantisApplication: add to src/NewTrackAction.cc
#include "G4VProcess.hh"
// Lengths are in mm for OSCAR!
if( (aTrack->GetCreatorProcess()->GetProcessType() == fElectromagnetic &&
aTrack->GetCreatorProcess()->GetProcessName() == "conv") ||
(aTrack->GetCreatorProcess()->GetProcessType() == fDecay &&
aTrack->GetCreatorProcess()->GetProcessName() == "Decay") )
if(fabs(aTrack->GetPosition().z()) < 50. * 10 &&
fabs(aTrack->GetPosition().perp()) < 15. * 10)
trkInfo->storeTrack(true);
ORCA compilation |