source: trunk/examples/advanced/Tiara/source/tiara/include/TiaraEnergyCutProcess.hh@ 1330

Last change on this file since 1330 was 807, checked in by garnier, 17 years ago

update

File size: 3.3 KB
Line 
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: TiaraEnergyCutProcess.hh,v 1.4 2006/06/29 15:43:37 gunter Exp $
27// GEANT4 tag $Name: $
28//
29// ----------------------------------------------------------------------
30//
31// Class TiaraEnergyCutProcess
32//
33
34#ifndef TiaraEnergyCutProcess_hh
35#define TiaraEnergyCutProcess_hh TiaraEnergyCutProcess_hh
36
37#include "G4VProcess.hh"
38#include "G4VTrackTerminator.hh"
39
40class G4VScorer;
41
42class TiaraEnergyCutProcess : public G4VProcess
43{
44
45public: // with description
46
47 explicit TiaraEnergyCutProcess(G4double minEnergyCut);
48
49 virtual ~TiaraEnergyCutProcess();
50
51 virtual G4double
52 PostStepGetPhysicalInteractionLength(const G4Track& aTrack,
53 G4double previousStepSize,
54 G4ForceCondition* condition);
55 // make processed being forced
56
57 virtual G4VParticleChange * PostStepDoIt(const G4Track&, const G4Step&);
58 // message "scorer" with G4Step and a G4GeometryCellStep from the "mass"
59 // geometry
60
61
62 // to be called by the importance process if the track should
63 // be killed after scoring
64 virtual const G4String &GetName() const ;
65
66public: // without description
67
68 // no operation in AtRestDoIt and AlongStepDoIt
69
70 virtual G4double
71 AlongStepGetPhysicalInteractionLength(const G4Track&,
72 G4double ,
73 G4double ,
74 G4double& ,
75 G4GPILSelection*);
76
77 virtual G4double
78 AtRestGetPhysicalInteractionLength(const G4Track&,
79 G4ForceCondition*);
80
81 virtual G4VParticleChange* AtRestDoIt(const G4Track&,
82 const G4Step&);
83 virtual G4VParticleChange* AlongStepDoIt(const G4Track&,
84 const G4Step&);
85
86private:
87
88 TiaraEnergyCutProcess(const TiaraEnergyCutProcess &);
89 TiaraEnergyCutProcess &operator=(const TiaraEnergyCutProcess &);
90
91private:
92
93 G4double fMinEnergyCut;
94};
95
96#endif
Note: See TracBrowser for help on using the repository browser.