source: trunk/source/processes/electromagnetic/muons/include/G4MuBremsstrahlung.hh @ 991

Last change on this file since 991 was 991, checked in by garnier, 15 years ago

update

File size: 4.7 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: G4MuBremsstrahlung.hh,v 1.30 2008/02/29 17:50:05 vnivanch Exp $
27// GEANT4 tag $Name: geant4-09-02 $
28//
29// -------------------------------------------------------------------
30//
31// GEANT4 Class header file
32//
33//
34// File name:     G4MuBremsstrahlung
35//
36// Author:        Laszlo Urban
37//
38// Creation date: 30.09.1997
39//
40// Modifications:
41//
42// 10/02/00 modifications , new e.m. structure, L.Urban
43// 10-08-01 new methods Store/Retrieve PhysicsTable (mma)
44// 29-10-01 all static functions no more inlined (mma)
45// 10-05-02 V.Ivanchenko update to new design
46// 26-12-02 secondary production moved to derived classes (VI)
47// 24-01-03 Make models region aware (V.Ivanchenko)
48// 05-02-03 Fix compilation warnings (V.Ivanchenko)
49// 08-08-03 STD substitute standard  (V.Ivanchenko)
50// 12-11-03 G4EnergyLossSTD -> G4EnergyLossProcess (V.Ivanchenko)
51// 21-01-04 Migrade to G4ParticleChangeForLoss (V.Ivanchenko)
52// 10-02-04 Add lowestKinEnergy (V.Ivanchenko)
53// 17-08-04 Rename the process "Mu" -> "mu" (V.Ivanchenko)
54// 08-11-04 Migration to new interface of Store/Retrieve tables (V.Ivantchenko)
55// 08-04-05 Major optimisation of internal interfaces (V.Ivantchenko)
56//
57// Class Description:
58//
59// This class manages the Bremsstrahlung process for muons.
60// it inherites from G4VContinuousDiscreteProcess via G4VEnergyLossProcess.
61//
62
63// -------------------------------------------------------------------
64//
65
66#ifndef G4MuBremsstrahlung_h
67#define G4MuBremsstrahlung_h 1
68
69//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
70
71#include "globals.hh"
72#include "G4VEnergyLossProcess.hh"
73#include "G4VEmModel.hh"
74
75//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
76
77class G4ParticleDefinition;
78
79class G4MuBremsstrahlung : public G4VEnergyLossProcess
80
81{
82public:
83
84  G4MuBremsstrahlung(const G4String& processName = "muBrems");
85
86  virtual ~G4MuBremsstrahlung();
87
88  G4bool IsApplicable(const G4ParticleDefinition& p);
89
90  G4double MinPrimaryEnergy(const G4ParticleDefinition* p,
91                            const G4Material*, 
92                            G4double cut);
93
94  // Print out of the class parameters
95  void PrintInfo();
96
97protected:
98
99  void InitialiseEnergyLossProcess(const G4ParticleDefinition*,
100                                   const G4ParticleDefinition*);
101
102private:
103
104  G4MuBremsstrahlung & operator=(const G4MuBremsstrahlung &right);
105  G4MuBremsstrahlung(const G4MuBremsstrahlung&);
106
107  const G4ParticleDefinition* theParticle;
108  const G4ParticleDefinition* theBaseParticle;
109
110  G4double  lowestKinEnergy;
111  G4bool    isInitialised;
112
113};
114
115//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
116//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
117
118inline 
119G4bool G4MuBremsstrahlung::IsApplicable(const G4ParticleDefinition& p)
120{
121  return (p.GetPDGCharge() != 0.0 && p.GetPDGMass() > 10.0*MeV);
122}
123
124//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
125
126inline 
127G4double G4MuBremsstrahlung::MinPrimaryEnergy(const G4ParticleDefinition*,
128                                              const G4Material*,
129                                              G4double)
130{
131  return lowestKinEnergy;
132}
133
134//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
135
136#endif
Note: See TracBrowser for help on using the repository browser.