Geant4 10.7.0
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 (G4ThreeVector apos)
 
 ~G4CrystalAtomBase ()
 
std::vector< G4ThreeVectorGetPos ()
 
G4ThreeVector GetPos (G4int idx)
 
void AddPos (G4ThreeVector a3vec)
 
void SetPos (std::vector< G4ThreeVector > a3vecvec)
 
void DelPos (G4int idx)
 

Detailed Description

Definition at line 54 of file G4CrystalAtomBase.hh.

Constructor & Destructor Documentation

◆ G4CrystalAtomBase() [1/2]

G4CrystalAtomBase::G4CrystalAtomBase ( )
inline

Definition at line 60 of file G4CrystalAtomBase.hh.

60{;};

◆ G4CrystalAtomBase() [2/2]

G4CrystalAtomBase::G4CrystalAtomBase ( G4ThreeVector  apos)
inline

Definition at line 61 of file G4CrystalAtomBase.hh.

61{AddPos(apos);};
void AddPos(G4ThreeVector a3vec)

◆ ~G4CrystalAtomBase()

G4CrystalAtomBase::~G4CrystalAtomBase ( )
inline

Definition at line 62 of file G4CrystalAtomBase.hh.

62{;};

Member Function Documentation

◆ AddPos()

void G4CrystalAtomBase::AddPos ( 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 84 of file G4CrystalAtomBase.hh.

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

◆ GetPos() [1/2]

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

Definition at line 75 of file G4CrystalAtomBase.hh.

75{return thePos;}

◆ GetPos() [2/2]

G4ThreeVector G4CrystalAtomBase::GetPos ( G4int  idx)
inline

Definition at line 78 of file G4CrystalAtomBase.hh.

78{return thePos[idx];}

◆ SetPos()

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

Definition at line 82 of file G4CrystalAtomBase.hh.

82{thePos = a3vecvec;}

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