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