Geant4 11.2.2
Toolkit for the simulation of the passage of particles through matter
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4hhIonisation.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//
27// -------------------------------------------------------------------
28//
29// GEANT4 Class header file
30//
31//
32// File name: G4hhIonisation
33//
34// Author: Vladimir Ivanchenko
35//
36// Creation date: 30.09.2005
37//
38// Modifications:
39//
40//
41// Class Description:
42//
43// This class manages the ionisation process for exsotic hadrons
44// without any delta electrons production
45//
46
47// -------------------------------------------------------------------
48//
49
50#ifndef G4hhIonisation_h
51#define G4hhIonisation_h 1
52
54#include "globals.hh"
55#include "G4VEmModel.hh"
56
57class G4Material;
59
61{
62
63public:
64
65 explicit G4hhIonisation(const G4String& name = "hhIoni");
66
67 ~G4hhIonisation() override;
68
69 G4bool IsApplicable(const G4ParticleDefinition& p) override;
70
72 const G4Material*, G4double cut) override;
73
74 // print description in html
75 void ProcessDescription(std::ostream&) const override;
76
77 // hide assignment operator
78 G4hhIonisation & operator=(const G4hhIonisation &right) = delete;
80
81protected:
82
84 const G4ParticleDefinition*) override;
85
86private:
87
88 const G4ParticleDefinition* theParticle = nullptr;
89 G4VEmFluctuationModel* flucModel = nullptr;
90
91 G4double mass = 0.0;
92 G4double ratio = 0.0;
93
94 G4bool isInitialised = false;
95};
96
97//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
98
99#endif
double G4double
Definition G4Types.hh:83
bool G4bool
Definition G4Types.hh:86
void InitialiseEnergyLossProcess(const G4ParticleDefinition *, const G4ParticleDefinition *) override
void ProcessDescription(std::ostream &) const override
G4hhIonisation(const G4String &name="hhIoni")
G4bool IsApplicable(const G4ParticleDefinition &p) override
~G4hhIonisation() override
G4hhIonisation(const G4hhIonisation &)=delete
G4hhIonisation & operator=(const G4hhIonisation &right)=delete
G4double MinPrimaryEnergy(const G4ParticleDefinition *p, const G4Material *, G4double cut) override