#include <G4NuclearPolarization.hh>
Definition at line 54 of file G4NuclearPolarization.hh.
◆ G4NuclearPolarization() [1/2]
◆ ~G4NuclearPolarization()
G4NuclearPolarization::~G4NuclearPolarization |
( |
| ) |
|
◆ G4NuclearPolarization() [2/2]
◆ GetA()
G4int G4NuclearPolarization::GetA |
( |
| ) |
const |
|
inline |
◆ GetExcitationEnergy()
G4double G4NuclearPolarization::GetExcitationEnergy |
( |
| ) |
const |
|
inline |
◆ GetPolarization()
std::vector< std::vector< G4complex > > & G4NuclearPolarization::GetPolarization |
( |
| ) |
|
|
inline |
◆ GetZ()
G4int G4NuclearPolarization::GetZ |
( |
| ) |
const |
|
inline |
◆ operator!=()
Definition at line 71 of file G4NuclearPolarization.cc.
72{
73 return (fZ != right.fZ || fA != right.fA || fExcEnergy != right.fExcEnergy
74 || fPolarization != right.fPolarization);
75}
◆ operator=()
Definition at line 104 of file G4NuclearPolarization.hh.
105 {
106 if (this != &right) {
107 fZ = right.fZ;
108 fA = right.fA;
109 fExcEnergy = right.fExcEnergy;
110 fPolarization = right.fPolarization;
111 }
112 return *this;
113 }
◆ operator==()
Definition at line 65 of file G4NuclearPolarization.cc.
66{
67 return (fZ == right.fZ && fA == right.fA && fExcEnergy == right.fExcEnergy
68 && fPolarization == right.fPolarization);
69}
◆ SetExcitationEnergy()
void G4NuclearPolarization::SetExcitationEnergy |
( |
G4double | val | ) |
|
|
inline |
◆ SetPolarization()
void G4NuclearPolarization::SetPolarization |
( |
std::vector< std::vector< G4complex > > & | p | ) |
|
|
inline |
◆ Unpolarize()
void G4NuclearPolarization::Unpolarize |
( |
| ) |
|
|
inline |
◆ operator<<
Definition at line 77 of file G4NuclearPolarization.cc.
78{
79 out << "G4NuclearPolarization: Z= " << p.fZ << " A= " << p.fA << " Exc(MeV)= "
81 out << " P = [ {";
82 size_t kk = p.fPolarization.size();
83 for(size_t k=0; k<kk; ++k) {
84 if(k>0) { out << " {"; }
85 size_t kpmax = (p.fPolarization[k]).size();
86 for(size_t kappa=0; kappa<kpmax; ++kappa) {
87 if(kappa > 0) { out << "} {"; }
88 out << p.fPolarization[k][kappa].real() << " + "
89 << p.fPolarization[k][kappa].imag() << "*i";
90 }
91 if(k+1 < kk) { out <<
"}" <<
G4endl; }
92 }
94 return out;
95}
The documentation for this class was generated from the following files: