Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4MuonicAtomDecay.hh
이 파일의 문서화 페이지로 가기
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 #ifndef G4MuonicAtomDecay_h
27 #define G4MuonicAtomDecay_h 1
28 
29 //
30 //
31 // $Id: G4MuonicAtomDecay.hh 96314 2016-04-06 07:21:51Z gcosmo $
32 //
33 //
34 // ------------------------------------------------------------
35 // GEANT 4 class header file
36 //
37 // History:
38 //
39 // 20170522 K L Genser first implementation somewhat based on
40 // G4RadioactiveDecay and code by V.Ivantchenko & K.Lynch
41 //
42 // ------------------------------------------------------------
43 
45 
46 class G4MuonicAtom;
47 class G4Ions;
49 class G4HadFinalState;
50 
52 {
53 
54  // Class Description:
55  //
56  // MuonicAtom process in which Muon is captured by the nucleus or decays in orbit
57 
58 public: // with description
59 
60  explicit G4MuonicAtomDecay(G4HadronicInteraction* hiptr=nullptr,
61  // G4HadronicInteraction* diptr=nullptr,
62  const G4String& processName="MuonicAtomDecay");
63 
64  virtual ~G4MuonicAtomDecay();
65 
67 
68  // virtual void PreparePhysicsTable(const G4ParticleDefinition&);
69 
70  // virtual void BuildPhysicsTable(const G4ParticleDefinition&);
71 
73  // Sets the VerboseLevel
74 
75  inline G4int GetVerboseLevel() const {return verboseLevel;}
76  // Returns the VerboseLevel
77 
78  virtual void ProcessDescription(std::ostream& outFile) const;
79 
81  G4double previousStepSize,
83 
86 
87  inline virtual G4VParticleChange* AtRestDoIt(const G4Track& theTrack,
88  const G4Step& theStep)
89  {return DecayIt(theTrack, theStep);}
90 
91  inline virtual G4VParticleChange* PostStepDoIt(const G4Track& theTrack,
92  const G4Step& theStep)
93  {return DecayIt(theTrack, theStep);}
94 
95  virtual G4double GetMeanFreePath(const G4Track& aTrack,
96  G4double previousStepSize,
98  );
99  // Calculates from the macroscopic cross section a mean
100  // free path, the value is returned in units of distance.
101 
103  // Calculates the mean life-time (i.e. for decays) of the
104  // particle at rest due to the occurence of the given process,
105  // or converts the probability of interaction (i.e. for
106  // annihilation) into the life-time of the particle for the
107  // occurence of the given process.
108 
109 
110 private:
111  // hide copy constructor and assignment operator as private
114 
115  G4VParticleChange* DecayIt(const G4Track& theTrack,
116  const G4Step& theStep);
117 
118  void FillResult(G4HadFinalState * aR, const G4Track & aT);
119 
120  void DumpState(const G4Track&, const G4String&, G4ExceptionDescription&);
121 
123 
125 
126  G4HadronicInteraction* cmptr; // the capture model owned by its registry
127  // G4HadronicInteraction* dmptr; // the DIO model owned by its registry
128 
130 
131 
132 };
133 #endif
void SetVerboseLevel(G4int value)
G4MuonicAtomDecay & operator=(const G4MuonicAtomDecay &right)
virtual G4VParticleChange * PostStepDoIt(const G4Track &theTrack, const G4Step &theStep)
G4ParticleChange theTotalResult
virtual G4bool IsApplicable(const G4ParticleDefinition &)
std::ostringstream G4ExceptionDescription
Definition: G4Exception.hh:45
virtual G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
const G4double fMuMass
virtual void ProcessDescription(std::ostream &outFile) const
G4double condition(const G4ErrorSymMatrix &m)
virtual G4double GetMeanLifeTime(const G4Track &aTrack, G4ForceCondition *condition)
G4HadronicInteraction * cmptr
Definition: G4Ions.hh:51
G4int GetVerboseLevel() const
double G4double
Definition: G4Types.hh:76
bool G4bool
Definition: G4Types.hh:79
const XML_Char int const XML_Char * value
Definition: expat.h:331
virtual G4double GetMeanFreePath(const G4Track &aTrack, G4double previousStepSize, G4ForceCondition *condition)
Definition: G4Step.hh:76
int G4int
Definition: G4Types.hh:78
G4VParticleChange * DecayIt(const G4Track &theTrack, const G4Step &theStep)
G4ForceCondition
void FillResult(G4HadFinalState *aR, const G4Track &aT)
virtual ~G4MuonicAtomDecay()
void DumpState(const G4Track &, const G4String &, G4ExceptionDescription &)
virtual G4VParticleChange * AtRestDoIt(const G4Track &theTrack, const G4Step &theStep)
G4MuonicAtomDecay(G4HadronicInteraction *hiptr=nullptr, const G4String &processName="MuonicAtomDecay")
virtual G4double AtRestGetPhysicalInteractionLength(const G4Track &, G4ForceCondition *)