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(),
void ProposePolarization(const G4ThreeVector &dir)
G4double GetKineticEnergy() const
G4ePolarizedBremsstrahlungModel(const G4ParticleDefinition *p=nullptr, const G4String &nam="PolBrem")
void SetMaterial(G4double A, G4double Z, G4double coul)
G4VPolarizedCrossSection * crossSectionCalculator
const G4ThreeVector & GetProposedMomentumDirection() const
virtual ~G4ePolarizedBremsstrahlungModel()
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &) override
virtual G4StokesVector GetPol2()
G4GLOB_DLL std::ostream G4cout
const G4ThreeVector & GetMomentumDirection() const
static G4ThreeVector GetFrame(const G4ThreeVector &, const G4ThreeVector &)
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double cutEnergy, G4double maxEnergy) override
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy) override
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &) override
void InvRotateAz(G4ThreeVector nInteractionFrame, G4ThreeVector particleDirection)
const G4ThreeVector & GetPolarization() const
virtual G4StokesVector GetPol3()
G4ParticleChangeForLoss * fParticleChange
Hep3Vector cross(const Hep3Vector &) const
static const G4StokesVector ZERO
void RotateAz(G4ThreeVector nInteractionFrame, G4ThreeVector particleDirection)
virtual void Initialize(G4double, G4double, G4double, const G4StokesVector &p0, const G4StokesVector &p1, G4int flag=0)
const G4Element * GetCurrentElement() const