Changeset 961 for trunk/source/processes/electromagnetic/xrays/include
- Timestamp:
- Apr 6, 2009, 12:21:12 PM (15 years ago)
- Location:
- trunk/source/processes/electromagnetic/xrays/include
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/source/processes/electromagnetic/xrays/include/G4Cerenkov.hh
r819 r961 25 25 // 26 26 // 27 // $Id: G4Cerenkov.hh,v 1. 9 2007/09/30 22:17:04gum Exp $28 // GEANT4 tag $Name: $27 // $Id: G4Cerenkov.hh,v 1.10 2008/10/22 01:17:36 gum Exp $ 28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // … … 60 60 #include "G4ParticleMomentum.hh" 61 61 #include "G4Step.hh" 62 #include "G4V DiscreteProcess.hh"62 #include "G4VProcess.hh" 63 63 #include "G4OpticalPhoton.hh" 64 64 #include "G4DynamicParticle.hh" … … 77 77 ///////////////////// 78 78 79 class G4Cerenkov : public G4V DiscreteProcess79 class G4Cerenkov : public G4VProcess 80 80 { 81 81 … … 116 116 // condition for the DoIt to be invoked at every step. 117 117 118 G4double PostStepGetPhysicalInteractionLength(const G4Track& aTrack, 119 G4double , 120 G4ForceCondition* ); 121 // Returns the discrete step limit and sets the 'StronglyForced' 122 // condition for the DoIt to be invoked at every step. 123 118 124 G4VParticleChange* PostStepDoIt(const G4Track& aTrack, 119 125 const G4Step& aStep); 120 126 // This is the method implementing the Cerenkov process. 127 128 // no operation in AtRestDoIt and AlongStepDoIt 129 virtual G4double AlongStepGetPhysicalInteractionLength( 130 const G4Track&, 131 G4double , 132 G4double , 133 G4double& , 134 G4GPILSelection* 135 ) { return -1.0; }; 136 137 virtual G4double AtRestGetPhysicalInteractionLength( 138 const G4Track& , 139 G4ForceCondition* 140 ) { return -1.0; }; 141 142 // no operation in AtRestDoIt and AlongStepDoIt 143 virtual G4VParticleChange* AtRestDoIt( 144 const G4Track& , 145 const G4Step& 146 ) {return 0;}; 147 148 virtual G4VParticleChange* AlongStepDoIt( 149 const G4Track& , 150 const G4Step& 151 ) {return 0;}; 121 152 122 153 void SetTrackSecondariesFirst(const G4bool state); … … 125 156 // been tracked, the tracking of the primary resumes. 126 157 158 void SetMaxBetaChangePerStep(const G4double d); 159 // Set the maximum allowed change in beta = v/c in % (perCent) 160 // per step. 161 127 162 void SetMaxNumPhotonsPerStep(const G4int NumPhotons); 128 163 // Set the maximum number of Cerenkov photons allowed to be … … 166 201 167 202 G4bool fTrackSecondariesFirst; 168 G4int fMaxPhotons; 203 G4double fMaxBetaChange; 204 G4int fMaxPhotons; 169 205 }; 170 206 … … 190 226 191 227 inline 228 void G4Cerenkov::SetMaxBetaChangePerStep(const G4double value) 229 { 230 fMaxBetaChange = value*perCent; 231 } 232 233 inline 192 234 void G4Cerenkov::SetMaxNumPhotonsPerStep(const G4int NumPhotons) 193 235 { … … 208 250 } 209 251 210 inline G4PhysicsTable* G4Cerenkov::GetPhysicsTable() const 252 inline 253 G4PhysicsTable* G4Cerenkov::GetPhysicsTable() const 211 254 { 212 255 return thePhysicsTable; -
trunk/source/processes/electromagnetic/xrays/include/G4ForwardXrayTR.hh
r819 r961 26 26 // 27 27 // $Id: G4ForwardXrayTR.hh,v 1.14 2006/06/29 19:55:33 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // G4ForwardXrayTR -- header file -
trunk/source/processes/electromagnetic/xrays/include/G4GammaXTRadiator.hh
r819 r961 26 26 // 27 27 // $Id: G4GammaXTRadiator.hh,v 1.4 2006/06/29 19:55:35 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/electromagnetic/xrays/include/G4RegularXTRadiator.hh
r819 r961 26 26 // 27 27 // $Id: G4RegularXTRadiator.hh,v 1.3 2006/06/29 19:55:37 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/electromagnetic/xrays/include/G4Scintillation.hh
r819 r961 25 25 // 26 26 // 27 // $Id: G4Scintillation.hh,v 1.1 3 2006/06/29 19:55:39 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 1-patch-02 $27 // $Id: G4Scintillation.hh,v 1.15 2008/06/13 01:04:49 gum Exp $ 28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // … … 72 72 #include "G4PhysicsOrderedFreeVector.hh" 73 73 74 #include "G4EmSaturation.hh" 75 74 76 // Class Description: 75 77 // RestDiscrete Process - Generation of Scintillation Photons. … … 170 172 // Returns the address of the slow scintillation integral table. 171 173 174 void AddSaturation(G4EmSaturation* sat) { emSaturation = sat; } 175 // Adds Birks Saturation to the process. 176 177 G4EmSaturation* GetSaturation() const { return emSaturation; } 178 // Returns the Birks Saturation. 179 172 180 void DumpPhysicsTable() const; 173 181 // Prints the fast and slow scintillation integral tables. 174 182 175 pr ivate:183 protected: 176 184 177 185 void BuildThePhysicsTable(); … … 183 191 /////////////////////// 184 192 185 protected:186 193 187 194 G4PhysicsTable* theSlowIntegralTable; 188 195 G4PhysicsTable* theFastIntegralTable; 189 196 197 198 199 G4bool fTrackSecondariesFirst; 200 201 G4double YieldFactor; 202 203 G4double ExcitationRatio; 204 190 205 private: 191 206 192 G4bool fTrackSecondariesFirst; 193 194 G4double YieldFactor; 195 196 G4double ExcitationRatio; 207 G4EmSaturation* emSaturation; 197 208 198 209 }; -
trunk/source/processes/electromagnetic/xrays/include/G4StrawTubeXTRadiator.hh
r819 r961 26 26 // 27 27 // $Id: G4StrawTubeXTRadiator.hh,v 1.4 2007/09/29 17:49:34 vnivanch Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/electromagnetic/xrays/include/G4SynchrotronRadiation.hh
r819 r961 26 26 // 27 27 // $Id: G4SynchrotronRadiation.hh,v 1.4 2006/06/29 19:55:43 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // ------------------------------------------------------------ -
trunk/source/processes/electromagnetic/xrays/include/G4SynchrotronRadiationInMat.hh
r819 r961 26 26 // 27 27 // $Id: G4SynchrotronRadiationInMat.hh,v 1.2 2006/06/29 19:55:45 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // ------------------------------------------------------------ -
trunk/source/processes/electromagnetic/xrays/include/G4TransitionRadiation.hh
r819 r961 26 26 // 27 27 // $Id: G4TransitionRadiation.hh,v 1.9 2006/06/29 19:55:47 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // G4TransitionRadiation -- header file -
trunk/source/processes/electromagnetic/xrays/include/G4TransparentRegXTRadiator.hh
r819 r961 26 26 // 27 27 // $Id: G4TransparentRegXTRadiator.hh,v 1.2 2006/06/29 19:55:49 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // -
trunk/source/processes/electromagnetic/xrays/include/G4VTRModel.hh
r819 r961 26 26 // 27 27 // $Id: G4VTRModel.hh,v 1.3 2006/06/29 19:55:51 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // G4VTRModel -- header file -
trunk/source/processes/electromagnetic/xrays/include/G4VTransitionRadiation.hh
r819 r961 26 26 // 27 27 // $Id: G4VTransitionRadiation.hh,v 1.3 2006/06/29 19:55:53 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 // G4VTransitionRadiation -- header file -
trunk/source/processes/electromagnetic/xrays/include/G4VXTRenergyLoss.hh
r819 r961 26 26 // 27 27 // $Id: G4VXTRenergyLoss.hh,v 1.24 2007/09/29 17:49:34 vnivanch Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-02-ref-02 $ 29 29 // 30 30 //
Note: See TracChangeset
for help on using the changeset viewer.