Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 ()
 

Additional Inherited Members

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

Detailed Description

Definition at line 37 of file XCrystalPlanarMoliereElectronDensity.hh.

Constructor & Destructor Documentation

XCrystalPlanarMoliereElectronDensity::XCrystalPlanarMoliereElectronDensity ( )

Definition at line 32 of file XCrystalPlanarMoliereElectronDensity.cc.

32  {
33  fAlfa[0] = 0.1;
34  fAlfa[1] = 0.55;
35  fAlfa[2] = 0.35;
36 
37  fBeta[0] = 6.0;
38  fBeta[1] = 1.2;
39  fBeta[2] = 0.3;
40 }
XCrystalPlanarMoliereElectronDensity::~XCrystalPlanarMoliereElectronDensity ( )

Definition at line 44 of file XCrystalPlanarMoliereElectronDensity.cc.

44  {
45 }

Member Function Documentation

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

Implements XVCrystalPlanarAnalytical.

Definition at line 50 of file XCrystalPlanarMoliereElectronDensity.cc.

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

Here is the call graph for this function:


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