72 theAsymmetryTable(NULL),
73 theTransverseAsymmetryTable(NULL)
126 G4cout <<
" Delta cross sections from Moller+Bhabha, "
127 <<
"good description from 1 KeV to 100 GeV."
149 if (mfp !=
DBL_MAX && volumeIsPolarized && !ePolarization.
IsZero()) {
158 G4double lAsymmetry = (*theAsymmetryTable)(idx)->
159 GetValue(eEnergy, isOutRange);
160 G4double tAsymmetry = (*theTransverseAsymmetryTable)(idx)->
161 GetValue(eEnergy, isOutRange);
165 volumePolarization*eDirection0;
173 G4double impact = 1. + polZZ*lAsymmetry + (polXX + polYY)*tAsymmetry;
177 G4cout <<
"PV impact ( "<<polXX<<
" , "<<polYY<<
" , "<<polZZ<<
" )"<<
G4endl;
179 G4cout<<
" lAsymmetry= "<<lAsymmetry<<
" ("<<std::fabs(lAsymmetry)-1.<<
")\n";
180 G4cout<<
" tAsymmetry= "<<tAsymmetry<<
" ("<<std::fabs(tAsymmetry)-1.<<
")\n";
203 if (mfp !=
DBL_MAX && volumeIsPolarized && !ePolarization.
IsZero()) {
211 G4double lAsymmetry = (*theAsymmetryTable)(idx)->Value(eEnergy);
212 G4double tAsymmetry = (*theTransverseAsymmetryTable)(idx)->Value(eEnergy);
216 volumePolarization*eDirection0;
224 G4double impact = 1. + polZZ*lAsymmetry + (polXX + polYY)*tAsymmetry;
228 G4cout <<
"PV impact ( "<<polXX<<
" , "<<polYY<<
" , "<<polZZ<<
" )"<<
G4endl;
230 G4cout<<
" lAsymmetry= "<<lAsymmetry<<
" ("<<std::fabs(lAsymmetry)-1.<<
")\n";
231 G4cout<<
" tAsymmetry= "<<tAsymmetry<<
" ("<<std::fabs(tAsymmetry)-1.<<
")\n";
260 for (
size_t j=0 ; j < numOfCouples; j++ ) {
271 for (
size_t i = 0 ; i < bins ; i++ ) {
293 if (
isElectron) {lAsymmetry = tAsymmetry = -1.0;}
314 lAsymmetry=sigma2/sigma0-1.;
315 tAsymmetry=sigma3/sigma0-1.;
317 if (std::fabs(lAsymmetry)>1.) {
318 G4cout<<
" energy="<<energy<<
"\n";
319 G4cout<<
"WARNING lAsymmetry= "<<lAsymmetry<<
" ("<<std::fabs(lAsymmetry)-1.<<
")\n";
321 if (std::fabs(tAsymmetry)>1.) {
322 G4cout<<
" energy="<<energy<<
"\n";
323 G4cout<<
"WARNING tAsymmetry= "<<tAsymmetry<<
" ("<<std::fabs(tAsymmetry)-1.<<
")\n";
const G4ThreeVector & GetPolarization() const
const std::vector< G4double > * GetEnergyCutsVector(size_t pcIdx) const
G4bool isElectron(G4int ityp)
G4ePolarizedIonisation(const G4String &name="pol-eIoni")
G4double GetKineticEnergy() const
CLHEP::Hep3Vector G4ThreeVector
void BuildPhysicsTable(const G4ParticleDefinition &)
const G4DynamicParticle * GetDynamicParticle() const
G4double ComputeAsymmetry(G4double energy, const G4MaterialCutsCouple *couple, const G4ParticleDefinition &particle, G4double cut, G4double &tasm)
virtual ~G4ePolarizedIonisation()
G4ThreeVector theTargetPolarization
static G4PolarizationManager * GetInstance()
G4double GetMeanFreePath(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
size_t GetVectorLength() const
G4PhysicsVector * LambdaPhysicsVector(const G4MaterialCutsCouple *, G4double cut)
G4PolarizedMollerBhabhaModel * emModel
G4double PostStepGetPhysicalInteractionLength(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
void SetHighEnergyLimit(G4double)
G4GLOB_DLL std::ostream G4cout
virtual void InitialiseEnergyLossProcess(const G4ParticleDefinition *, const G4ParticleDefinition *)
size_t GetTableSize() const
const G4ThreeVector & GetMomentumDirection() const
G4double CrossSection(const G4MaterialCutsCouple *, const G4ParticleDefinition *, G4double kineticEnergy, G4double cutEnergy=0.0, G4double maxEnergy=DBL_MAX)
void PutValue(size_t index, G4double theValue)
G4PhysicsTable * theAsymmetryTable
void SetProcessSubType(G4int)
void AddEmModel(G4int, G4VEmModel *, G4VEmFluctuationModel *fluc=0, const G4Region *region=0)
G4double Energy(size_t index) const
void SetSecondaryParticle(const G4ParticleDefinition *p)
virtual void BuildPhysicsTable(const G4ParticleDefinition &)
static G4ProductionCutsTable * GetProductionCutsTable()
static G4Positron * Positron()
G4LogicalVolume * GetLogicalVolume() const
const G4MaterialCutsCouple * GetMaterialCutsCouple(G4int i) const
G4double energy(const ThreeVector &p, const G4double m)
G4double GetMeanFreePath(const G4Track &track, G4double previousStepSize, G4ForceCondition *condition)
bool IsPolarized(G4LogicalVolume *lVol) const
void SetTargetPolarization(const G4ThreeVector &pTarget)
G4double MinKinEnergy() const
G4VPhysicalVolume * GetVolume() const
G4double MaxKinEnergy() const
static G4ThreeVector GetParticleFrameY(const G4ThreeVector &)
void insertAt(size_t, G4PhysicsVector *)
G4ParticleDefinition * theElectron
void SetBeamPolarization(const G4ThreeVector &pBeam)
void SetLowEnergyLimit(G4double)
G4ThreeVector G4ParticleMomentum
static G4ThreeVector GetParticleFrameX(const G4ThreeVector &)
const G4ThreeVector & GetVolumePolarization(G4LogicalVolume *lVol) const
G4VEmFluctuationModel * flucModel
G4PhysicsTable * theTransverseAsymmetryTable
size_t CurrentMaterialCutsCoupleIndex() const