59 crossSectionCalculator(nullptr)
91 G4int num = vdp->size();
95 G4double gamEnergy1 = (*vdp)[0]->GetKineticEnergy();
97 if (sintheta>1.) sintheta=1.;
119 newBeamPol.
RotateAz(nInteractionFrame,
123 if (num!=1)
G4cout<<
" WARNING "<<num<<
" secondaries in polarized bremsstrahlung not supported!\n";
124 for (
G4int i=0; i<num; i++) {
127 photonPol.
RotateAz(nInteractionFrame,(*vdp)[i]->GetMomentumDirection());
128 (*vdp)[i]->SetPolarization(photonPol.
p1(),
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double cutEnergy, G4double maxEnergy) override
static G4ThreeVector GetFrame(const G4ThreeVector &, const G4ThreeVector &)
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &) override
virtual G4StokesVector GetPol2()
const G4ThreeVector & GetProposedMomentumDirection() const
void SetMaterial(G4double A, G4double Z, G4double coul)
const G4ThreeVector & GetMomentumDirection() const
virtual ~G4ePolarizedBremsstrahlungModel()
G4ePolarizedBremsstrahlungModel(const G4ParticleDefinition *p=nullptr, const G4String &nam="PolBrem")
void ProposePolarization(const G4ThreeVector &dir)
virtual G4StokesVector GetPol3()
void InvRotateAz(G4ThreeVector nInteractionFrame, G4ThreeVector particleDirection)
void RotateAz(G4ThreeVector nInteractionFrame, G4ThreeVector particleDirection)
G4VPolarizedCrossSection * crossSectionCalculator
Hep3Vector cross(const Hep3Vector &) const
static const G4StokesVector ZERO
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &) override
const G4ThreeVector & GetPolarization() const
G4double GetKineticEnergy() const
G4GLOB_DLL std::ostream G4cout
const G4Element * GetCurrentElement() const
G4ParticleChangeForLoss * fParticleChange
virtual void Initialize(G4double, G4double, G4double, const G4StokesVector &p0, const G4StokesVector &p1, G4int flag=0)
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy) override