LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
FastOpticalPhysics.h
Go to the documentation of this file.
1 // Modified for LArG4 by Ben Jones, MIT, Nov 2012
2 //
3 // Thisclass is based upon thedefaultGeant4 optical physics constructor.
4 // However, forfast optical physics inLArSoft:
5 //
6 // - The default geant4 scintillation process is swapped for the LArG4 fast
7 // scintillation process
8 //
9 // - Cerenkov light (still slow) can beenabledor disabled as required
10 //
11 // - The default geant4reflection process is swapped for a simpler
12 // custom boundary process in LArG4
13 //
14 // Parameters relating to the physics in this constructor can be set
15 // in the Utilities/LArParameters service.
16 //
17 //
18 // ********************************************************************
19 // * License and Disclaimer *
20 // * *
21 // * The Geant4 software is copyright of the Copyright Holders of *
22 // * the Geant4 Collaboration. It is provided under the terms and *
23 // * conditions of the Geant4 Software License, included in the file *
24 // * LICENSE and available at http://cern.ch/geant4/license . These *
25 // * include a list of copyright holders. *
26 // * *
27 // * Neither the authors of this software system, nor their employing *
28 // * institutes,nor the agencies providing financial support for this *
29 // * work make any representation or warranty, express or implied, *
30 // * regarding this software system or assume any liability for its *
31 // * use. Please see the license in the file LICENSE and URL above *
32 // * for the full disclaimer and the limitation of liability. *
33 // * *
34 // * This code implementation is the result of the scientific and *
35 // * technical work of the GEANT4 collaboration. *
36 // * By using, copying, modifying or distributing the software (or *
37 // * any work based on the software) you agree to acknowledge its *
38 // * use in resulting scientific publications, and indicate your *
39 // * acceptance of all terms of the Geant4 Software license. *
40 // ********************************************************************
41 //
42 //
43 // GEANT4 tag $Name: $
44 //
45 //---------------------------------------------------------------------------
46 //
47 // ClassName: FastOpticalPhysics
48 //
49 // Author: V.Ivanchenko 09.11.2005
50 //
51 // Modified:
52 // 05.12.2005 V.Ivanchenko add controlled verbosity
53 // 23.11.2006 V.Ivanchenko remove mscStepLimit option and improve cout
54 //
55 //----------------------------------------------------------------------------
56 //
57 // This class provides construction of default EM standard physics
58 //
59 
60 #ifndef FastOpticalPhysics_h
61 #define FastOpticalPhysics_h 1
62 
63 
64 #include "Geant4/G4VPhysicsConstructor.hh"
65 #include "Geant4/globals.hh"
66 
67 #if defined __clang__
68  #pragma clang diagnostic push
69  #pragma clang diagnostic ignored "-Wunused-private-field"
70 #endif
71 
72 class G4Cerenkov;
73 class G4OpAbsorption;
74 class G4OpWLS;
75 class G4OpRayleigh;
76 
77 namespace larg4 {
78 
79  class OpFastScintillation;
80  class OpBoundaryProcessSimple;
81 
82  class FastOpticalPhysics : public G4VPhysicsConstructor
83  {
84  public:
85  FastOpticalPhysics(G4int ver = 0, const G4String& name = "FastOptical");
86  virtual ~FastOpticalPhysics();
87 
88  virtual void ConstructParticle();
89  virtual void ConstructProcess();
90 
91  private:
92  G4int verbose;
93  G4Cerenkov* fTheCerenkovProcess;
95  G4OpAbsorption* fTheAbsorptionProcess;
98  G4OpWLS * fTheWLSProcess;
99  };
100 
101 }
102 #if defined __clang__
103  #pragma clang diagnostic pop
104 #endif
105 
106 #endif
107 
108 
109 
110 
111 
112 
G4OpAbsorption * fTheAbsorptionProcess
Geant4 interface.
Discrete process for reflection and diffusion at optical interfaces.
OpBoundaryProcessSimple * fTheBoundaryProcess
G4OpRayleigh * fTheRayleighScatteringProcess
OpFastScintillation * fTheScintillationProcess
FastOpticalPhysics(G4int ver=0, const G4String &name="FastOptical")