59 crossSectionCalculator(0)
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(),
G4DLLIMPORT std::ostream G4cout
Hep3Vector cross(const Hep3Vector &) const
const G4ThreeVector & GetMomentumDirection() const
G4double GetKineticEnergy() const
const G4ThreeVector & GetPolarization() const
const G4ThreeVector & GetProposedMomentumDirection() const
void ProposePolarization(const G4ThreeVector &dir)
static G4ThreeVector GetFrame(const G4ThreeVector &, const G4ThreeVector &)
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)
virtual G4StokesVector GetPol3()
virtual G4StokesVector GetPol2()
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)
G4ParticleChangeForLoss * fParticleChange
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &)
G4ePolarizedBremsstrahlungModel(const G4ParticleDefinition *p=0, const G4String &nam="PolBrem")
virtual ~G4ePolarizedBremsstrahlungModel()
G4VPolarizedCrossSection * crossSectionCalculator
virtual void Initialise(const G4ParticleDefinition *, const G4DataVector &)
virtual void SampleSecondaries(std::vector< G4DynamicParticle * > *, const G4MaterialCutsCouple *, const G4DynamicParticle *, G4double tmin, G4double maxEnergy)