Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4ePolarizedIonisation.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: G4ePolarizedIonisation.hh 96114 2016-03-16 18:51:33Z gcosmo $
27 // -------------------------------------------------------------------
28 //
29 // GEANT4 Class header file
30 //
31 //
32 // File name: G4ePolarizedIonisation
33 //
34 // Author: A.Schaelicke on base of Vladimir Ivanchenko code
35 //
36 // Creation date: 10.11.2005
37 //
38 // Modifications:
39 //
40 // 10-11-05, include polarization description (A.Schaelicke)
41 // , create asymmetry table and determine interactionlength
42 // , update polarized differential cross section
43 //
44 // 20-08-06, modified interface (A.Schaelicke)
45 // 11-06-07, add PostStepGetPhysicalInteractionLength (A.Schalicke)
46 //
47 // Class Description:
48 //
49 // polarized version of G4eIonisation
50 // ----------------------------------------------------------------------------
51 // -------------------------------------------------------------------
52 //
53 
54 #ifndef G4ePolarizedIonisation_h
55 #define G4ePolarizedIonisation_h 1
56 
57 #include "G4VEnergyLossProcess.hh"
58 #include "G4Electron.hh"
59 #include "G4Positron.hh"
60 
61 class G4Material;
65 
67 {
68 
69 public:
70 
71  explicit G4ePolarizedIonisation(const G4String& name = "pol-eIoni");
72 
73  virtual ~G4ePolarizedIonisation();
74 
75  virtual G4bool IsApplicable(const G4ParticleDefinition& p) override;
76 
77  // Print out of the class parameters
78  virtual void PrintInfo() override;
79 
80 protected:
81 
83  const G4ParticleDefinition*) override;
84 
86  const G4Material*, G4double cut) override;
87 
88  // for polarization
90  const G4Track& track,
91  G4double previousStepSize,
92  G4ForceCondition* condition) override;
93 
94  virtual G4double GetMeanFreePath(const G4Track& track,
95  G4double previousStepSize,
96  G4ForceCondition* condition) override;
97 
98  virtual void BuildPhysicsTable(const G4ParticleDefinition&) override;
99 
100 protected:
101 
103 
104 private:
105 
106  void CleanTables();
107 
108  void BuildAsymmetryTables(const G4ParticleDefinition& part);
109 
110  G4double ComputeAsymmetry(G4double energy,
111  const G4MaterialCutsCouple* couple,
112  const G4ParticleDefinition& particle,
113  G4double cut,
114  G4double &tasm);
115 
116  G4double ComputeSaturationFactor(const G4Track& aTrack);
117 
119  operator=(const G4ePolarizedIonisation &right) = delete;
121 
122  G4ParticleDefinition* theElectron;
123  G4VEmFluctuationModel* flucModel;
125 
126  G4bool isElectron;
127  G4bool isInitialised;
128 
129  // for polarization:
130  G4ThreeVector theTargetPolarization;
131 
132  G4PhysicsTable* theAsymmetryTable;
133  G4PhysicsTable* theTransverseAsymmetryTable;
134 };
135 
136 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
137 
138 #endif
G4double condition(const G4ErrorSymMatrix &m)
const XML_Char * name
Definition: expat.h:151
G4ePolarizedIonisation(const G4String &name="pol-eIoni")
virtual G4bool IsApplicable(const G4ParticleDefinition &p) override
const char * p
Definition: xmltok.h:285
virtual G4double GetMeanFreePath(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition) override
virtual G4double MinPrimaryEnergy(const G4ParticleDefinition *, const G4Material *, G4double cut) override
virtual void InitialiseEnergyLossProcess(const G4ParticleDefinition *, const G4ParticleDefinition *) override
bool G4bool
Definition: G4Types.hh:79
virtual void PrintInfo() override
virtual void BuildPhysicsTable(const G4ParticleDefinition &) override
G4double energy(const ThreeVector &p, const G4double m)
double G4double
Definition: G4Types.hh:76
G4ForceCondition
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition) override
const G4ParticleDefinition * DefineBaseParticle(const G4ParticleDefinition *p)