Geant4  10.03.p03
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
XLogicalBase Class Reference

#include <XLogicalBase.hh>

Public Member Functions

XLogicalAtomicLatticeGetLattice ()
 
G4ElementGetElement ()
 
void SetLattice (XLogicalAtomicLattice *)
 
void SetElement (G4Element *)
 
virtual G4double ComputeAtomicFormFactor ()
 
G4complex ComputeStructureFactorSingleAtomicKind (G4int, G4int, G4int)
 
 XLogicalBase (G4Element *, XLogicalAtomicLattice *)
 
 XLogicalBase ()
 
 ~XLogicalBase ()
 

Detailed Description

Definition at line 42 of file XLogicalBase.hh.

Constructor & Destructor Documentation

XLogicalBase::XLogicalBase ( G4Element vElement,
XLogicalAtomicLattice vLattice 
)

Definition at line 39 of file XLogicalBase.cc.

39  {
40  SetElement(vElement);
41  SetLattice(vLattice);
42 }
void SetLattice(XLogicalAtomicLattice *)
Definition: XLogicalBase.cc:62
void SetElement(G4Element *)
Definition: XLogicalBase.cc:68

Here is the call graph for this function:

XLogicalBase::XLogicalBase ( )

Definition at line 34 of file XLogicalBase.cc.

34  {
35 }
XLogicalBase::~XLogicalBase ( )

Definition at line 45 of file XLogicalBase.cc.

45  {
46 }

Member Function Documentation

G4double XLogicalBase::ComputeAtomicFormFactor ( )
virtual

Definition at line 74 of file XLogicalBase.cc.

74  {
75  return 1.0;
76 }

Here is the caller graph for this function:

G4complex XLogicalBase::ComputeStructureFactorSingleAtomicKind ( G4int  h,
G4int  k,
G4int  l 
)

Definition at line 81 of file XLogicalBase.cc.

83  {
84  G4double vAtomicFormFactor = ComputeAtomicFormFactor();
85  G4complex vResult =
87  vResult =
88  G4complex(vResult.real() * vAtomicFormFactor,
89  vResult.imag() * vAtomicFormFactor);
90  return vResult;
91 }
virtual G4double ComputeAtomicFormFactor()
Definition: XLogicalBase.cc:74
G4complex ComputeGeometricalStructureFactorSingleKind(G4int, G4int, G4int)
XLogicalAtomicLattice * GetLattice()
Definition: XLogicalBase.cc:50
std::complex< G4double > G4complex
Definition: G4Types.hh:81
double G4double
Definition: G4Types.hh:76

Here is the call graph for this function:

G4Element * XLogicalBase::GetElement ( )

Definition at line 56 of file XLogicalBase.cc.

56  {
57  return fElement;
58 }

Here is the caller graph for this function:

XLogicalAtomicLattice * XLogicalBase::GetLattice ( )

Definition at line 50 of file XLogicalBase.cc.

50  {
51  return fLattice;
52 }

Here is the caller graph for this function:

void XLogicalBase::SetElement ( G4Element vElement)

Definition at line 68 of file XLogicalBase.cc.

68  {
69  fElement = vElement;
70 }

Here is the caller graph for this function:

void XLogicalBase::SetLattice ( XLogicalAtomicLattice vLattice)

Definition at line 62 of file XLogicalBase.cc.

62  {
63  fLattice = vLattice;
64 }

Here is the caller graph for this function:


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