Geant4 9.6.0
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4UserSpecialCuts.hh
Go to the documentation of this file.
1//
2// ********************************************************************
3// * License and Disclaimer *
4// * *
5// * The Geant4 software is copyright of the Copyright Holders of *
6// * the Geant4 Collaboration. It is provided under the terms and *
7// * conditions of the Geant4 Software License, included in the file *
8// * LICENSE and available at http://cern.ch/geant4/license . These *
9// * include a list of copyright holders. *
10// * *
11// * Neither the authors of this software system, nor their employing *
12// * institutes,nor the agencies providing financial support for this *
13// * work make any representation or warranty, express or implied, *
14// * regarding this software system or assume any liability for its *
15// * use. Please see the license in the file LICENSE and URL above *
16// * for the full disclaimer and the limitation of liability. *
17// * *
18// * This code implementation is the result of the scientific and *
19// * technical work of the GEANT4 collaboration. *
20// * By using, copying, modifying or distributing the software (or *
21// * any work based on the software) you agree to acknowledge its *
22// * use in resulting scientific publications, and indicate your *
23// * acceptance of all terms of the Geant4 Software license. *
24// ********************************************************************
25//
26// $Id$
27//
28// class description
29//
30// A "process" to be registered to the process manager of each particle,
31// in the UserPhysicsList, in order to take into account the user limits
32// defined in the G4UserLimits object attached to a logical volume.
33
34//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
35
36#ifndef G4UserSpecialCuts_h
37#define G4UserSpecialCuts_h 1
38
39#include "G4ios.hh"
40#include "globals.hh"
41#include "G4VProcess.hh"
42
44
45//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
46
48{
49 public: // with description
50
51 G4UserSpecialCuts(const G4String& processName ="UserSpecialCut" );
52
53 virtual ~G4UserSpecialCuts();
54
56 const G4Track& track,
57 G4double previousStepSize,
59 );
60
62 const G4Track& ,
63 const G4Step&
64 );
65
66 public: // without description
67
68 // no operation in AtRestGPIL
70 const G4Track& ,
72 ){ return -1.0; };
73
74 // no operation in AtRestDoIt
76 const G4Track& ,
77 const G4Step&
78 ){return 0;};
79
80 // no operation in AlongStepGPIL
82 const G4Track&,
83 G4double ,
84 G4double ,
85 G4double& ,
87 ){ return -1.0; };
88
89 // no operation in AlongStepDoIt
91 const G4Track& ,
92 const G4Step&
93 ) {return 0;};
94
95 private:
96
97 // hide assignment operator as private
99 G4UserSpecialCuts& operator=(const G4UserSpecialCuts& right);
100
101 G4LossTableManager* theLossTableManager;
102
103};
104
105//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
106
107#endif
108
G4double condition(const G4ErrorSymMatrix &m)
G4ForceCondition
G4GPILSelection
double G4double
Definition: G4Types.hh:64
Definition: G4Step.hh:78
virtual G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &)
virtual G4VParticleChange * AlongStepDoIt(const G4Track &, const G4Step &)
virtual G4VParticleChange * AtRestDoIt(const G4Track &, const G4Step &)
virtual ~G4UserSpecialCuts()
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)
virtual G4double AlongStepGetPhysicalInteractionLength(const G4Track &, G4double, G4double, G4double &, G4GPILSelection *)
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)