Geant4 11.1.1
Toolkit for the simulation of the passage of particles through matter
|
#include <G4StokesVector.hh>
Public Member Functions | |
G4StokesVector () | |
G4StokesVector (const G4ThreeVector &v) | |
~G4StokesVector ()=default | |
G4bool | IsZero () const |
G4double | p1 () const |
G4double | p2 () const |
G4double | p3 () const |
G4double | Transverse () const |
G4ThreeVector | PolSqr () const |
G4ThreeVector | PolSqrt () const |
G4ThreeVector | PolError (const G4StokesVector &sum2, long n) |
G4ThreeVector | PolDiv (const G4StokesVector &) |
void | SetPhoton () |
void | RotateAz (G4ThreeVector nInteractionFrame, G4ThreeVector particleDirection) |
void | InvRotateAz (G4ThreeVector nInteractionFrame, G4ThreeVector particleDirection) |
void | RotateAz (G4double cosphi, G4double sinphi) |
G4double | GetBeta () |
void | DiceUniform () |
void | DiceP1 () |
void | DiceP2 () |
void | DiceP3 () |
void | FlipP3 () |
Public Member Functions inherited from CLHEP::Hep3Vector | |
Hep3Vector () | |
Hep3Vector (double x) | |
Hep3Vector (double x, double y) | |
Hep3Vector (double x, double y, double z) | |
Hep3Vector (const Hep3Vector &) | |
Hep3Vector (Hep3Vector &&)=default | |
~Hep3Vector () | |
double | operator() (int) const |
double | operator[] (int) const |
double & | operator() (int) |
double & | operator[] (int) |
double | x () const |
double | y () const |
double | z () const |
void | setX (double) |
void | setY (double) |
void | setZ (double) |
void | set (double x, double y, double z) |
double | phi () const |
double | theta () const |
double | cosTheta () const |
double | cos2Theta () const |
double | mag2 () const |
double | mag () const |
void | setPhi (double) |
void | setTheta (double) |
void | setMag (double) |
double | perp2 () const |
double | perp () const |
void | setPerp (double) |
void | setCylTheta (double) |
double | perp2 (const Hep3Vector &) const |
double | perp (const Hep3Vector &) const |
Hep3Vector & | operator= (const Hep3Vector &) |
Hep3Vector & | operator= (Hep3Vector &&)=default |
bool | operator== (const Hep3Vector &) const |
bool | operator!= (const Hep3Vector &) const |
bool | isNear (const Hep3Vector &, double epsilon=tolerance) const |
double | howNear (const Hep3Vector &v) const |
double | deltaR (const Hep3Vector &v) const |
Hep3Vector & | operator+= (const Hep3Vector &) |
Hep3Vector & | operator-= (const Hep3Vector &) |
Hep3Vector | operator- () const |
Hep3Vector & | operator*= (double) |
Hep3Vector & | operator/= (double) |
Hep3Vector | unit () const |
Hep3Vector | orthogonal () const |
double | dot (const Hep3Vector &) const |
Hep3Vector | cross (const Hep3Vector &) const |
double | angle (const Hep3Vector &) const |
double | pseudoRapidity () const |
void | setEta (double p) |
void | setCylEta (double p) |
Hep3Vector & | rotateX (double) |
Hep3Vector & | rotateY (double) |
Hep3Vector & | rotateZ (double) |
Hep3Vector & | rotateUz (const Hep3Vector &) |
Hep3Vector & | rotate (double, const Hep3Vector &) |
Hep3Vector & | operator*= (const HepRotation &) |
Hep3Vector & | transform (const HepRotation &) |
void | setRThetaPhi (double r, double theta, double phi) |
void | setREtaPhi (double r, double eta, double phi) |
void | setRhoPhiZ (double rho, double phi, double z) |
void | setRhoPhiTheta (double rho, double phi, double theta) |
void | setRhoPhiEta (double rho, double phi, double eta) |
double | getX () const |
double | getY () const |
double | getZ () const |
double | getR () const |
double | getTheta () const |
double | getPhi () const |
double | r () const |
double | rho () const |
double | getRho () const |
double | eta () const |
double | getEta () const |
void | setR (double s) |
void | setRho (double s) |
int | compare (const Hep3Vector &v) const |
bool | operator> (const Hep3Vector &v) const |
bool | operator< (const Hep3Vector &v) const |
bool | operator>= (const Hep3Vector &v) const |
bool | operator<= (const Hep3Vector &v) const |
double | diff2 (const Hep3Vector &v) const |
bool | isParallel (const Hep3Vector &v, double epsilon=tolerance) const |
bool | isOrthogonal (const Hep3Vector &v, double epsilon=tolerance) const |
double | howParallel (const Hep3Vector &v) const |
double | howOrthogonal (const Hep3Vector &v) const |
double | beta () const |
double | gamma () const |
double | coLinearRapidity () const |
double | angle () const |
double | theta (const Hep3Vector &v2) const |
double | cosTheta (const Hep3Vector &v2) const |
double | cos2Theta (const Hep3Vector &v2) const |
Hep3Vector | project () const |
Hep3Vector | project (const Hep3Vector &v2) const |
Hep3Vector | perpPart () const |
Hep3Vector | perpPart (const Hep3Vector &v2) const |
double | rapidity () const |
double | rapidity (const Hep3Vector &v2) const |
double | eta (const Hep3Vector &v2) const |
double | polarAngle (const Hep3Vector &v2) const |
double | deltaPhi (const Hep3Vector &v2) const |
double | azimAngle (const Hep3Vector &v2) const |
double | polarAngle (const Hep3Vector &v2, const Hep3Vector &ref) const |
double | azimAngle (const Hep3Vector &v2, const Hep3Vector &ref) const |
Hep3Vector & | rotate (const Hep3Vector &axis, double delta) |
Hep3Vector & | rotate (const HepAxisAngle &ax) |
Hep3Vector & | rotate (const HepEulerAngles &e) |
Hep3Vector & | rotate (double phi, double theta, double psi) |
Static Public Attributes | |
static const G4StokesVector | ZERO |
static const G4StokesVector | P1 |
static const G4StokesVector | P2 |
static const G4StokesVector | P3 |
static const G4StokesVector | M1 |
static const G4StokesVector | M2 |
static const G4StokesVector | M3 |
Additional Inherited Members | |
Public Types inherited from CLHEP::Hep3Vector | |
enum | { X =0 , Y =1 , Z =2 , NUM_COORDINATES =3 , SIZE =NUM_COORDINATES } |
enum | { ToleranceTicks = 100 } |
Static Public Member Functions inherited from CLHEP::Hep3Vector | |
static double | setTolerance (double tol) |
static double | getTolerance () |
Protected Member Functions inherited from CLHEP::Hep3Vector | |
void | setSpherical (double r, double theta, double phi) |
void | setCylindrical (double r, double phi, double z) |
double | negativeInfinity () const |
Protected Attributes inherited from CLHEP::Hep3Vector | |
double | data [3] |
Static Protected Attributes inherited from CLHEP::Hep3Vector | |
static DLL_API double | tolerance = Hep3Vector::ToleranceTicks * 2.22045e-16 |
Definition at line 45 of file G4StokesVector.hh.
G4StokesVector::G4StokesVector | ( | ) |
Definition at line 55 of file G4StokesVector.cc.
Referenced by PolError().
|
explicit |
Definition at line 60 of file G4StokesVector.cc.
|
default |
void G4StokesVector::DiceP1 | ( | ) |
void G4StokesVector::DiceP2 | ( | ) |
void G4StokesVector::DiceP3 | ( | ) |
void G4StokesVector::DiceUniform | ( | ) |
void G4StokesVector::FlipP3 | ( | ) |
Definition at line 201 of file G4StokesVector.cc.
G4double G4StokesVector::GetBeta | ( | ) |
Definition at line 151 of file G4StokesVector.cc.
void G4StokesVector::InvRotateAz | ( | G4ThreeVector | nInteractionFrame, |
G4ThreeVector | particleDirection | ||
) |
Definition at line 100 of file G4StokesVector.cc.
Referenced by G4PolarizedAnnihilationModel::SampleSecondaries(), G4PolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), G4PolarizedIonisationModel::SampleSecondaries(), and G4PolarizedPhotoElectricModel::SampleSecondaries().
G4bool G4StokesVector::IsZero | ( | ) | const |
Definition at line 65 of file G4StokesVector.cc.
Referenced by G4PolarizedIonisationBhabhaXS::Initialize(), G4PolarizedIonisationMollerXS::Initialize(), G4PolarizedIonisationBhabhaXS::XSection(), and G4PolarizedIonisationMollerXS::XSection().
|
inline |
Definition at line 54 of file G4StokesVector.hh.
Referenced by RotateAz(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4PolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), and G4PolarizedPhotoElectricModel::SampleSecondaries().
|
inline |
Definition at line 55 of file G4StokesVector.hh.
Referenced by RotateAz(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4PolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), and G4PolarizedPhotoElectricModel::SampleSecondaries().
|
inline |
Definition at line 56 of file G4StokesVector.hh.
Referenced by G4PolarizedComptonModel::ComputeCrossSectionPerAtom(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4PolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), G4PolarizedPhotoElectricModel::SampleSecondaries(), and G4PolarizedComptonXS::TotalXSection().
G4ThreeVector G4StokesVector::PolDiv | ( | const G4StokesVector & | b | ) |
G4ThreeVector G4StokesVector::PolError | ( | const G4StokesVector & | sum2, |
long | n | ||
) |
Definition at line 203 of file G4StokesVector.cc.
|
inline |
Definition at line 60 of file G4StokesVector.hh.
|
inline |
Definition at line 64 of file G4StokesVector.hh.
void G4StokesVector::RotateAz | ( | G4ThreeVector | nInteractionFrame, |
G4ThreeVector | particleDirection | ||
) |
Definition at line 67 of file G4StokesVector.cc.
Referenced by InvRotateAz(), RotateAz(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4PolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), G4PolarizedIonisationModel::SampleSecondaries(), and G4PolarizedPhotoElectricModel::SampleSecondaries().
|
inline |
Definition at line 73 of file G4StokesVector.hh.
Referenced by G4PolarizedBremsstrahlungXS::Initialize(), G4PolarizedGammaConversionXS::Initialize(), G4PolarizedAnnihilationModel::SampleSecondaries(), G4PolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), and G4PolarizedPhotoElectricModel::SampleSecondaries().
|
inline |
Definition at line 58 of file G4StokesVector.hh.
|
static |
Definition at line 94 of file G4StokesVector.hh.
|
static |
Definition at line 95 of file G4StokesVector.hh.
|
static |
Definition at line 96 of file G4StokesVector.hh.
|
static |
Definition at line 91 of file G4StokesVector.hh.
Referenced by G4PolarizedAnnihilationModel::ComputeAsymmetriesPerElectron(), G4VPolarizedXS::GetPol2(), and G4VPolarizedXS::GetPol3().
|
static |
Definition at line 92 of file G4StokesVector.hh.
Referenced by G4PolarizedAnnihilationModel::ComputeAsymmetriesPerElectron(), G4VPolarizedXS::GetPol2(), and G4VPolarizedXS::GetPol3().
|
static |
Definition at line 93 of file G4StokesVector.hh.
Referenced by G4PolarizedAnnihilationModel::ComputeAsymmetriesPerElectron(), G4VPolarizedXS::GetPol2(), G4VPolarizedXS::GetPol3(), and G4PolarizationHelper::TestInteractionFrame().
|
static |
Definition at line 90 of file G4StokesVector.hh.
Referenced by G4PolarizedAnnihilationModel::ComputeAsymmetriesPerElectron(), G4PolarizedIonisationModel::ComputeCrossSectionPerElectron(), G4PolarizedAnnihilationModel::G4PolarizedAnnihilationModel(), G4PolarizedBremsstrahlungXS::G4PolarizedBremsstrahlungXS(), G4PolarizedComptonModel::G4PolarizedComptonModel(), G4PolarizedGammaConversionXS::G4PolarizedGammaConversionXS(), G4PolarizedIonisationModel::G4PolarizedIonisationModel(), G4PolarizedPhotoElectricXS::G4PolarizedPhotoElectricXS(), G4VPolarizedXS::GetPol2(), G4VPolarizedXS::GetPol3(), G4PolarizationManager::GetVolumePolarization(), IsZero(), G4PolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), G4PolarizedIonisationModel::SampleSecondaries(), G4PolarizedPhotoElectricModel::SampleSecondaries(), and G4PolarizedComptonXS::XSection().