Geant4  10.02.p03
XCrystalPlanarMoliereElectronDensity Class Reference

#include <XCrystalPlanarMoliereElectronDensity.hh>

Inheritance diagram for XCrystalPlanarMoliereElectronDensity:
Collaboration diagram for XCrystalPlanarMoliereElectronDensity:

Public Member Functions

G4double ComputeECForSinglePlane (G4double, XPhysicalLattice *)
 
 XCrystalPlanarMoliereElectronDensity ()
 
 ~XCrystalPlanarMoliereElectronDensity ()
 
- Public Member Functions inherited from XVCrystalPlanarAnalytical
void SetNumberOfPlanes (G4int)
 
G4int GetNumberOfPlanes ()
 
G4ThreeVector ComputeEC (G4ThreeVector, XPhysicalLattice *)
 
G4ThreeVector ComputeECFromVector (G4ThreeVector)
 
G4ThreeVector ComputePositionInUnitCell (G4ThreeVector, XPhysicalLattice *)
 
virtual G4double ComputeMaximum (XPhysicalLattice *)
 
virtual G4double ComputeMinimum (XPhysicalLattice *)
 
virtual void PrintOnFile (const G4String &, XPhysicalLattice *, G4double)
 
virtual void ReadFromFile (const G4String &, XPhysicalLattice *, G4double=1)
 
virtual void ReadFromECHARM (const G4String &, G4double=1)
 
void InitializeVector ()
 
 XVCrystalPlanarAnalytical ()
 
 ~XVCrystalPlanarAnalytical ()
 
- Public Member Functions inherited from XVCrystalCharacteristic
XPhysicalLatticeGetXPhysicalLattice (G4VPhysicalVolume *)
 
XUnitCellGetXUnitCell (G4VPhysicalVolume *)
 
XLogicalLatticeGetLogicalLattice (G4VPhysicalVolume *)
 
void InitializePhysicalLattice (XPhysicalLattice *)
 
G4ThreeVector GetEC (G4ThreeVector, XPhysicalLattice *)
 
virtual G4double ComputeTFScreeningRadius (XPhysicalLattice *)
 
virtual G4double GetMaximum (XPhysicalLattice *)
 
virtual G4double GetMinimum (XPhysicalLattice *)
 
G4bool IsInitialized (XPhysicalLattice *)
 
 XVCrystalCharacteristic ()
 
 ~XVCrystalCharacteristic ()
 

Private Attributes

G4double fAlfa [3]
 
G4double fBeta [3]
 

Additional Inherited Members

- Protected Attributes inherited from XVCrystalCharacteristic
G4double fMaximum
 
G4double fMinimum
 
XPhysicalLatticefPhysicalLattice
 
G4PhysicsVectorfVectorEC
 

Detailed Description

Definition at line 34 of file XCrystalPlanarMoliereElectronDensity.hh.

Constructor & Destructor Documentation

◆ XCrystalPlanarMoliereElectronDensity()

XCrystalPlanarMoliereElectronDensity::XCrystalPlanarMoliereElectronDensity ( )

Definition at line 29 of file XCrystalPlanarMoliereElectronDensity.cc.

29  {
30  fAlfa[0] = 0.1;
31  fAlfa[1] = 0.55;
32  fAlfa[2] = 0.35;
33 
34  fBeta[0] = 6.0;
35  fBeta[1] = 1.2;
36  fBeta[2] = 0.3;
37 }

◆ ~XCrystalPlanarMoliereElectronDensity()

XCrystalPlanarMoliereElectronDensity::~XCrystalPlanarMoliereElectronDensity ( )

Definition at line 41 of file XCrystalPlanarMoliereElectronDensity.cc.

41  {
42 }
Here is the call graph for this function:

Member Function Documentation

◆ ComputeECForSinglePlane()

G4double XCrystalPlanarMoliereElectronDensity::ComputeECForSinglePlane ( G4double  vXposition,
XPhysicalLattice vLattice 
)
virtual

Implements XVCrystalPlanarAnalytical.

Definition at line 47 of file XCrystalPlanarMoliereElectronDensity.cc.

48  {
49 
50  G4double aTF = ComputeTFScreeningRadius(vLattice);
51 
52  G4double vValueForSinglePlane = 0.;
53  for(unsigned int i=0;i<3;i++){
54  vValueForSinglePlane += ( fAlfa[i] * fBeta[i] *
55  std::exp( - std::fabs(vXposition) * fBeta[i] / aTF ) *
56  ( 1. + fBeta[i] * std::fabs(vXposition) / aTF) );
57  }
58 
59  vValueForSinglePlane /= aTF;
60 
61  vValueForSinglePlane *= 0.25;
62 
63  return vValueForSinglePlane;
64 }
virtual G4double ComputeTFScreeningRadius(XPhysicalLattice *)
double G4double
Definition: G4Types.hh:76
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ fAlfa

G4double XCrystalPlanarMoliereElectronDensity::fAlfa[3]
private

Definition at line 37 of file XCrystalPlanarMoliereElectronDensity.hh.

◆ fBeta

G4double XCrystalPlanarMoliereElectronDensity::fBeta[3]
private

Definition at line 38 of file XCrystalPlanarMoliereElectronDensity.hh.


The documentation for this class was generated from the following files: