Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
G4TransitionRadiation.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: G4TransitionRadiation.hh 97385 2016-06-02 09:59:53Z gcosmo $
27 //
28 // G4TransitionRadiation -- header file
29 //
30 // Class for description of transition radiation generated
31 // by charged particle crossed interface between material 1
32 // and material 2 (1 -> 2). Transition radiation could be of kind:
33 // - optical back
34 // - optical forward
35 // - X-ray forward (for relativistic case Tkin/mass >= 10^2)
36 //
37 // GEANT 4 class header file --- Copyright CERN 1995
38 // CERB Geneva Switzerland
39 //
40 // for information related to this code, please, contact
41 // CERN, CN Division, ASD Group
42 // History:
43 // 18.12.97, V. Grichine (Vladimir.Grichine@cern.ch)
44 // 02.02.00, V.Grichine, new data fEnergy and fVarAngle for double
45 // numerical integration in inherited classes
46 // 03.06.03, V.Ivanchenko fix compilation warnings
47 // 28.07.05, P.Gumplinger add G4ProcessType to constructor
48 
49 #ifndef G4TransitionRadiation_h
50 #define G4TransitionRadiation_h
51 
52 
53 #include "G4VDiscreteProcess.hh"
54 #include "G4Material.hh"
55 // #include "G4OpBoundaryProcess.hh"
56 
58 {
59 public:
60 
61  explicit G4TransitionRadiation( const G4String& processName = "TR",
63 
64  virtual ~G4TransitionRadiation() ;
65 
66  // Methods
67 
68  G4bool IsApplicable(const G4ParticleDefinition& aParticleType) override;
69 
70  virtual G4double GetMeanFreePath(const G4Track&, G4double,
71  G4ForceCondition* condition) override;
72 
73  virtual G4VParticleChange* PostStepDoIt(const G4Track&,
74  const G4Step&) override;
75 
76  virtual
78  G4double varAngle ) const = 0 ;
79 
81  G4double energy2,
82  G4double varAngle ) const ;
83 
85  G4double varAngle1,
86  G4double varAngle2 ) const ;
87 
89  G4double varAngle2 ) const ;
90 
92  G4double energy2 ) const ;
93 
94 
95 
96  // Access functions
97 
98 protected :
99 
100  G4int fMatIndex1 ; // index of the 1st material
101  G4int fMatIndex2 ; // index of the 2nd material
102 
103  // private :
104 
108 
109  // Local constants
110  static const G4int fSympsonNumber ; // Accuracy of Sympson integration 10
111  static const G4int fGammaNumber ; // = 15
112  static const G4int fPointNumber ; // = 100
113 
114  G4double fMinEnergy ; // min TR energy
115  G4double fMaxEnergy ; // max TR energy
116  G4double fMaxTheta ; // max theta of TR quanta
117 
118  G4double fSigma1 ; // plasma energy Sq of matter1
119  G4double fSigma2 ; // plasma energy Sq of matter2
120 
121 private:
122 
123 // Operators
124  G4TransitionRadiation(const G4TransitionRadiation& right) = delete;
126  operator=(const G4TransitionRadiation& right) = delete;
127 
128 };
129 
130 #endif // G4TransitionRadiation_h
G4double condition(const G4ErrorSymMatrix &m)
G4double AngleIntegralDistribution(G4double varAngle1, G4double varAngle2) const
static const G4int fSympsonNumber
G4TransitionRadiation(const G4String &processName="TR", G4ProcessType type=fElectromagnetic)
int G4int
Definition: G4Types.hh:78
virtual G4double SpectralAngleTRdensity(G4double energy, G4double varAngle) const =0
bool G4bool
Definition: G4Types.hh:79
Definition: G4Step.hh:76
virtual G4double GetMeanFreePath(const G4Track &, G4double, G4ForceCondition *condition) override
G4bool IsApplicable(const G4ParticleDefinition &aParticleType) override
virtual G4VParticleChange * PostStepDoIt(const G4Track &, const G4Step &) override
G4double energy(const ThreeVector &p, const G4double m)
G4double IntegralOverAngle(G4double energy, G4double varAngle1, G4double varAngle2) const
G4double EnergyIntegralDistribution(G4double energy1, G4double energy2) const
double G4double
Definition: G4Types.hh:76
G4ForceCondition
G4double IntegralOverEnergy(G4double energy1, G4double energy2, G4double varAngle) const
static const G4int fGammaNumber
static const G4int fPointNumber
G4ProcessType