Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
Loading...
Searching...
No Matches
G4CrystalAtomBase Class Reference

#include <G4CrystalAtomBase.hh>

Public Member Functions

 G4CrystalAtomBase ()
 
 G4CrystalAtomBase (const G4ThreeVector &apos)
 
 ~G4CrystalAtomBase ()
 
std::vector< G4ThreeVectorGetPos ()
 
G4ThreeVector GetPos (G4int idx)
 
void AddPos (const G4ThreeVector &a3vec)
 
void SetPos (std::vector< G4ThreeVector > a3vecvec)
 
void DelPos (G4int idx)
 

Detailed Description

Definition at line 55 of file G4CrystalAtomBase.hh.

Constructor & Destructor Documentation

◆ G4CrystalAtomBase() [1/2]

G4CrystalAtomBase::G4CrystalAtomBase ( )
inline

Definition at line 61 of file G4CrystalAtomBase.hh.

61{;};

◆ G4CrystalAtomBase() [2/2]

G4CrystalAtomBase::G4CrystalAtomBase ( const G4ThreeVector apos)
inline

Definition at line 62 of file G4CrystalAtomBase.hh.

62{ AddPos(apos); };
void AddPos(const G4ThreeVector &a3vec)

◆ ~G4CrystalAtomBase()

G4CrystalAtomBase::~G4CrystalAtomBase ( )
inline

Definition at line 63 of file G4CrystalAtomBase.hh.

63{;};

Member Function Documentation

◆ AddPos()

void G4CrystalAtomBase::AddPos ( const G4ThreeVector a3vec)
inline

Definition at line 80 of file G4CrystalAtomBase.hh.

80{ thePos.push_back(a3vec); }

Referenced by G4CrystalAtomBase().

◆ DelPos()

void G4CrystalAtomBase::DelPos ( G4int  idx)
inline

Definition at line 86 of file G4CrystalAtomBase.hh.

86{thePos.erase(thePos.begin()+idx);}

◆ GetPos() [1/2]

std::vector< G4ThreeVector > G4CrystalAtomBase::GetPos ( )
inline

Definition at line 76 of file G4CrystalAtomBase.hh.

76{return thePos;}

◆ GetPos() [2/2]

G4ThreeVector G4CrystalAtomBase::GetPos ( G4int  idx)
inline

Definition at line 79 of file G4CrystalAtomBase.hh.

79{return thePos[idx];}

◆ SetPos()

void G4CrystalAtomBase::SetPos ( std::vector< G4ThreeVector a3vecvec)
inline

Definition at line 82 of file G4CrystalAtomBase.hh.

82 {
83 thePos = std::move(a3vecvec);
84 }

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