78 if (crossSectionCalculator)
delete crossSectionCalculator;
87 if (!crossSectionCalculator)
102 if(vdp && vdp->size()>0) {
104 G4double lepEnergy1 = (*vdp)[0]->GetKineticEnergy();
106 if (sintheta>1.) sintheta=1.;
115 (*vdp)[0]->GetMomentumDirection());
143 crossSectionCalculator->
Initialize(gamEnergy0, lepEnergy1, sintheta,
149 lep1Pol.
RotateAz(nInteractionFrame,(*vdp)[0]->GetMomentumDirection());
150 (*vdp)[0]->SetPolarization(lep1Pol.
p1(),
155 size_t num = vdp->size();
156 if (num!=1)
G4cout<<
" WARNING "<<num<<
" secondaries in polarized photo electric effect not supported!\n";
G4DLLIMPORT std::ostream G4cout
Hep3Vector cross(const Hep3Vector &) const
const G4ThreeVector & GetMomentumDirection() const
G4double GetKineticEnergy() const
const G4ThreeVector & GetPolarization() const
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &)
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
static G4ThreeVector GetFrame(const G4ThreeVector &, const G4ThreeVector &)
static G4ThreeVector GetRandomFrame(const G4ThreeVector &)
virtual void Initialize(G4double aGammaE, G4double aLept0E, G4double sintheta, const G4StokesVector &beamPol, const G4StokesVector &, G4int flag=0)
virtual ~G4PolarizedPEEffectModel()
G4PolarizedPEEffectModel(const G4ParticleDefinition *p=0, const G4String &nam="Polarized-PhotoElectric")
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)
void Initialise(const G4ParticleDefinition *pd, const G4DataVector &dv)
static const G4StokesVector ZERO
void InvRotateAz(G4ThreeVector nInteractionFrame, G4ThreeVector particleDirection)
void RotateAz(G4ThreeVector nInteractionFrame, G4ThreeVector particleDirection)
const G4Element * GetCurrentElement() const
void SetMaterial(G4double A, G4double Z, G4double coul)