55 cosDThetaMax(
std::cos(0.1))
88 G4double length = step.GetStepLength();
95 steps.push_back(length);
96 const G4StepPoint* point = step.GetPreStepPoint();
102 if(valid)
normals.push_back(n);
103 else normals.push_back(direction);
112 steps.push_back(length);
116 if(valid)
normals.push_back(n);
117 else normals.push_back(direction);
123 if(track.GetTrackStatus() == fStopAndKill ||
124 track.GetVolume()->GetLogicalVolume()->GetRegion() !=
region ||
G4ThreeVector startingDirection
G4ThreeVector startingPosition
static const G4double reg
G4VTransitionRadiation(const G4String &processName="TR", G4ProcessType type=fElectromagnetic)
virtual G4bool IsApplicable(const G4ParticleDefinition &aParticleType)
std::vector< G4ThreeVector > normals
virtual G4ThreeVector GetLocalExitNormal(G4bool *valid)
virtual G4VParticleChange * PostStepDoIt(const G4Track &track, const G4Step &step)
void SetProcessSubType(G4int)
G4Navigator * GetNavigatorForTracking() const
virtual void GenerateSecondaries(G4VParticleChange &pChange, std::vector< const G4Material *> &materials, std::vector< G4double > &steps, std::vector< G4ThreeVector > &normals, G4ThreeVector &startingPosition, const G4Track &track)
static G4TransportationManager * GetTransportationManager()
void SetModel(G4VTRModel *m)
G4VParticleChange * pParticleChange
virtual void PrintInfoDefinition()
std::vector< const G4Material * > materials
virtual ~G4VTransitionRadiation()
std::vector< G4double > steps
G4double GetPDGCharge() const
void SetRegion(const G4Region *reg)