Geant4_10
WLSPhysicsList.hh
Go to the documentation of this file.
1 //
2 // ********************************************************************
3 // * License and Disclaimer *
4 // * *
5 // * The Geant4 software is copyright of the Copyright Holders of *
6 // * the Geant4 Collaboration. It is provided under the terms and *
7 // * conditions of the Geant4 Software License, included in the file *
8 // * LICENSE and available at http://cern.ch/geant4/license . These *
9 // * include a list of copyright holders. *
10 // * *
11 // * Neither the authors of this software system, nor their employing *
12 // * institutes,nor the agencies providing financial support for this *
13 // * work make any representation or warranty, express or implied, *
14 // * regarding this software system or assume any liability for its *
15 // * use. Please see the license in the file LICENSE and URL above *
16 // * for the full disclaimer and the limitation of liability. *
17 // * *
18 // * This code implementation is the result of the scientific and *
19 // * technical work of the GEANT4 collaboration. *
20 // * By using, copying, modifying or distributing the software (or *
21 // * any work based on the software) you agree to acknowledge its *
22 // * use in resulting scientific publications, and indicate your *
23 // * acceptance of all terms of the Geant4 Software license. *
24 // ********************************************************************
25 //
26 // $Id: WLSPhysicsList.hh 69561 2013-05-08 12:25:56Z gcosmo $
27 //
30 //
31 
32 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
33 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
34 
35 #ifndef WLSPhysicsList_h
36 #define WLSPhysicsList_h 1
37 
38 #include "globals.hh"
39 #include "G4VModularPhysicsList.hh"
40 
43 
44 class WLSStepMax;
45 class WLSOpticalPhysics;
46 
48 {
49  public:
50 
52  virtual ~WLSPhysicsList();
53 
54  void SetCuts();
58 
59  void SetStepMax(G4double);
61  void AddStepMax();
62 
64  void RemoveFromPhysicsList(const G4String&);
65 
67  void ClearPhysics();
68 
69  virtual void ConstructParticle();
70  virtual void ConstructProcess();
71 
72  // Turn on or off the absorption process
73  void SetAbsorption(G4bool);
74 
76 
77  void SetVerbose(G4int);
78 
79 private:
80 
81  G4double fCutForGamma;
82  G4double fCutForElectron;
83  G4double fCutForPositron;
84 
85  WLSStepMax* fStepMaxProcess;
86 
87  WLSOpticalPhysics* fOpticalPhysics;
88 
89  WLSPhysicsListMessenger* fMessenger;
90 
91  G4bool fAbsorptionOn;
92 
93  G4VMPLData::G4PhysConstVectorData* fPhysicsVector;
94 
95 };
96 
97 #endif
void SetNbOfPhotonsCerenkov(G4int)
Provide control of the physics list and cut parameters.
WLSStepMax * GetStepMaxProcess()
int G4int
Definition: G4Types.hh:78
void SetStepMax(G4double)
virtual void ConstructParticle()
void ClearPhysics()
Make sure that the physics list is empty.
virtual ~WLSPhysicsList()
std::vector< G4VPhysicsConstructor * > G4PhysConstVectorData
bool G4bool
Definition: G4Types.hh:79
virtual void ConstructProcess()
void SetCutForPositron(G4double)
void SetCutForGamma(G4double)
void RemoveFromPhysicsList(const G4String &)
Remove specific physics from physics list.
void SetCutForElectron(G4double)
double G4double
Definition: G4Types.hh:76
void SetAbsorption(G4bool)
WLSPhysicsList(G4String)
void SetVerbose(G4int)