Import Geant4 10.7.0.beta source tree
This commit is contained in:
@@ -23,34 +23,28 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
//
|
||||
//
|
||||
// ------------------------------------------------------------
|
||||
// GEANT 4 class header file
|
||||
//
|
||||
// History: first implementation,
|
||||
// July 2016, K. Lynch
|
||||
// June 2017, K.L. Genser added baseion, lifetimes and access functions
|
||||
// G4MuonicAtom
|
||||
|
||||
#ifndef G4MuonicAtom_h
|
||||
#define G4MuonicAtom_h 1
|
||||
// Author: K. Lynch, July 2016
|
||||
// Revision:
|
||||
// - June 2017, K.L. Genser - added baseion, lifetimes and access functions
|
||||
// --------------------------------------------------------------------
|
||||
#ifndef G4MuonicAtom_hh
|
||||
#define G4MuonicAtom_hh 1
|
||||
|
||||
#include "G4Ions.hh"
|
||||
|
||||
class G4MuonicAtom : public G4Ions
|
||||
{
|
||||
protected:
|
||||
G4MuonicAtom(){};
|
||||
public:
|
||||
|
||||
public:
|
||||
G4MuonicAtom(
|
||||
G4MuonicAtom(
|
||||
const G4String& aName, G4double mass,
|
||||
G4double width, G4double charge,
|
||||
G4int iSpin, G4int iParity,
|
||||
G4int iConjugation, G4int iIsospin,
|
||||
G4double width, G4double charge,
|
||||
G4int iSpin, G4int iParity,
|
||||
G4int iConjugation, G4int iIsospin,
|
||||
G4int iIsospin3, G4int gParity,
|
||||
const G4String& pType, G4int lepton,
|
||||
const G4String& pType, G4int lepton,
|
||||
G4int baryon, G4int encoding,
|
||||
G4bool stable, G4double lifeTime,
|
||||
G4DecayTable *decaytable, G4bool shortlived,
|
||||
@@ -62,59 +56,68 @@ class G4MuonicAtom : public G4Ions
|
||||
G4double NCLifeTime = -1.0
|
||||
);
|
||||
|
||||
virtual ~G4MuonicAtom();
|
||||
G4MuonicAtom* MuonicAtomDefinition();
|
||||
G4MuonicAtom* MuonicAtom();
|
||||
G4Ions const* GetBaseIon() const;
|
||||
G4double GetDIOLifeTime() const;
|
||||
void SetDIOLifeTime(G4double lt);
|
||||
G4double GetNCLifeTime() const;
|
||||
void SetNCLifeTime(G4double lt);
|
||||
virtual ~G4MuonicAtom();
|
||||
G4MuonicAtom* MuonicAtomDefinition();
|
||||
G4MuonicAtom* MuonicAtom();
|
||||
G4Ions const* GetBaseIon() const;
|
||||
G4double GetDIOLifeTime() const;
|
||||
void SetDIOLifeTime(G4double lt);
|
||||
G4double GetNCLifeTime() const;
|
||||
void SetNCLifeTime(G4double lt);
|
||||
|
||||
private:
|
||||
G4Ions const* baseIon;
|
||||
G4double fDIOLifeTime;
|
||||
G4double fNCLifeTime;
|
||||
protected:
|
||||
|
||||
G4MuonicAtom(){}
|
||||
|
||||
private:
|
||||
|
||||
G4Ions const* baseIon = nullptr;
|
||||
G4double fDIOLifeTime = 0.0;
|
||||
G4double fNCLifeTime = 0.0;
|
||||
};
|
||||
|
||||
// ------------------------
|
||||
// Inline methods
|
||||
// ------------------------
|
||||
|
||||
inline
|
||||
G4MuonicAtom* G4MuonicAtom::MuonicAtomDefinition()
|
||||
G4MuonicAtom* G4MuonicAtom::MuonicAtomDefinition()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
inline
|
||||
G4MuonicAtom* G4MuonicAtom::MuonicAtom()
|
||||
G4MuonicAtom* G4MuonicAtom::MuonicAtom()
|
||||
{
|
||||
return this;
|
||||
}
|
||||
|
||||
inline
|
||||
G4Ions const* G4MuonicAtom::GetBaseIon() const
|
||||
G4Ions const* G4MuonicAtom::GetBaseIon() const
|
||||
{
|
||||
return baseIon;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4MuonicAtom::GetDIOLifeTime() const
|
||||
G4double G4MuonicAtom::GetDIOLifeTime() const
|
||||
{
|
||||
return fDIOLifeTime;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4MuonicAtom::SetDIOLifeTime(G4double lt)
|
||||
void G4MuonicAtom::SetDIOLifeTime(G4double lt)
|
||||
{
|
||||
fDIOLifeTime = lt;
|
||||
}
|
||||
|
||||
inline
|
||||
G4double G4MuonicAtom::GetNCLifeTime() const
|
||||
G4double G4MuonicAtom::GetNCLifeTime() const
|
||||
{
|
||||
return fNCLifeTime;
|
||||
}
|
||||
|
||||
inline
|
||||
void G4MuonicAtom::SetNCLifeTime(G4double lt)
|
||||
void G4MuonicAtom::SetNCLifeTime(G4double lt)
|
||||
{
|
||||
fNCLifeTime = lt;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user