File indexing completed on 2025-01-18 09:58:42
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026
0027
0028
0029
0030
0031
0032 #ifndef G4MuonicAtom_hh
0033 #define G4MuonicAtom_hh 1
0034
0035 #include "G4Ions.hh"
0036
0037 class G4MuonicAtom : public G4Ions
0038 {
0039 public:
0040
0041 G4MuonicAtom(
0042 const G4String& aName, G4double mass,
0043 G4double width, G4double charge,
0044 G4int iSpin, G4int iParity,
0045 G4int iConjugation, G4int iIsospin,
0046 G4int iIsospin3, G4int gParity,
0047 const G4String& pType, G4int lepton,
0048 G4int baryon, G4int encoding,
0049 G4bool stable, G4double lifeTime,
0050 G4DecayTable *decaytable, G4bool shortlived,
0051 const G4String& subType, G4Ions const* baseion,
0052 G4int anti_encoding =0,
0053 G4double excitation = 0.0,
0054 G4int isomer = 0,
0055 G4double DIOLifeTime = -1.0,
0056 G4double NCLifeTime = -1.0
0057 );
0058
0059
0060 ~G4MuonicAtom() override = default;
0061 G4MuonicAtom* MuonicAtomDefinition();
0062 G4MuonicAtom* MuonicAtom();
0063 G4Ions const* GetBaseIon() const;
0064 G4double GetDIOLifeTime() const;
0065 void SetDIOLifeTime(G4double lt);
0066 G4double GetNCLifeTime() const;
0067 void SetNCLifeTime(G4double lt);
0068
0069 protected:
0070 G4MuonicAtom() {}
0071
0072 private:
0073 G4Ions const* baseIon = nullptr;
0074 G4double fDIOLifeTime = 0.0;
0075 G4double fNCLifeTime = 0.0;
0076 };
0077
0078
0079
0080
0081
0082 inline G4MuonicAtom* G4MuonicAtom::MuonicAtomDefinition()
0083 {
0084 return this;
0085 }
0086
0087 inline G4MuonicAtom* G4MuonicAtom::MuonicAtom()
0088 {
0089 return this;
0090 }
0091
0092 inline G4Ions const* G4MuonicAtom::GetBaseIon() const
0093 {
0094 return baseIon;
0095 }
0096
0097 inline G4double G4MuonicAtom::GetDIOLifeTime() const
0098 {
0099 return fDIOLifeTime;
0100 }
0101
0102 inline void G4MuonicAtom::SetDIOLifeTime(G4double lt)
0103 {
0104 fDIOLifeTime = lt;
0105 }
0106
0107 inline G4double G4MuonicAtom::GetNCLifeTime() const
0108 {
0109 return fNCLifeTime;
0110 }
0111
0112 inline void G4MuonicAtom::SetNCLifeTime(G4double lt)
0113 {
0114 fNCLifeTime = lt;
0115 }
0116
0117 #endif