Geant4  v4-10.4-release
 모두 클래스 네임스페이스들 파일들 함수 변수 타입정의 열거형 타입 열거형 멤버 Friends 매크로 그룹들 페이지들
G4LDMHiBar.cc
이 파일의 문서화 페이지로 가기
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 // $Id: G4LDMHiBar.cc 66817 2013-01-12 16:16:08Z gcosmo $
27 //
28 //---------------------------------------------------------------------------
29 //
30 // ClassName: G4LDMHiBar
31 //
32 // Description:
33 //
34 // 15.03.17 V. Grichine based on G4Monopole
35 //
36 // Modified:
37 //
38 
39 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
40 
41 #include "G4LDMHiBar.hh"
42 #include "G4ParticleTable.hh"
43 #include "G4PhysicalConstants.hh"
44 #include "G4SystemOfUnits.hh"
45 
46 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
47 
49 
51  const G4String& aName, G4double mass,
52  G4double width, G4double charge,
53  G4int iSpin, G4int iParity,
54  G4int iConjugation, G4int iIsospin,
55  G4int iIsospin3, G4int gParity,
56  const G4String& pType, G4int lepton,
58  G4bool stable, G4double lifetime,
59  G4DecayTable *decaytable)
60  : G4ParticleDefinition( aName, mass, width, charge, iSpin, iParity,
61  iConjugation, iIsospin, iIsospin3, gParity, pType,
62  lepton, baryon, encoding, stable, lifetime, decaytable )
63 {}
64 
65 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
66 
68 {}
69 
70 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
71 //
72 // Arguments for constructor are as follows
73 // name mass width charge
74 // 2*spin parity C-conjugation
75 // 2*Isospin 2*Isospin3 G-parity
76 // type lepton number baryon number PDG encoding
77 // stable lifetime decay table
78 //
79 //
80 
82 {
83  if(!theLDMHiBar)
84  {
85  theLDMHiBar = new G4LDMHiBar(
86  "ldmhibar", mass, 0.0*MeV, 0,
87  0, -1, -1,
88  0, 0, 0,
89  "boson", 0, 0, -51,
90  true, -1.0, 0);
91 
92 
93  G4cout << "LDMHiBar is created: m(GeV)= " << theLDMHiBar->GetPDGMass()/GeV
94  << G4endl;
95  }
96  return theLDMHiBar;
97 }
98 
99 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
100 
102 {
103  return theLDMHiBar;
104 }
105 
106 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
107 
108 
109 
static constexpr double MeV
Definition: G4SIunits.hh:214
#define G4endl
Definition: G4ios.hh:61
G4LDMHiBar(const G4String &aName, G4double mass, G4double width, G4double charge, G4int iSpin, G4int iParity, G4int iConjugation, G4int iIsospin, G4int iIsospin3, G4int gParity, const G4String &pType, G4int lepton, G4int baryon, G4int encoding, G4bool stable, G4double lifetime, G4DecayTable *decaytable)
Definition: G4LDMHiBar.cc:50
G4double GetPDGMass() const
double G4double
Definition: G4Types.hh:76
bool G4bool
Definition: G4Types.hh:79
#define width
static G4LDMHiBar * theLDMHiBar
Definition: G4LDMHiBar.hh:57
static G4LDMHiBar * LDMHiBar()
Definition: G4LDMHiBar.cc:101
Definition of the G4LDMHiBar class.
int G4int
Definition: G4Types.hh:78
static G4LDMHiBar * LDMHiBarDefinition(G4double mass)
Definition: G4LDMHiBar.cc:81
G4GLOB_DLL std::ostream G4cout
static constexpr double GeV
Definition: G4SIunits.hh:217
virtual ~G4LDMHiBar()
Definition: G4LDMHiBar.cc:67