Geant4-11
Public Member Functions | Private Attributes | Friends
G4ChannelingTrackData Class Reference

#include <G4ChannelingTrackData.hh>

Inheritance diagram for G4ChannelingTrackData:
G4VAuxiliaryTrackInformation

Public Member Functions

 G4ChannelingTrackData ()
 
G4double GetDensity ()
 
G4double GetEFX ()
 
G4double GetEFY ()
 
G4double GetElD ()
 
G4ThreeVector GetMomCh ()
 
G4double GetNuD ()
 
G4ThreeVector GetPosCh ()
 
void Print () const
 
void Reset ()
 
void SetEFX (G4double aDouble)
 
void SetEFY (G4double aDouble)
 
void SetElD (G4double aDouble)
 
void SetMomCh (G4ThreeVector a3vec)
 
void SetNuD (G4double aDouble)
 
void SetPosCh (G4ThreeVector a3vec)
 
 ~G4ChannelingTrackData ()
 

Private Attributes

const G4ChannelingfChannelingProcess
 
G4ThreeVector fDBL
 
G4double fEFX
 
G4double fEFY
 
G4double fElD
 
G4ThreeVector fMomCh
 
G4double fNuD
 
G4ThreeVector fPosCh
 

Friends

class G4Channeling
 

Detailed Description

Definition at line 48 of file G4ChannelingTrackData.hh.

Constructor & Destructor Documentation

◆ G4ChannelingTrackData()

G4ChannelingTrackData::G4ChannelingTrackData ( )

◆ ~G4ChannelingTrackData()

G4ChannelingTrackData::~G4ChannelingTrackData ( )

Definition at line 43 of file G4ChannelingTrackData.cc.

43{;}

Member Function Documentation

◆ GetDensity()

G4double G4ChannelingTrackData::GetDensity ( )
inline

Definition at line 68 of file G4ChannelingTrackData.hh.

68{return (fNuD + fElD) * 0.5;}

References fElD, and fNuD.

Referenced by G4ChannelingOptrChangeCrossSection::ProposeOccurenceBiasingOperation().

◆ GetEFX()

G4double G4ChannelingTrackData::GetEFX ( )
inline

Definition at line 77 of file G4ChannelingTrackData.hh.

77{return fEFX;};

References fEFX.

◆ GetEFY()

G4double G4ChannelingTrackData::GetEFY ( )
inline

Definition at line 80 of file G4ChannelingTrackData.hh.

80{return fEFY;};

References fEFY.

◆ GetElD()

G4double G4ChannelingTrackData::GetElD ( )
inline

Definition at line 74 of file G4ChannelingTrackData.hh.

74{return fElD;};

References fElD.

Referenced by G4ChannelingOptrChangeCrossSection::ProposeOccurenceBiasingOperation().

◆ GetMomCh()

G4ThreeVector G4ChannelingTrackData::GetMomCh ( )
inline

Definition at line 82 of file G4ChannelingTrackData.hh.

82{return fMomCh;}

References fMomCh.

Referenced by G4Channeling::PostStepDoIt().

◆ GetNuD()

G4double G4ChannelingTrackData::GetNuD ( )
inline

Definition at line 71 of file G4ChannelingTrackData.hh.

71{return fNuD;};

References fNuD.

Referenced by G4ChannelingOptrChangeCrossSection::ProposeOccurenceBiasingOperation().

◆ GetPosCh()

G4ThreeVector G4ChannelingTrackData::GetPosCh ( )
inline

Definition at line 85 of file G4ChannelingTrackData.hh.

85{return fPosCh;}

References fPosCh.

Referenced by G4Channeling::UpdateParameters().

◆ Print()

void G4ChannelingTrackData::Print ( ) const
virtual

Reimplemented from G4VAuxiliaryTrackInformation.

Definition at line 47 of file G4ChannelingTrackData.cc.

47 {
48 G4cout << "Nuclei Density Ratio: " << fNuD << G4endl;
49 G4cout << "Electron Density Ratio: " << fElD << G4endl;
50 G4cout << "Channeling Momentum (GeV/c): " << fMomCh/CLHEP::GeV << G4endl;
51 G4cout << "Channeling Position (angstrom): " << fPosCh/CLHEP::angstrom << G4endl;
52}
#define G4endl
Definition: G4ios.hh:57
G4GLOB_DLL std::ostream G4cout
static constexpr double GeV
static constexpr double angstrom
Definition: SystemOfUnits.h:83

References CLHEP::angstrom, fElD, fMomCh, fNuD, fPosCh, G4cout, G4endl, and CLHEP::GeV.

◆ Reset()

void G4ChannelingTrackData::Reset ( )
inline

Definition at line 61 of file G4ChannelingTrackData.hh.

61 {
62 fChannelingProcess = nullptr;
63 fNuD = fElD = 1.;
64 fPosCh = fMomCh = fDBL;
65 }

References fChannelingProcess, fDBL, fElD, fMomCh, fNuD, and fPosCh.

Referenced by G4Channeling::GetMeanFreePath(), and G4Channeling::PostStepDoIt().

◆ SetEFX()

void G4ChannelingTrackData::SetEFX ( G4double  aDouble)
inline

Definition at line 76 of file G4ChannelingTrackData.hh.

76{fEFX = aDouble;};

References fEFX.

Referenced by G4Channeling::UpdateParameters().

◆ SetEFY()

void G4ChannelingTrackData::SetEFY ( G4double  aDouble)
inline

Definition at line 79 of file G4ChannelingTrackData.hh.

79{fEFY = aDouble;};

References fEFY.

Referenced by G4Channeling::UpdateParameters().

◆ SetElD()

void G4ChannelingTrackData::SetElD ( G4double  aDouble)
inline

Definition at line 73 of file G4ChannelingTrackData.hh.

73{fElD = aDouble;};

References fElD.

Referenced by G4Channeling::UpdateParameters().

◆ SetMomCh()

void G4ChannelingTrackData::SetMomCh ( G4ThreeVector  a3vec)
inline

Definition at line 83 of file G4ChannelingTrackData.hh.

83{fMomCh = a3vec;}

References fMomCh.

Referenced by G4Channeling::UpdateParameters().

◆ SetNuD()

void G4ChannelingTrackData::SetNuD ( G4double  aDouble)
inline

Definition at line 70 of file G4ChannelingTrackData.hh.

70{fNuD = aDouble;};

References fNuD.

Referenced by G4Channeling::UpdateParameters().

◆ SetPosCh()

void G4ChannelingTrackData::SetPosCh ( G4ThreeVector  a3vec)
inline

Definition at line 86 of file G4ChannelingTrackData.hh.

86{fPosCh = a3vec;}

References fPosCh.

Referenced by G4Channeling::UpdateParameters().

Friends And Related Function Documentation

◆ G4Channeling

friend class G4Channeling
friend

Definition at line 49 of file G4ChannelingTrackData.hh.

Field Documentation

◆ fChannelingProcess

const G4Channeling* G4ChannelingTrackData::fChannelingProcess
private

Definition at line 58 of file G4ChannelingTrackData.hh.

Referenced by Reset().

◆ fDBL

G4ThreeVector G4ChannelingTrackData::fDBL
private

Definition at line 92 of file G4ChannelingTrackData.hh.

Referenced by Reset().

◆ fEFX

G4double G4ChannelingTrackData::fEFX
private

Definition at line 103 of file G4ChannelingTrackData.hh.

Referenced by GetEFX(), and SetEFX().

◆ fEFY

G4double G4ChannelingTrackData::fEFY
private

Definition at line 104 of file G4ChannelingTrackData.hh.

Referenced by GetEFY(), and SetEFY().

◆ fElD

G4double G4ChannelingTrackData::fElD
private

Definition at line 101 of file G4ChannelingTrackData.hh.

Referenced by GetDensity(), GetElD(), Print(), Reset(), and SetElD().

◆ fMomCh

G4ThreeVector G4ChannelingTrackData::fMomCh
private

Definition at line 97 of file G4ChannelingTrackData.hh.

Referenced by GetMomCh(), Print(), Reset(), and SetMomCh().

◆ fNuD

G4double G4ChannelingTrackData::fNuD
private

Definition at line 100 of file G4ChannelingTrackData.hh.

Referenced by GetDensity(), GetNuD(), Print(), Reset(), and SetNuD().

◆ fPosCh

G4ThreeVector G4ChannelingTrackData::fPosCh
private

Definition at line 98 of file G4ChannelingTrackData.hh.

Referenced by GetPosCh(), Print(), Reset(), and SetPosCh().


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