#include <iostream>#include "globals.hh"#include "G4MuonPlus.hh"#include "G4MuonMinus.hh"#include "G4TauMinus.hh"#include "G4TauPlus.hh"#include "G4Electron.hh"#include "G4Positron.hh"#include "G4NeutrinoTau.hh"#include "G4AntiNeutrinoTau.hh"#include "G4NeutrinoMu.hh"#include "G4AntiNeutrinoMu.hh"#include "G4NeutrinoE.hh"#include "G4AntiNeutrinoE.hh"#include "G4PionPlus.hh"#include "G4PionMinus.hh"#include "G4PionZero.hh"#include "G4Eta.hh"#include "G4EtaPrime.hh"#include "G4KaonPlus.hh"#include "G4KaonMinus.hh"#include "G4KaonZero.hh"#include "G4AntiKaonZero.hh"#include "G4KaonZeroLong.hh"#include "G4KaonZeroShort.hh"#include "G4DMesonPlus.hh"#include "G4DMesonMinus.hh"#include "G4DMesonZero.hh"#include "G4AntiDMesonZero.hh"#include "G4DsMesonPlus.hh"#include "G4DsMesonMinus.hh"#include "G4JPsi.hh"#include "G4BMesonPlus.hh"#include "G4BMesonMinus.hh"#include "G4BMesonZero.hh"#include "G4AntiBMesonZero.hh"#include "G4BsMesonZero.hh"#include "G4AntiBsMesonZero.hh"#include "G4Proton.hh"#include "G4AntiProton.hh"#include "G4Neutron.hh"#include "G4AntiNeutron.hh"#include "G4Lambda.hh"#include "G4SigmaPlus.hh"#include "G4SigmaZero.hh"#include "G4SigmaMinus.hh"#include "G4XiMinus.hh"#include "G4XiZero.hh"#include "G4OmegaMinus.hh"#include "G4AntiLambda.hh"#include "G4AntiSigmaPlus.hh"#include "G4AntiSigmaZero.hh"#include "G4AntiSigmaMinus.hh"#include "G4AntiXiMinus.hh"#include "G4AntiXiZero.hh"#include "G4AntiOmegaMinus.hh"#include "G4LambdacPlus.hh"#include "G4SigmacPlusPlus.hh"#include "G4SigmacPlus.hh"#include "G4SigmacZero.hh"#include "G4XicPlus.hh"#include "G4XicZero.hh"#include "G4OmegacZero.hh"#include "G4AntiLambdacPlus.hh"#include "G4AntiSigmacPlusPlus.hh"#include "G4AntiSigmacPlus.hh"#include "G4AntiSigmacZero.hh"#include "G4AntiXicPlus.hh"#include "G4AntiXicZero.hh"#include "G4AntiOmegacZero.hh"#include "G4Alpha.hh"#include "G4Deuteron.hh"#include "G4He3.hh"#include "G4Triton.hh"#include "G4GenericIon.hh"#include "G4NucleiProperties.hh"#include "G4QContent.hh"Go to the source code of this file.
Data Structures | |
| class | G4QPDGCode |
Defines | |
| #define | G4QPDGCode_h 1 |
Functions | |
| std::ostream & | operator<< (std::ostream &lhs, G4QPDGCode &rhs) |
| std::ostream & | operator<< (std::ostream &lhs, const G4QPDGCode &rhs) |
| G4int | operator+ (const G4QPDGCode &lhs, const G4QPDGCode &rhs) |
| G4int | operator+ (const G4QPDGCode &lhs, const G4int &rhs) |
| G4int | operator+ (const G4int &lhs, const G4QPDGCode &rhs) |
| G4int | operator- (const G4QPDGCode &lhs, const G4QPDGCode &rhs) |
| G4int | operator- (const G4QPDGCode &lhs, const G4int &rhs) |
| G4int | operator- (const G4int &lhs, const G4QPDGCode &rhs) |
| G4int | operator * (const G4QPDGCode &lhs, const G4QPDGCode &rhs) |
| G4int | operator * (const G4QPDGCode &lhs, const G4int &rhs) |
| G4int | operator * (const G4int &lhs, const G4QPDGCode &rhs) |
| G4int | operator/ (const G4QPDGCode &lhs, const G4QPDGCode &rhs) |
| G4int | operator/ (const G4QPDGCode &lhs, const G4int &rhs) |
| G4int | operator/ (const G4int &lhs, const G4QPDGCode &rhs) |
| G4int | operator% (const G4QPDGCode &lhs, const G4int &rhs) |
| #define G4QPDGCode_h 1 |
Definition at line 42 of file G4QPDGCode.hh.
| G4int operator * | ( | const G4int & | lhs, | |
| const G4QPDGCode & | rhs | |||
| ) |
Definition at line 178 of file G4QPDGCode.cc.
References G4QPDGCode::GetPDGCode().
00179 { 00180 G4int s_value = lhs; 00181 return s_value *= rhs.GetPDGCode(); 00182 }
| G4int operator * | ( | const G4QPDGCode & | lhs, | |
| const G4int & | rhs | |||
| ) |
Definition at line 172 of file G4QPDGCode.cc.
00173 { 00174 G4int s_value = lhs.GetPDGCode(); 00175 return s_value *= rhs; 00176 }
| G4int operator * | ( | const G4QPDGCode & | lhs, | |
| const G4QPDGCode & | rhs | |||
| ) |
Definition at line 166 of file G4QPDGCode.cc.
00167 { 00168 G4int s_value = lhs.GetPDGCode(); 00169 return s_value *= rhs.GetPDGCode(); 00170 }
| G4int operator% | ( | const G4QPDGCode & | lhs, | |
| const G4int & | rhs | |||
| ) |
Definition at line 204 of file G4QPDGCode.cc.
References G4QPDGCode::GetPDGCode().
00205 { 00206 G4int s_value = lhs.GetPDGCode(); 00207 return s_value %= rhs; 00208 }
| G4int operator+ | ( | const G4int & | lhs, | |
| const G4QPDGCode & | rhs | |||
| ) |
Definition at line 142 of file G4QPDGCode.cc.
00143 { 00144 G4int s_value = lhs; 00145 return s_value += rhs.GetPDGCode(); 00146 }
| G4int operator+ | ( | const G4QPDGCode & | lhs, | |
| const G4int & | rhs | |||
| ) |
Definition at line 137 of file G4QPDGCode.cc.
00138 { 00139 G4int s_value = lhs.GetPDGCode(); 00140 return s_value += rhs; 00141 }
| G4int operator+ | ( | const G4QPDGCode & | lhs, | |
| const G4QPDGCode & | rhs | |||
| ) |
Definition at line 132 of file G4QPDGCode.cc.
00133 { 00134 G4int s_value = lhs.GetPDGCode(); 00135 return s_value += rhs.GetPDGCode(); 00136 }
| G4int operator- | ( | const G4int & | lhs, | |
| const G4QPDGCode & | rhs | |||
| ) |
Definition at line 159 of file G4QPDGCode.cc.
00160 { 00161 G4int s_value = lhs; 00162 return s_value -= rhs.GetPDGCode(); 00163 }
| G4int operator- | ( | const G4QPDGCode & | lhs, | |
| const G4int & | rhs | |||
| ) |
Definition at line 154 of file G4QPDGCode.cc.
00155 { 00156 G4int s_value = lhs.GetPDGCode(); 00157 return s_value -= rhs; 00158 }
| G4int operator- | ( | const G4QPDGCode & | lhs, | |
| const G4QPDGCode & | rhs | |||
| ) |
Definition at line 149 of file G4QPDGCode.cc.
00150 { 00151 G4int s_value = lhs.GetPDGCode(); 00152 return s_value -= rhs.GetPDGCode(); 00153 }
| G4int operator/ | ( | const G4int & | lhs, | |
| const G4QPDGCode & | rhs | |||
| ) |
Definition at line 197 of file G4QPDGCode.cc.
References G4QPDGCode::GetPDGCode().
00198 { 00199 G4int s_value = lhs; 00200 return s_value /= rhs.GetPDGCode(); 00201 }
| G4int operator/ | ( | const G4QPDGCode & | lhs, | |
| const G4int & | rhs | |||
| ) |
Definition at line 191 of file G4QPDGCode.cc.
00192 { 00193 G4int s_value = lhs.GetPDGCode(); 00194 return s_value /= rhs; 00195 }
| G4int operator/ | ( | const G4QPDGCode & | lhs, | |
| const G4QPDGCode & | rhs | |||
| ) |
Definition at line 185 of file G4QPDGCode.cc.
00186 { 00187 G4int s_value = lhs.GetPDGCode(); 00188 return s_value /= rhs.GetPDGCode(); 00189 }
| std::ostream& operator<< | ( | std::ostream & | lhs, | |
| const G4QPDGCode & | rhs | |||
| ) |
| std::ostream& operator<< | ( | std::ostream & | lhs, | |
| G4QPDGCode & | rhs | |||
| ) |
1.4.7