CMS 3D CMS Logo

LandauFP420.h
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * DISCLAIMER *
4 // * *
5 // * The following disclaimer summarizes all the specific disclaimers *
6 // * of contributors to this software. The specific disclaimers,which *
7 // * govern, are listed with their locations in: *
8 // * http://cern.ch/geant4/license *
9 // * *
10 // * Neither the authors of this software system, nor their employing *
11 // * institutes,nor the agencies providing financial support for this *
12 // * work make any representation or warranty, express or implied, *
13 // * regarding this software system or assume any liability for its *
14 // * use. *
15 // * *
16 // * This code implementation is the intellectual property of the *
17 // * GEANT4 collaboration. *
18 // * By copying, distributing or modifying the Program (or any work *
19 // * based on the Program) you indicate your acceptance of this *
20 // * statement, and all its terms. *
21 // ********************************************************************
22 //
23 // -------------------------------------------------------------------
24 //
25 // GEANT4 Class header file
26 //
27 //
28 // File name: G4UniversalFluctuation
29 //
30 // Author: Vladimir Ivanchenko
31 //
32 // Creation date: 03.01.2002
33 //
34 // Modifications:
35 //
36 // 09-12-02 remove warnings (V.Ivanchenko)
37 // 28-12-02 add method Dispersion (V.Ivanchenko)
38 // 07-02-03 change signature (V.Ivanchenko)
39 // 13-02-03 Add name (V.Ivanchenko)
40 // Modified for standalone use in ORCA. d.k. 6/04
41 //
42 // Implementation of energy loss fluctuations
43 // -------------------------------------------------------------------
44 //
45 
46 #ifndef LandauFP420_h
47 #define LandauFP420_h
48 
49 //#include "G4VEmFluctuationModel.hh"
50 
51 class LandauFP420 {
52 public:
53  LandauFP420();
54 
55  ~LandauFP420();
56 
57  // momentum in MeV/c, mass in MeV, tmax (delta cut) in MeV,
58  // length in mm, meanLoss eloss in MeV.
59  double SampleFluctuations(
60  const double momentum, const double mass, double &tmax, const double length, const double meanLoss);
61 
62  // G4double Dispersion( const G4Material*,
63  // const G4DynamicParticle*,
64  // G4double&,
65  // G4double&);
66  // void Initialise(const G4ParticleDefinition*);
67 
68 protected:
69 private:
70  // hide assignment operator
71  // G4UniversalFluctuation & operator=(const G4UniversalFluctuation &right);
72  // G4UniversalFluctuation(const G4UniversalFluctuation&);
73 
74  // const G4ParticleDefinition* particle;
75  // const G4Material* lastMaterial;
76 
77  double particleMass;
78  double chargeSquare;
79 
80  // data members to speed up the fluctuation calculation
81  double ipotFluct;
83  // G4double zeff;
84 
85  double f1Fluct;
86  double f2Fluct;
87  double e1Fluct;
88  double e2Fluct;
89  double rateFluct;
90  double e1LogFluct;
91  double e2LogFluct;
92  double ipotLogFluct;
93  double e0;
94 
96  double theBohrBeta2;
97  double minLoss;
98  double problim;
99  double sumalim;
100  double alim;
103 };
104 
105 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
106 
107 #endif
LandauFP420::SampleFluctuations
double SampleFluctuations(const double momentum, const double mass, double &tmax, const double length, const double meanLoss)
Definition: LandauFP420.cc:96
LandauFP420::f2Fluct
double f2Fluct
Definition: LandauFP420.h:86
LandauFP420::alim
double alim
Definition: LandauFP420.h:100
LandauFP420::f1Fluct
double f1Fluct
Definition: LandauFP420.h:85
LandauFP420::nmaxCont1
int nmaxCont1
Definition: LandauFP420.h:101
LandauFP420::problim
double problim
Definition: LandauFP420.h:98
LandauFP420::ipotLogFluct
double ipotLogFluct
Definition: LandauFP420.h:92
LandauFP420::electronDensity
double electronDensity
Definition: LandauFP420.h:82
tmax
static const double tmax[3]
Definition: CastorTimeSlew.cc:7
LandauFP420::e1LogFluct
double e1LogFluct
Definition: LandauFP420.h:90
LandauFP420::rateFluct
double rateFluct
Definition: LandauFP420.h:89
LandauFP420
Definition: LandauFP420.h:51
LandauFP420::e2LogFluct
double e2LogFluct
Definition: LandauFP420.h:91
LandauFP420::chargeSquare
double chargeSquare
Definition: LandauFP420.h:78
LandauFP420::minNumberInteractionsBohr
double minNumberInteractionsBohr
Definition: LandauFP420.h:95
LandauFP420::minLoss
double minLoss
Definition: LandauFP420.h:97
LandauFP420::e2Fluct
double e2Fluct
Definition: LandauFP420.h:88
LandauFP420::sumalim
double sumalim
Definition: LandauFP420.h:99
LandauFP420::LandauFP420
LandauFP420()
Definition: LandauFP420.cc:66
LandauFP420::e0
double e0
Definition: LandauFP420.h:93
LandauFP420::theBohrBeta2
double theBohrBeta2
Definition: LandauFP420.h:96
EgHLTOffHistBins_cfi.mass
mass
Definition: EgHLTOffHistBins_cfi.py:34
LandauFP420::e1Fluct
double e1Fluct
Definition: LandauFP420.h:87
LandauFP420::~LandauFP420
~LandauFP420()
Definition: LandauFP420.cc:91
LandauFP420::nmaxCont2
int nmaxCont2
Definition: LandauFP420.h:102
LandauFP420::ipotFluct
double ipotFluct
Definition: LandauFP420.h:81
LandauFP420::particleMass
double particleMass
Definition: LandauFP420.h:77