Geant4  10.03
G4StokesVector Class Reference

#include <G4StokesVector.hh>

+ Inheritance diagram for G4StokesVector:
+ Collaboration diagram for G4StokesVector:

Public Member Functions

 G4StokesVector ()
 
 G4StokesVector (const G4ThreeVector &v)
 
virtual ~G4StokesVector ()
 
G4double p1 () const
 
G4double p2 () const
 
G4double p3 () const
 
G4bool IsZero () 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 ()
 

Static Public Attributes

static const G4StokesVector ZERO =G4ThreeVector(0.,0.,0.)
 
static const G4StokesVector P1 =G4ThreeVector(1.,0.,0.)
 
static const G4StokesVector P2 =G4ThreeVector(0.,1.,0.)
 
static const G4StokesVector P3 =G4ThreeVector(0.,0.,1.)
 
static const G4StokesVector M1 =G4ThreeVector(-1.,0.,0.)
 
static const G4StokesVector M2 =G4ThreeVector(0.,-1.,0.)
 
static const G4StokesVector M3 =G4ThreeVector(0.,0.,-1.)
 

Private Attributes

G4bool isPhoton
 

Detailed Description

Definition at line 58 of file G4StokesVector.hh.

Constructor & Destructor Documentation

G4StokesVector::G4StokesVector ( )

Definition at line 57 of file G4StokesVector.cc.

Referenced by PolError().

+ Here is the caller graph for this function:

G4StokesVector::G4StokesVector ( const G4ThreeVector v)

Definition at line 62 of file G4StokesVector.cc.

G4StokesVector::~G4StokesVector ( )
virtual

Definition at line 67 of file G4StokesVector.cc.

Member Function Documentation

void G4StokesVector::DiceP1 ( )

Definition at line 168 of file G4StokesVector.cc.

References G4UniformRand.

void G4StokesVector::DiceP2 ( )

Definition at line 176 of file G4StokesVector.cc.

References G4UniformRand.

void G4StokesVector::DiceP3 ( )

Definition at line 184 of file G4StokesVector.cc.

References G4UniformRand.

void G4StokesVector::DiceUniform ( )

Definition at line 158 of file G4StokesVector.cc.

References G4UniformRand, and pi.

void G4StokesVector::FlipP3 ( )

Definition at line 192 of file G4StokesVector.cc.

G4double G4StokesVector::GetBeta ( )

Definition at line 151 of file G4StokesVector.cc.

References isPhoton.

void G4StokesVector::InvRotateAz ( G4ThreeVector  nInteractionFrame,
G4ThreeVector  particleDirection 
)

Definition at line 108 of file G4StokesVector.cc.

References G4cout, G4PolarizationHelper::GetParticleFrameY(), and RotateAz().

Referenced by G4ePolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedGammaConversionModel::SampleSecondaries(), G4PolarizedMollerBhabhaModel::SampleSecondaries(), G4PolarizedPEEffectModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), and G4PolarizedAnnihilationModel::SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

G4bool G4StokesVector::IsZero ( ) const
inline

Definition at line 78 of file G4StokesVector.hh.

References ZERO.

Referenced by G4ePolarizedIonisation::ComputeSaturationFactor(), G4PolarizedBhabhaCrossSection::Initialize(), G4PolarizedMollerCrossSection::Initialize(), G4PolarizedBhabhaCrossSection::XSection(), and G4PolarizedMollerCrossSection::XSection().

+ Here is the caller graph for this function:

G4double G4StokesVector::p1 ( ) const
inline

Definition at line 74 of file G4StokesVector.hh.

Referenced by RotateAz(), G4PolarizedGammaConversionModel::SampleSecondaries(), G4ePolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedPEEffectModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), and G4PolarizedAnnihilationModel::SampleSecondaries().

+ Here is the caller graph for this function:

G4double G4StokesVector::p2 ( ) const
inline

Definition at line 75 of file G4StokesVector.hh.

Referenced by RotateAz(), G4PolarizedGammaConversionModel::SampleSecondaries(), G4ePolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedPEEffectModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), and G4PolarizedAnnihilationModel::SampleSecondaries().

+ Here is the caller graph for this function:

G4ThreeVector G4StokesVector::PolDiv ( const G4StokesVector b)

Definition at line 204 of file G4StokesVector.cc.

G4ThreeVector G4StokesVector::PolError ( const G4StokesVector sum2,
long  n 
)

Definition at line 197 of file G4StokesVector.cc.

References G4StokesVector(), n, PolSqr(), and PolSqrt().

+ Here is the call graph for this function:

G4ThreeVector G4StokesVector::PolSqr ( ) const
inline

Definition at line 81 of file G4StokesVector.hh.

Referenced by PolError().

+ Here is the caller graph for this function:

G4ThreeVector G4StokesVector::PolSqrt ( ) const
inline

Definition at line 84 of file G4StokesVector.hh.

Referenced by PolError().

+ Here is the caller graph for this function:

void G4StokesVector::RotateAz ( G4ThreeVector  nInteractionFrame,
G4ThreeVector  particleDirection 
)

Definition at line 71 of file G4StokesVector.cc.

References G4cout, G4endl, and G4PolarizationHelper::GetParticleFrameY().

Referenced by InvRotateAz(), G4PolarizedGammaConversionModel::SampleSecondaries(), G4ePolarizedBremsstrahlungModel::SampleSecondaries(), G4PolarizedMollerBhabhaModel::SampleSecondaries(), G4PolarizedPEEffectModel::SampleSecondaries(), G4PolarizedComptonModel::SampleSecondaries(), and G4PolarizedAnnihilationModel::SampleSecondaries().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void G4StokesVector::RotateAz ( G4double  cosphi,
G4double  sinphi 
)

Definition at line 132 of file G4StokesVector.cc.

References isPhoton, p1(), and p2().

+ Here is the call graph for this function:

void G4StokesVector::SetPhoton ( )
inline
G4double G4StokesVector::Transverse ( ) const
inline

Definition at line 79 of file G4StokesVector.hh.

Member Data Documentation

G4bool G4StokesVector::isPhoton
private

Definition at line 108 of file G4StokesVector.hh.

Referenced by GetBeta(), RotateAz(), and SetPhoton().

const G4StokesVector G4StokesVector::M1 =G4ThreeVector(-1.,0.,0.)
static

Definition at line 66 of file G4StokesVector.hh.

const G4StokesVector G4StokesVector::M2 =G4ThreeVector(0.,-1.,0.)
static

Definition at line 67 of file G4StokesVector.hh.

const G4StokesVector G4StokesVector::M3 =G4ThreeVector(0.,0.,-1.)
static

Definition at line 68 of file G4StokesVector.hh.


The documentation for this class was generated from the following files: