LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
MyG4MuIonisationNoDelta.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: MyG4MuIonisationNoDelta
33 //
34 // Author: Laszlo Urban
35 //
36 // Creation date: 30.05.1997
37 //
38 // Modifications:
39 //
40 // corrected by L.Urban on 24/09/97
41 // corrected by L.Urban on 13/01/98
42 // bugs fixed by L.Urban on 02/02/99
43 // 10/02/00 modifications , new e.m. structure, L.Urban
44 // 10-08-01 new methods Store/Retrieve PhysicsTable (mma)
45 // 14-08-01 new function ComputeRestrictedMeandEdx() + 'cleanup' (mma)
46 // 19-09-01 come back to previous process name "hIoni"
47 // 29-10-01 all static functions no more inlined
48 // 10-05-02 V.Ivanchenko update to new design
49 // 09-12-02 V.Ivanchenko remove warning
50 // 26-12-02 Secondary production moved to derived classes (VI)
51 // 24-01-03 Make models region aware (V.Ivanchenko)
52 // 05-02-03 Fix compilation warnings (V.Ivanchenko)
53 // 13-02-03 SubCutoff regime is assigned to a region (V.Ivanchenko)
54 // 23-05-03 Add fluctuation model as a member function (V.Ivanchenko)
55 // 03-06-03 Add SetIntegral method to choose fluctuation model (V.Ivanchenko)
56 // 03-06-03 Fix initialisation problem for STD ionisation (V.Ivanchenko)
57 // 08-08-03 STD substitute standard (V.Ivanchenko)
58 // 12-11-03 G4EnergyLossSTD -> G4EnergyLossProcess (V.Ivanchenko)
59 // 21-01-04 Migrade to G4ParticleChangeForLoss (V.Ivanchenko)
60 // 17-08-04 Rename the process "Mu" -> "mu" (V.Ivanchenko)
61 // 08-11-04 Migration to new interface of Store/Retrieve tables (V.Ivantchenko)
62 // 08-04-05 Major optimisation of internal interfaces (V.Ivantchenko)
63 // 05-01-22 D.Rivera: imported into artg4tk based on :
64 // geant4.10.06.p01/source/processes/electromagnetic/muons/include/G4MuIonisation.hh
65 // Define the muon ionization process with no deltas
66 //
67 // Class Description:
68 //
69 // This class manages the ionisation process for muons.
70 // it inherites from G4VContinuousDiscreteProcess via G4VEnergyLossProcess.
71 //
72 
73 // -------------------------------------------------------------------
74 //
75 
76 #ifndef MyG4MuIonisationNoDelta_h
77 #define MyG4MuIonisationNoDelta_h 1
78 
79 #include "Geant4/G4VEnergyLossProcess.hh"
80 #include "Geant4/G4Electron.hh"
81 #include "Geant4/G4Positron.hh"
82 #include "Geant4/globals.hh"
83 #include "Geant4/G4VEmModel.hh"
84 
85 class G4Material;
86 
87 class MyG4MuIonisationNoDelta : public G4VEnergyLossProcess
88 {
89 
90 public:
91 
92  explicit MyG4MuIonisationNoDelta(const G4String& name = "muIoni");
93 
94  ~MyG4MuIonisationNoDelta() = default;
95 
96  virtual G4bool IsApplicable(const G4ParticleDefinition& p) override;
97 
98  virtual G4double MinPrimaryEnergy(const G4ParticleDefinition* p,
99  const G4Material*, G4double cut) override;
100 
101  // Print out of the class parameters
102  virtual void PrintInfo() override;
103 
104  // print description in html
105  virtual void ProcessDescription(std::ostream&) const override;
106 
107 protected:
108 
109  virtual void InitialiseEnergyLossProcess(const G4ParticleDefinition*,
110  const G4ParticleDefinition*) override;
111 
112 private:
113 
114  // hide assignment operator
117 
118  G4double mass;
119  G4double ratio;
120 
121  const G4ParticleDefinition* theParticle;
122  const G4ParticleDefinition* theBaseParticle;
124 };
125 
126 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
127 
128 #endif
constexpr auto const & right(const_AssnsIter< L, R, D, Dir > const &a, const_AssnsIter< L, R, D, Dir > const &b)
Definition: AssnsIter.h:102
MyG4MuIonisationNoDelta & operator=(const MyG4MuIonisationNoDelta &right)=delete
virtual G4bool IsApplicable(const G4ParticleDefinition &p) override
const G4ParticleDefinition * theBaseParticle
const G4ParticleDefinition * theParticle
virtual G4double MinPrimaryEnergy(const G4ParticleDefinition *p, const G4Material *, G4double cut) override
MyG4MuIonisationNoDelta(const G4String &name="muIoni")
~MyG4MuIonisationNoDelta()=default
virtual void PrintInfo() override
virtual void InitialiseEnergyLossProcess(const G4ParticleDefinition *, const G4ParticleDefinition *) override
virtual void ProcessDescription(std::ostream &) const override