/home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/physics/include/RAT/GLG4OpAttenuation.hh Source File

Ratpac-two: /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/physics/include/RAT/GLG4OpAttenuation.hh Source File
Ratpac-two
GLG4OpAttenuation.hh
1 // This file is part of the GenericLAND software library.
2 // $Id: GLG4OpAttenuation.hh,v 1.1 2005/08/30 19:55:22 volsung Exp $
3 //
4 // "Attenuation" (absorption or scattering) of optical photons
5 //
6 // GenericLAND Simulation
7 //
8 // Original: Glenn Horton-Smith, Dec 2001
9 //
10 // GLG4OpAttenuation.hh
11 //
12 
13 #ifndef GLG4OpAttenuation_h
14 #define GLG4OpAttenuation_h 1
15 
17 // Includes
19 
20 #include "G4OpAbsorption.hh"
21 #include "RAT/DummyProcess.hh"
22 
24 // Class Definition
26 
27 class GLG4OpAttenuation : public G4OpAbsorption {
28  private:
30  // Operators
32 
33  // GLG4OpAttenuation& operator=(const GLG4OpAttenuation &right);
34 
35  static DummyProcess fgAttenuation;
36  static DummyProcess fgScattering;
37 
38  public: // Without description
40  // Constructors and Destructor
42 
43  GLG4OpAttenuation(const G4String &processName = "Attenuation");
44 
45  // GLG4OpAttenuation(const GLG4OpAttenuation &right);
46 
48 
50  // Methods
52 
53  // G4bool IsApplicable(const G4ParticleDefinition& aParticleType);
54  // Returns true -> 'is applicable' only for an optical photon.
55 
56  // G4double GetMeanFreePath(const G4Track& aTrack,
57  // G4double ,
58  // G4ForceCondition* );
59  // Returns the absorption length for bulk absorption of optical
60  // photons in media with a specified attenuation length.
61 
62  public: // With description
63  G4VParticleChange *PostStepDoIt(const G4Track &aTrack, const G4Step &aStep);
64  // This is the method implementing attenuation of optical
65  // photons. Fraction of photons scattered or absorbed is
66  // determined by the MaterialProperyVector "OPSCATFRAC".
67 };
68 
69 #endif /* GLG4OpAttenuation_h */
Definition: DummyProcess.hh:14
Definition: GLG4OpAttenuation.hh:27