50 , cosDThetaMax(
std::cos(0.1))
68 out <<
"Generic process of transition radiation.\n";
95 materials.push_back(material);
96 steps.push_back(length);
105 normals.push_back(n);
107 normals.push_back(direction);
111 if(material == materials[nSteps - 1])
113 steps[nSteps - 1] += length;
118 materials.push_back(material);
119 steps.push_back(length);
125 normals.push_back(n);
127 normals.push_back(direction);
134 startingDirection.
x() * direction.
x() +
135 startingDirection.
y() * direction.
y() +
136 startingDirection.
z() * direction.
z() <
142 startingPosition, track);
G4double condition(const G4ErrorSymMatrix &m)
G4Region * GetRegion() const
static G4LossTableManager * Instance()
void DeRegister(G4VEnergyLossProcess *p)
void Register(G4VEnergyLossProcess *p)
virtual G4ThreeVector GetLocalExitNormal(G4bool *valid)
G4double GetPDGMass() const
G4double GetPDGCharge() const
const G4ThreeVector & GetPosition() const
const G4ThreeVector & GetMomentumDirection() const
G4StepPoint * GetPreStepPoint() const
G4double GetStepLength() const
G4TrackStatus GetTrackStatus() const
G4VPhysicalVolume * GetVolume() const
G4Material * GetMaterial() const
G4ParticleDefinition * GetDefinition() const
const G4ThreeVector & GetMomentumDirection() const
G4double GetKineticEnergy() const
static G4TransportationManager * GetTransportationManager()
G4Navigator * GetNavigatorForTracking() const
G4LogicalVolume * GetLogicalVolume() const
void SetProcessSubType(G4int)
G4VParticleChange * pParticleChange
virtual void GenerateSecondaries(G4VParticleChange &pChange, std::vector< const G4Material * > &materials, std::vector< G4double > &steps, std::vector< G4ThreeVector > &normals, G4ThreeVector &startingPosition, const G4Track &track)
virtual G4bool IsApplicable(const G4ParticleDefinition &aParticleType) override
virtual G4double GetMeanFreePath(const G4Track &track, G4double, G4ForceCondition *condition) override
G4VTransitionRadiation(const G4String &processName="TR", G4ProcessType type=fElectromagnetic)
void SetRegion(const G4Region *reg)
virtual ~G4VTransitionRadiation()
virtual G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &step) override
void SetModel(G4VTRModel *m)
void ProcessDescription(std::ostream &) const override