source: trunk/examples/extended/radioactivedecay/exrdm/include/exrdmPhysicsList.hh@ 1036

Last change on this file since 1036 was 807, checked in by garnier, 17 years ago

update

File size: 3.1 KB
Line 
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
27//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
28
29#ifndef exrdmPhysicsList_h
30#define exrdmPhysicsList_h 1
31
32#include "G4VModularPhysicsList.hh"
33#include "globals.hh"
34#include <vector>
35
36class G4VPhysicsConstructor;
37class exrdmPhysicsListMessenger;
38class G4ProductionCuts;
39
40//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
41
42class exrdmPhysicsList: public G4VModularPhysicsList
43{
44public:
45 exrdmPhysicsList();
46 virtual ~exrdmPhysicsList();
47
48 void ConstructParticle();
49
50 void SetCuts();
51 void SetCutForGamma(G4double);
52 void SetCutForElectron(G4double);
53 void SetCutForPositron(G4double);
54
55 void SelectPhysicsList(const G4String& name);
56 void ConstructProcess();
57
58 void SetTargetCut(G4double val);
59 void SetDetectorCut(G4double val);
60
61private:
62
63 void AddExtraBuilders(G4bool flagHP);
64
65 // hide assignment operator
66 exrdmPhysicsList & operator=(const exrdmPhysicsList &right);
67 exrdmPhysicsList(const exrdmPhysicsList&);
68
69 G4double cutForGamma;
70 G4double cutForElectron;
71 G4double cutForPositron;
72
73 G4VPhysicsConstructor* emPhysicsList;
74 G4VPhysicsConstructor* raddecayList;
75 G4VPhysicsConstructor* particleList;
76 G4VPhysicsConstructor* hadPhysicsList;
77
78 std::vector<G4VPhysicsConstructor*> hadronPhys;
79 G4int nhadcomp;
80
81 exrdmPhysicsListMessenger* pMessenger;
82 G4ProductionCuts* DetectorCuts;
83 G4ProductionCuts* TargetCuts;
84
85};
86
87//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
88
89#endif
90
Note: See TracBrowser for help on using the repository browser.