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

#include <G4FermiChannels.hh>

Public Member Functions

 G4FermiChannels (const G4FermiFragment *ptr)
 
 ~G4FermiChannels ()
 
G4int GetZ () const
 
const G4FermiFragmentGetFragment () const
 
std::size_t NumberPairs () const
 
const std::vector< G4FermiPair * > & GetChannels () const
 
const G4FermiPairGetPair (std::size_t idx) const
 
void AddChannel (G4FermiPair *ptr)
 
G4double GetExcitation () const
 
G4double GetMass () const
 
const G4FermiChannelsoperator= (const G4FermiChannels &)=delete
 
 G4FermiChannels (const G4FermiChannels &)=delete
 
G4bool operator== (const G4FermiChannels &)=delete
 
G4bool operator!= (const G4FermiChannels &)=delete
 

Detailed Description

Definition at line 39 of file G4FermiChannels.hh.

Constructor & Destructor Documentation

◆ G4FermiChannels() [1/2]

G4FermiChannels::G4FermiChannels ( const G4FermiFragment * ptr)
inlineexplicit

Definition at line 43 of file G4FermiChannels.hh.

43: frag(ptr) {}

◆ ~G4FermiChannels()

G4FermiChannels::~G4FermiChannels ( )
inline

Definition at line 44 of file G4FermiChannels.hh.

44{ for (auto const & p : fvect) { delete p; } }

◆ G4FermiChannels() [2/2]

G4FermiChannels::G4FermiChannels ( const G4FermiChannels & )
inlinedelete

Member Function Documentation

◆ AddChannel()

void G4FermiChannels::AddChannel ( G4FermiPair * ptr)
inline

Definition at line 55 of file G4FermiChannels.hh.

55 {
56 fvect.push_back(ptr);
57 ++nch;
58 }

◆ GetChannels()

const std::vector< G4FermiPair * > & G4FermiChannels::GetChannels ( ) const
inline

Definition at line 50 of file G4FermiChannels.hh.

50{ return fvect; }

◆ GetExcitation()

G4double G4FermiChannels::GetExcitation ( ) const
inline

Definition at line 60 of file G4FermiChannels.hh.

60{ return frag->GetExcitationEnergy(); }
G4double GetExcitationEnergy() const

◆ GetFragment()

const G4FermiFragment * G4FermiChannels::GetFragment ( ) const
inline

Definition at line 47 of file G4FermiChannels.hh.

47{ return frag; }

◆ GetMass()

G4double G4FermiChannels::GetMass ( ) const
inline

Definition at line 61 of file G4FermiChannels.hh.

61{ return frag->GetTotalEnergy(); }
G4double GetTotalEnergy(void) const

◆ GetPair()

const G4FermiPair * G4FermiChannels::GetPair ( std::size_t idx) const
inline

Definition at line 51 of file G4FermiChannels.hh.

51 {
52 return (idx < nch) ? fvect[idx] : nullptr;
53 }

◆ GetZ()

G4int G4FermiChannels::GetZ ( ) const
inline

Definition at line 46 of file G4FermiChannels.hh.

46{ return frag->GetZ(); }
G4int GetZ() const

◆ NumberPairs()

std::size_t G4FermiChannels::NumberPairs ( ) const
inline

Definition at line 49 of file G4FermiChannels.hh.

49{ return nch; }

◆ operator!=()

G4bool G4FermiChannels::operator!= ( const G4FermiChannels & )
inlinedelete

◆ operator=()

const G4FermiChannels & G4FermiChannels::operator= ( const G4FermiChannels & )
inlinedelete

◆ operator==()

G4bool G4FermiChannels::operator== ( const G4FermiChannels & )
inlinedelete

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