BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/PhySim/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 "globals.hh"
29#include "G4VProcess.hh"
30
31class BgsGenocide : public G4VProcess {
32 public:
33 BgsGenocide( const G4String &name="BgsGenocide",
34 G4ProcessType type=fUserDefined );
35 virtual ~BgsGenocide();
36
37 //
38 // Derived methods
39 //
40 virtual G4double
41 PostStepGetPhysicalInteractionLength( const G4Track& track,
42 G4double previousStepSize,
43 G4ForceCondition* condition );
44
45 virtual G4VParticleChange* PostStepDoIt( const G4Track &track,
46 const G4Step &step );
47
48 virtual G4double
50 G4double previousStepSize,
51 G4double currentMinimumStep,
52 G4double& currentSafety,
53 G4GPILSelection* selection )
54 { return -1.0; }
55
56 virtual G4VParticleChange* AlongStepDoIt( const G4Track &track,
57 const G4Step &step )
58 { return 0; }
59
60 virtual G4double
62 G4ForceCondition *force )
63 { return -1.0; }
64
65 virtual G4VParticleChange*
66 AtRestDoIt( const G4Track &track, const G4Step &step )
67 { return 0; }
68
69};
70
71
72#endif
virtual G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &step)
Definition: BgsGenocide.cc:34
virtual G4VParticleChange * AlongStepDoIt(const G4Track &track, const G4Step &step)
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
Definition: BgsGenocide.cc:21
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &track, G4ForceCondition *force)
virtual ~BgsGenocide()
Definition: BgsGenocide.cc:15
virtual G4VParticleChange * AtRestDoIt(const G4Track &track, const G4Step &step)
virtual G4double AlongStepGetPhysicalInteractionLength(const G4Track &, G4double previousStepSize, G4double currentMinimumStep, G4double &currentSafety, G4GPILSelection *selection)