BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/PhySim/include/PhySim/BgsGenocide.hh
Go to the documentation of this file.
1//-----------------------------------------------------------------------------
2// File and Version Information:
3// $Id: BgsGenocide.hh,v 1.1 2007/10/12 07:30:20 caogf Exp $
4//
5// Description:
6// Class BgsGenocide
7//
8// A process that prevents the associated particle from being tracked.
9// Appropriate, for example, for neutrinos
10//
11// Environment:
12// Software developed for the BaBar Detector at the SLAC B-Factory.
13//
14// Author List:
15// David Williams
16//
17// Copyright Information:
18// Copyright (C) 2001 SLAC
19//
20// Created:
21// Modification history:
22//
23//-----------------------------------------------------------------------------
24
25#ifndef BgsGenocide_hh
26#define BgsGenocide_hh
27
28#include "G4VProcess.hh"
29#include "globals.hh"
30
31class BgsGenocide : public G4VProcess {
32public:
33 BgsGenocide( const G4String& name = "BgsGenocide", G4ProcessType type = fUserDefined );
34 virtual ~BgsGenocide();
35
36 //
37 // Derived methods
38 //
39 virtual G4double PostStepGetPhysicalInteractionLength( const G4Track& track,
40 G4double previousStepSize,
41 G4ForceCondition* condition );
42
43 virtual G4VParticleChange* PostStepDoIt( const G4Track& track, const G4Step& step );
44
45 virtual G4double AlongStepGetPhysicalInteractionLength( const G4Track&,
46 G4double previousStepSize,
47 G4double currentMinimumStep,
48 G4double& currentSafety,
49 G4GPILSelection* selection ) {
50 return -1.0;
51 }
52
53 virtual G4VParticleChange* AlongStepDoIt( const G4Track& track, const G4Step& step ) {
54 return 0;
55 }
56
57 virtual G4double AtRestGetPhysicalInteractionLength( const G4Track& track,
58 G4ForceCondition* force ) {
59 return -1.0;
60 }
61
62 virtual G4VParticleChange* AtRestDoIt( const G4Track& track, const G4Step& step ) {
63 return 0;
64 }
65};
66
67#endif
virtual G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &step)
virtual ~BgsGenocide()
virtual G4VParticleChange * AlongStepDoIt(const G4Track &track, const G4Step &step)
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &track, G4ForceCondition *force)
virtual G4VParticleChange * AtRestDoIt(const G4Track &track, const G4Step &step)
BgsGenocide(const G4String &name="BgsGenocide", G4ProcessType type=fUserDefined)
virtual G4double AlongStepGetPhysicalInteractionLength(const G4Track &, G4double previousStepSize, G4double currentMinimumStep, G4double &currentSafety, G4GPILSelection *selection)
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)