BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/PhySim/include/PhySim/BgsGentleGenocide.hh
Go to the documentation of this file.
1//-----------------------------------------------------------------------------
2// File and Version Information:
3// $Id: BgsGentleGenocide.hh,v 1.1 2007/10/12 07:30:20 caogf Exp $
4//
5// Description:
6// Class BgsGentleGenocide
7//
8// A process that prevents the associated particle from being tracked
9// if it has traveled more than the specified number of steps and
10// falls below the specified kinetic energy.
11//
12// To fix an apparent "loophole" in hadronic ionization for tritium
13//
14// Environment:
15// Software developed for the BaBar Detector at the SLAC B-Factory.
16//
17// Author List:
18// David Williams
19//
20// Copyright Information:
21// Copyright (C) 2001 SLAC
22//
23//-----------------------------------------------------------------------------
24
25#ifndef BgsGentleGenocide_hh
26#define BgsGentleGenocide_hh
27
28#include "BgsGenocide.hh"
29
30class BgsGentleGenocide : public BgsGenocide {
31public:
32 BgsGentleGenocide( G4double theMaxKineticEnergy, G4int theMinNumberSteps,
33 const G4String& name = "BgsGentleGenocide",
34 G4ProcessType type = fUserDefined );
36
37 //
38 // Derived methods
39 //
40 virtual G4double PostStepGetPhysicalInteractionLength( const G4Track& track,
41 G4double previousStepSize,
42 G4ForceCondition* condition );
43
44protected:
45 G4double maxKineticEnergy;
46 G4int minNumberSteps;
47};
48
49#endif
BgsGentleGenocide(G4double theMaxKineticEnergy, G4int theMinNumberSteps, const G4String &name="BgsGentleGenocide", G4ProcessType type=fUserDefined)
virtual ~BgsGentleGenocide()
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)