Geant4-11
Public Types | Public Member Functions | Private Attributes
G4MolecularDissociationChannel Class Reference

#include <G4MolecularDissociationChannel.hh>

Public Types

using Product = const G4MolecularConfiguration
 
using ProductList = std::vector< Product * >
 

Public Member Functions

void AddProduct (Product *, G4double displacement=0.)
 
 G4MolecularDissociationChannel ()
 
 G4MolecularDissociationChannel (const G4MolecularDissociationChannel &)=default
 
 G4MolecularDissociationChannel (const G4String &)
 
G4double GetDecayTime () const
 
DisplacementType GetDisplacementType () const
 
G4double GetEnergy () const
 
const G4StringGetName () const
 
G4int GetNbProducts () const
 
G4double GetProbability () const
 
ProductGetProduct (int) const
 
G4double GetRMSMotherMoleculeDisplacement () const
 
const std::vector< G4double > & GetRMSProductsDisplacement () const
 
G4double GetRMSRadialDisplacementOfProduct (Product *)
 
G4MolecularDissociationChanneloperator= (const G4MolecularDissociationChannel &right)=default
 
void SetDecayTime (G4double)
 
void SetDisplacementType (DisplacementType)
 
void SetEnergy (G4double)
 
void SetName (const G4String &)
 
void SetProbability (G4double)
 
void SetRMSMotherMoleculeDisplacement (G4double)
 
 ~G4MolecularDissociationChannel ()=default
 

Private Attributes

G4double fDecayTime
 
DisplacementType fDisplacementType
 
G4String fName
 
G4double fProbability
 
ProductList fProductsVector
 
G4double fReleasedEnergy
 
G4double fRMSMotherMoleculeDisplacement
 
std::vector< G4doublefRMSProductsDisplacementVector
 

Detailed Description

Definition at line 63 of file G4MolecularDissociationChannel.hh.

Member Typedef Documentation

◆ Product

Definition at line 74 of file G4MolecularDissociationChannel.hh.

◆ ProductList

Definition at line 75 of file G4MolecularDissociationChannel.hh.

Constructor & Destructor Documentation

◆ G4MolecularDissociationChannel() [1/3]

G4MolecularDissociationChannel::G4MolecularDissociationChannel ( )

◆ G4MolecularDissociationChannel() [2/3]

G4MolecularDissociationChannel::G4MolecularDissociationChannel ( const G4String aName)
explicit

◆ ~G4MolecularDissociationChannel()

G4MolecularDissociationChannel::~G4MolecularDissociationChannel ( )
default

◆ G4MolecularDissociationChannel() [3/3]

G4MolecularDissociationChannel::G4MolecularDissociationChannel ( const G4MolecularDissociationChannel )
default

Member Function Documentation

◆ AddProduct()

void G4MolecularDissociationChannel::AddProduct ( Product pProduct,
G4double  displacement = 0. 
)

◆ GetDecayTime()

G4double G4MolecularDissociationChannel::GetDecayTime ( ) const
inline

Definition at line 181 of file G4MolecularDissociationChannel.hh.

182{
183 return fDecayTime;
184}

References fDecayTime.

◆ GetDisplacementType()

DisplacementType G4MolecularDissociationChannel::GetDisplacementType ( ) const
inline

◆ GetEnergy()

G4double G4MolecularDissociationChannel::GetEnergy ( ) const
inline

Definition at line 167 of file G4MolecularDissociationChannel.hh.

168{
169 return fReleasedEnergy;
170}

References fReleasedEnergy.

Referenced by G4DNAMolecularDissociation::DecayIt().

◆ GetName()

const G4String & G4MolecularDissociationChannel::GetName ( ) const
inline

◆ GetNbProducts()

G4int G4MolecularDissociationChannel::GetNbProducts ( ) const

◆ GetProbability()

G4double G4MolecularDissociationChannel::GetProbability ( ) const
inline

Definition at line 174 of file G4MolecularDissociationChannel.hh.

175{
176 return fProbability;
177}

References fProbability.

Referenced by G4DNAMolecularDissociation::DecayIt().

◆ GetProduct()

G4MolecularDissociationChannel::Product * G4MolecularDissociationChannel::GetProduct ( int  index) const

◆ GetRMSMotherMoleculeDisplacement()

G4double G4MolecularDissociationChannel::GetRMSMotherMoleculeDisplacement ( ) const
inline

Definition at line 188 of file G4MolecularDissociationChannel.hh.

190{
192}

References fRMSMotherMoleculeDisplacement.

◆ GetRMSProductsDisplacement()

const std::vector< G4double > & G4MolecularDissociationChannel::GetRMSProductsDisplacement ( ) const
inline

Definition at line 160 of file G4MolecularDissociationChannel.hh.

161{
163}

References fRMSProductsDisplacementVector.

◆ GetRMSRadialDisplacementOfProduct()

G4double G4MolecularDissociationChannel::GetRMSRadialDisplacementOfProduct ( Product pProduct)

Definition at line 84 of file G4MolecularDissociationChannel.cc.

85{
86 if (fProductsVector.empty())
87 {
88 return -1.;
89 }
90
91 auto it = std::find_if(fProductsVector.begin(), fProductsVector.end(),
92 [pProduct](Product* _pProduct) {
93 return _pProduct == pProduct;
94 });
95
96 if (it == fProductsVector.end())
97 {
98 return -1.;
99 }
100 auto index = std::distance(fProductsVector.begin(), it);
101 return fRMSProductsDisplacementVector[index];
102}
const G4MolecularConfiguration Product

References fProductsVector, and fRMSProductsDisplacementVector.

◆ operator=()

G4MolecularDissociationChannel & G4MolecularDissociationChannel::operator= ( const G4MolecularDissociationChannel right)
default

◆ SetDecayTime()

void G4MolecularDissociationChannel::SetDecayTime ( G4double  value)
inline

Definition at line 136 of file G4MolecularDissociationChannel.hh.

137{
138
139 fDecayTime = value;
140}

References fDecayTime.

◆ SetDisplacementType()

void G4MolecularDissociationChannel::SetDisplacementType ( DisplacementType  aDisplacementType)
inline

◆ SetEnergy()

void G4MolecularDissociationChannel::SetEnergy ( G4double  value)
inline

◆ SetName()

void G4MolecularDissociationChannel::SetName ( const G4String value)
inline

Definition at line 115 of file G4MolecularDissociationChannel.hh.

116{
117 fName = value;
118}

References fName.

◆ SetProbability()

void G4MolecularDissociationChannel::SetProbability ( G4double  value)
inline

◆ SetRMSMotherMoleculeDisplacement()

void G4MolecularDissociationChannel::SetRMSMotherMoleculeDisplacement ( G4double  value)
inline

Definition at line 144 of file G4MolecularDissociationChannel.hh.

146{
148}

References fRMSMotherMoleculeDisplacement.

Field Documentation

◆ fDecayTime

G4double G4MolecularDissociationChannel::fDecayTime
private

Definition at line 107 of file G4MolecularDissociationChannel.hh.

Referenced by GetDecayTime(), and SetDecayTime().

◆ fDisplacementType

DisplacementType G4MolecularDissociationChannel::fDisplacementType
private

Definition at line 102 of file G4MolecularDissociationChannel.hh.

Referenced by GetDisplacementType(), and SetDisplacementType().

◆ fName

G4String G4MolecularDissociationChannel::fName
private

◆ fProbability

G4double G4MolecularDissociationChannel::fProbability
private

Definition at line 106 of file G4MolecularDissociationChannel.hh.

Referenced by GetProbability(), and SetProbability().

◆ fProductsVector

ProductList G4MolecularDissociationChannel::fProductsVector
private

◆ fReleasedEnergy

G4double G4MolecularDissociationChannel::fReleasedEnergy
private

Definition at line 105 of file G4MolecularDissociationChannel.hh.

Referenced by GetEnergy(), and SetEnergy().

◆ fRMSMotherMoleculeDisplacement

G4double G4MolecularDissociationChannel::fRMSMotherMoleculeDisplacement
private

◆ fRMSProductsDisplacementVector

std::vector<G4double> G4MolecularDissociationChannel::fRMSProductsDisplacementVector
private

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