ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4PixeShellDataSet Class Reference

#include <geant4/tree/geant4-10.6-release/source/processes/electromagnetic/pii/include/G4PixeShellDataSet.hh>

+ Inheritance diagram for G4PixeShellDataSet:
+ Collaboration diagram for G4PixeShellDataSet:

Public Member Functions

 G4PixeShellDataSet (G4int Z, G4IInterpolator *algo, const G4String &modelK="ecpssr", const G4String &modelL="ecpssr", const G4String &modelM="ecpssr", G4double eUnit=CLHEP::MeV, G4double dataUnit=CLHEP::barn)
 
virtual ~G4PixeShellDataSet ()
 
virtual G4double FindValue (G4double energy, G4int componentId=0) const
 
virtual void PrintData (void) const
 
virtual const G4IDataSetGetComponent (G4int componentId) const
 
virtual void AddComponent (G4IDataSet *dataSet)
 
virtual size_t NumberOfComponents (void) const
 
virtual const G4DataVectorGetEnergies (G4int componentId) const
 
virtual const G4DataVectorGetData (G4int componentId) const
 
virtual void SetEnergiesData (G4DataVector *energies, G4DataVector *data, G4int componentId)
 
virtual G4bool LoadData (const G4String &fileName)
 
virtual G4bool SaveData (const G4String &fileName) const
 
virtual G4double RandomSelect (G4int) const
 
- Public Member Functions inherited from G4IDataSet
 G4IDataSet ()
 
virtual ~G4IDataSet ()
 

Protected Member Functions

G4double GetUnitEnergies () const
 
G4double GetUnitData () const
 
const G4IInterpolatorGetAlgorithm () const
 
void CleanUpComponents (void)
 

Private Member Functions

G4String FullFileName (const G4String &particleType, const G4String &subShell) const
 
G4int TranslateShell (const G4String &subShell) const
 
 G4PixeShellDataSet ()
 
 G4PixeShellDataSet (const G4PixeShellDataSet &copy)
 
G4PixeShellDataSetoperator= (const G4PixeShellDataSet &right)
 

Private Attributes

std::vector< G4IDataSet * > components
 
G4int z
 
G4IInterpolatoralgorithm
 
std::vector< G4StringcrossModel
 
G4double unitEnergies
 
G4double unitData
 
std::vector< G4StringshellName
 
std::vector< G4StringsubShellName
 

Detailed Description

Definition at line 56 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 56 of file G4PixeShellDataSet.hh

Constructor & Destructor Documentation

G4PixeShellDataSet::G4PixeShellDataSet ( G4int  Z,
G4IInterpolator algo,
const G4String modelK = "ecpssr",
const G4String modelL = "ecpssr",
const G4String modelM = "ecpssr",
G4double  eUnit = CLHEP::MeV,
G4double  dataUnit = CLHEP::barn 
)

Definition at line 47 of file G4PixeShellDataSet.cc.

View newest version in sPHENIX GitHub at line 47 of file G4PixeShellDataSet.cc

References algorithm, crossModel, FatalException, G4Exception(), shellName, and subShellName.

+ Here is the call graph for this function:

G4PixeShellDataSet::~G4PixeShellDataSet ( )
virtual

Definition at line 95 of file G4PixeShellDataSet.cc.

View newest version in sPHENIX GitHub at line 95 of file G4PixeShellDataSet.cc

References algorithm, and CleanUpComponents().

+ Here is the call graph for this function:

G4PixeShellDataSet::G4PixeShellDataSet ( )
private
G4PixeShellDataSet::G4PixeShellDataSet ( const G4PixeShellDataSet copy)
private

Member Function Documentation

virtual void G4PixeShellDataSet::AddComponent ( G4IDataSet dataSet)
inlinevirtual

Implements G4IDataSet.

Definition at line 77 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 77 of file G4PixeShellDataSet.hh

References components.

Referenced by LoadData().

+ Here is the caller graph for this function:

void G4PixeShellDataSet::CleanUpComponents ( void  )
protected

Definition at line 191 of file G4PixeShellDataSet.cc.

View newest version in sPHENIX GitHub at line 191 of file G4PixeShellDataSet.cc

References components.

Referenced by LoadData(), and ~G4PixeShellDataSet().

+ Here is the caller graph for this function:

G4double G4PixeShellDataSet::FindValue ( G4double  energy,
G4int  componentId = 0 
) const
virtual

Implements G4IDataSet.

Definition at line 102 of file G4PixeShellDataSet.cc.

View newest version in sPHENIX GitHub at line 102 of file G4PixeShellDataSet.cc

References components.

G4String G4PixeShellDataSet::FullFileName ( const G4String particleType,
const G4String subShell 
) const
private

Definition at line 201 of file G4PixeShellDataSet.cc.

View newest version in sPHENIX GitHub at line 201 of file G4PixeShellDataSet.cc

References crossModel, FatalException, G4Exception(), shellName, test(), and TranslateShell().

Referenced by LoadData().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const G4IInterpolator* G4PixeShellDataSet::GetAlgorithm ( ) const
inlineprotected

Definition at line 102 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 102 of file G4PixeShellDataSet.hh

References algorithm.

virtual const G4IDataSet* G4PixeShellDataSet::GetComponent ( G4int  componentId) const
inlinevirtual

Implements G4IDataSet.

Definition at line 74 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 74 of file G4PixeShellDataSet.hh

References components.

Referenced by GetData(), GetEnergies(), and PrintData().

+ Here is the caller graph for this function:

virtual const G4DataVector& G4PixeShellDataSet::GetData ( G4int  componentId) const
inlinevirtual

Implements G4IDataSet.

Definition at line 86 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 86 of file G4PixeShellDataSet.hh

References GetComponent(), and G4IDataSet::GetData().

+ Here is the call graph for this function:

virtual const G4DataVector& G4PixeShellDataSet::GetEnergies ( G4int  componentId) const
inlinevirtual

Implements G4IDataSet.

Definition at line 83 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 83 of file G4PixeShellDataSet.hh

References GetComponent(), and G4IDataSet::GetEnergies().

+ Here is the call graph for this function:

G4double G4PixeShellDataSet::GetUnitData ( ) const
inlineprotected

Definition at line 101 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 101 of file G4PixeShellDataSet.hh

References unitData.

G4double G4PixeShellDataSet::GetUnitEnergies ( ) const
inlineprotected

Definition at line 100 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 100 of file G4PixeShellDataSet.hh

References unitEnergies.

G4bool G4PixeShellDataSet::LoadData ( const G4String fileName)
virtual

Implements G4IDataSet.

Definition at line 159 of file G4PixeShellDataSet.cc.

View newest version in sPHENIX GitHub at line 159 of file G4PixeShellDataSet.cc

References AddComponent(), algorithm, CleanUpComponents(), FullFileName(), G4IDataSet::LoadData(), subShellName, and z.

+ Here is the call graph for this function:

virtual size_t G4PixeShellDataSet::NumberOfComponents ( void  ) const
inlinevirtual

Implements G4IDataSet.

Definition at line 80 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 80 of file G4PixeShellDataSet.hh

References components.

Referenced by PrintData().

+ Here is the caller graph for this function:

G4PixeShellDataSet& G4PixeShellDataSet::operator= ( const G4PixeShellDataSet right)
private
void G4PixeShellDataSet::PrintData ( void  ) const
virtual

Implements G4IDataSet.

Definition at line 119 of file G4PixeShellDataSet.cc.

View newest version in sPHENIX GitHub at line 119 of file G4PixeShellDataSet.cc

References G4cout, G4endl, GetComponent(), n, NumberOfComponents(), and G4IDataSet::PrintData().

+ Here is the call graph for this function:

virtual G4double G4PixeShellDataSet::RandomSelect ( G4int  ) const
inlinevirtual

Implements G4IDataSet.

Definition at line 96 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 96 of file G4PixeShellDataSet.hh

G4bool G4PixeShellDataSet::SaveData ( const G4String fileName) const
virtual

Implements G4IDataSet.

Definition at line 184 of file G4PixeShellDataSet.cc.

View newest version in sPHENIX GitHub at line 184 of file G4PixeShellDataSet.cc

void G4PixeShellDataSet::SetEnergiesData ( G4DataVector energies,
G4DataVector data,
G4int  componentId 
)
virtual

Implements G4IDataSet.

Definition at line 137 of file G4PixeShellDataSet.cc.

View newest version in sPHENIX GitHub at line 137 of file G4PixeShellDataSet.cc

References components, FatalException, G4Exception(), message(), and G4IDataSet::SetEnergiesData().

+ Here is the call graph for this function:

G4int G4PixeShellDataSet::TranslateShell ( const G4String subShell) const
private

Definition at line 238 of file G4PixeShellDataSet.cc.

View newest version in sPHENIX GitHub at line 238 of file G4PixeShellDataSet.cc

Referenced by FullFileName().

+ Here is the caller graph for this function:

Member Data Documentation

G4IInterpolator* G4PixeShellDataSet::algorithm
private

Definition at line 120 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 120 of file G4PixeShellDataSet.hh

Referenced by G4PixeShellDataSet(), GetAlgorithm(), LoadData(), and ~G4PixeShellDataSet().

std::vector<G4IDataSet*> G4PixeShellDataSet::components
private

Definition at line 117 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 117 of file G4PixeShellDataSet.hh

Referenced by AddComponent(), CleanUpComponents(), FindValue(), GetComponent(), NumberOfComponents(), and SetEnergiesData().

std::vector<G4String> G4PixeShellDataSet::crossModel
private

Definition at line 125 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 125 of file G4PixeShellDataSet.hh

Referenced by FullFileName(), and G4PixeShellDataSet().

std::vector<G4String> G4PixeShellDataSet::shellName
private

Definition at line 128 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 128 of file G4PixeShellDataSet.hh

Referenced by FullFileName(), and G4PixeShellDataSet().

std::vector<G4String> G4PixeShellDataSet::subShellName
private

Definition at line 129 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 129 of file G4PixeShellDataSet.hh

Referenced by G4PixeShellDataSet(), and LoadData().

G4double G4PixeShellDataSet::unitData
private

Definition at line 127 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 127 of file G4PixeShellDataSet.hh

Referenced by GetUnitData().

G4double G4PixeShellDataSet::unitEnergies
private

Definition at line 126 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 126 of file G4PixeShellDataSet.hh

Referenced by GetUnitEnergies().

G4int G4PixeShellDataSet::z
private

Definition at line 119 of file G4PixeShellDataSet.hh.

View newest version in sPHENIX GitHub at line 119 of file G4PixeShellDataSet.hh

Referenced by LoadData().


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