Changeset 1230 for trunk/examples/advanced/gammaray_telescope
- Timestamp:
- Jan 8, 2010, 3:02:48 PM (16 years ago)
- Location:
- trunk/examples/advanced/gammaray_telescope
- Files:
-
- 53 edited
-
GammaRayTel.cc (modified) (2 diffs)
-
emlowe.mac (modified) (1 diff)
-
emstd.mac (modified) (1 diff)
-
include/GammaRayTelAnalysis.hh (modified) (1 diff)
-
include/GammaRayTelAnalysisMessenger.hh (modified) (1 diff)
-
include/GammaRayTelAnticoincidenceHit.hh (modified) (1 diff)
-
include/GammaRayTelAnticoincidenceSD.hh (modified) (1 diff)
-
include/GammaRayTelCalorimeterHit.hh (modified) (1 diff)
-
include/GammaRayTelCalorimeterSD.hh (modified) (1 diff)
-
include/GammaRayTelDetectorConstruction.hh (modified) (1 diff)
-
include/GammaRayTelDetectorMessenger.hh (modified) (1 diff)
-
include/GammaRayTelDigi.hh (modified) (1 diff)
-
include/GammaRayTelDigitizer.hh (modified) (1 diff)
-
include/GammaRayTelDigitizerMessenger.hh (modified) (1 diff)
-
include/GammaRayTelDummySD.hh (modified) (1 diff)
-
include/GammaRayTelEventAction.hh (modified) (1 diff)
-
include/GammaRayTelGeneralPhysics.hh (modified) (1 diff)
-
include/GammaRayTelHadronPhysics.hh (modified) (1 diff)
-
include/GammaRayTelIonPhysics.hh (modified) (1 diff)
-
include/GammaRayTelMuonPhysics.hh (modified) (1 diff)
-
include/GammaRayTelPhysicsList.hh (modified) (2 diffs)
-
include/GammaRayTelPrimaryGeneratorAction.hh (modified) (1 diff)
-
include/GammaRayTelPrimaryGeneratorMessenger.hh (modified) (1 diff)
-
include/GammaRayTelRunAction.hh (modified) (1 diff)
-
include/GammaRayTelTrackerHit.hh (modified) (1 diff)
-
include/GammaRayTelTrackerROGeometry.hh (modified) (1 diff)
-
include/GammaRayTelTrackerSD.hh (modified) (1 diff)
-
macro1.mac (modified) (1 diff)
-
macro2.mac (modified) (1 diff)
-
macro3.mac (modified) (1 diff)
-
macro4.mac (modified) (1 diff)
-
src/GammaRayTelAnalysis.cc (modified) (1 diff)
-
src/GammaRayTelAnalysisMessenger.cc (modified) (1 diff)
-
src/GammaRayTelAnticoincidenceHit.cc (modified) (1 diff)
-
src/GammaRayTelAnticoincidenceSD.cc (modified) (1 diff)
-
src/GammaRayTelCalorimeterHit.cc (modified) (1 diff)
-
src/GammaRayTelCalorimeterSD.cc (modified) (1 diff)
-
src/GammaRayTelDetectorConstruction.cc (modified) (1 diff)
-
src/GammaRayTelDetectorMessenger.cc (modified) (1 diff)
-
src/GammaRayTelDigi.cc (modified) (1 diff)
-
src/GammaRayTelDigitizer.cc (modified) (1 diff)
-
src/GammaRayTelDigitizerMessenger.cc (modified) (1 diff)
-
src/GammaRayTelEventAction.cc (modified) (1 diff)
-
src/GammaRayTelHadronPhysics.cc (modified) (1 diff)
-
src/GammaRayTelIonPhysics.cc (modified) (1 diff)
-
src/GammaRayTelMuonPhysics.cc (modified) (2 diffs)
-
src/GammaRayTelPhysicsList.cc (modified) (5 diffs)
-
src/GammaRayTelPrimaryGeneratorAction.cc (modified) (2 diffs)
-
src/GammaRayTelPrimaryGeneratorMessenger.cc (modified) (1 diff)
-
src/GammaRayTelRunAction.cc (modified) (1 diff)
-
src/GammaRayTelTrackerHit.cc (modified) (1 diff)
-
src/GammaRayTelTrackerROGeometry.cc (modified) (1 diff)
-
src/GammaRayTelTrackerSD.cc (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/advanced/gammaray_telescope/GammaRayTel.cc
r807 r1230 25 25 // 26 26 // 27 // $Id: GammaRayTel.cc,v 1.1 6 2006/06/29 15:54:48 gunterExp $28 // GEANT4 tag $Name: $27 // $Id: GammaRayTel.cc,v 1.17 2009/11/18 15:54:55 flongo Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // … … 87 87 //runManager->SetUserInitialization(new QGSP_BIC); 88 88 89 90 89 91 90 // Set mandatory user action classes -
trunk/examples/advanced/gammaray_telescope/emlowe.mac
r807 r1230 1 /process/activate LowEnRayleigh gamma 2 /process/activate LowEnPhotoElec gamma 3 /process/activate LowEnCompton gamma 4 /process/activate LowEnConversion gamma 5 6 /process/inactivate phot gamma 7 /process/inactivate compt gamma 8 /process/inactivate conv gamma 9 10 /process/activate LowEnergyIoni 11 /process/activate LowEnBrem 12 13 /process/inactivate eIoni 14 /process/inactivate eBrem 15 16 /process/list 1 /physics/addPhysics LowE EM -
trunk/examples/advanced/gammaray_telescope/emstd.mac
r807 r1230 1 /process/inactivate LowEnRayleigh gamma 2 /process/inactivate LowEnPhotoElec gamma 3 /process/inactivate LowEnCompton gamma 4 /process/inactivate LowEnConversion gamma 1 /physics/addPhysics Standard EM 5 2 6 /process/activate phot gamma7 /process/activate compt gamma8 /process/activate conv gamma9 10 /process/inactivate LowEnergyIoni11 /process/inactivate LowEnBrem12 13 /process/activate eIoni14 /process/activate eBrem15 16 /process/list -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelAnalysis.hh
r807 r1230 27 27 // 28 28 // $Id: GammaRayTelAnalysis.hh,v 1.18 2006/06/29 15:54:51 gunter Exp $ 29 // GEANT4 tag $Name: $29 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 30 30 // ------------------------------------------------------------ 31 31 // GEANT 4 class header file -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelAnalysisMessenger.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelAnalysisMessenger.hh,v 1.4 2006/06/29 15:54:54 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // ------------------------------------------------------------ -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelAnticoincidenceHit.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelAnticoincidenceHit.hh,v 1.3 2006/06/29 15:54:57 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class header file -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelAnticoincidenceSD.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelAnticoincidenceSD.hh,v 1.5 2006/06/29 15:55:00 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class header file -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelCalorimeterHit.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelCalorimeterHit.hh,v 1.3 2006/06/29 15:55:03 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class header file -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelCalorimeterSD.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelCalorimeterSD.hh,v 1.5 2006/06/29 15:55:06 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class header file -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelDetectorConstruction.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelDetectorConstruction.hh,v 1.10 2006/06/29 15:55:09 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class header file -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelDetectorMessenger.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelDetectorMessenger.hh,v 1.4 2006/06/29 15:55:12 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // ------------------------------------------------------------ -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelDigi.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelDigi.hh,v 1.3 2006/06/29 15:55:15 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class header file -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelDigitizer.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelDigitizer.hh,v 1.4 2006/06/29 15:55:18 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class header file -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelDigitizerMessenger.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelDigitizerMessenger.hh,v 1.2 2006/06/29 15:55:21 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelDummySD.hh
r807 r1230 27 27 // 28 28 // $Id: GammaRayTelDummySD.hh,v 1.6 2006/06/29 15:55:24 gunter Exp $ 29 // GEANT4 tag $Name: $29 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 30 30 // ------------------------------------------------------------ 31 31 // GEANT 4 class header file -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelEventAction.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelEventAction.hh,v 1.10 2006/06/29 15:55:29 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class header file -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelGeneralPhysics.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelGeneralPhysics.hh,v 1.2 2006/06/29 15:55:32 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelHadronPhysics.hh
r807 r1230 25 25 // 26 26 // $Id: GammaRayTelHadronPhysics.hh,v 1.4 2006/06/29 15:55:35 gunter Exp $ 27 // GEANT4 tag $Name: $27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 // 29 29 // ------------------------------------------------------------ -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelIonPhysics.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelIonPhysics.hh,v 1.2 2006/06/29 15:55:38 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelMuonPhysics.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelMuonPhysics.hh,v 1.2 2006/06/29 15:55:41 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelPhysicsList.hh
r807 r1230 30 30 #include "globals.hh" 31 31 32 class GammaRayTelPhysicsListMessenger; 33 32 34 class GammaRayTelPhysicsList: public G4VModularPhysicsList 33 35 { … … 39 41 // SetCuts() 40 42 virtual void SetCuts(); 43 void SetRegionCut(G4double); 44 void AddPhysicsList(const G4String& name); 45 // void ConstructProcess(); 41 46 47 48 private: 49 50 G4String emName; 51 G4VPhysicsConstructor* emPhysicsList; 52 GammaRayTelPhysicsListMessenger* pMessenger; 42 53 43 54 }; -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelPrimaryGeneratorAction.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelPrimaryGeneratorAction.hh,v 1.8 2006/06/29 15:55:49 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // ------------------------------------------------------------ -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelPrimaryGeneratorMessenger.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelPrimaryGeneratorMessenger.hh,v 1.5 2006/06/29 15:55:52 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelRunAction.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelRunAction.hh,v 1.6 2006/06/29 15:55:55 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class header file -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelTrackerHit.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelTrackerHit.hh,v 1.3 2006/06/29 15:55:58 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class header file -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelTrackerROGeometry.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelTrackerROGeometry.hh,v 1.5 2006/06/29 15:56:01 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class header file -
trunk/examples/advanced/gammaray_telescope/include/GammaRayTelTrackerSD.hh
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelTrackerSD.hh,v 1.5 2006/06/29 15:56:04 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class header file -
trunk/examples/advanced/gammaray_telescope/macro1.mac
r807 r1230 14 14 /run/verbose 1 15 15 /gun/sourceGen true 16 /control/execute emstd.mac 17 16 18 /run/initialize 17 19 18 /control/execute emstd.mac 19 20 /gun/particle gamma 21 /gun/energy 1 GeV 20 /particle/select gamma 22 21 /gun/vertexRadius 25. cm 23 22 /gun/sourceType 2 -
trunk/examples/advanced/gammaray_telescope/macro2.mac
r807 r1230 14 14 /run/verbose 2 15 15 /gun/sourceGen true 16 /run/initialize 16 17 17 18 18 /control/execute emlowe.mac 19 20 /run/initialize 19 21 20 22 /gun/particle mu- -
trunk/examples/advanced/gammaray_telescope/macro3.mac
r807 r1230 14 14 /run/verbose 1 15 15 /gun/sourceGen true 16 /control/execute emstd.mac 16 17 /run/initialize 17 18 /control/execute emstd.mac19 20 18 /gun/particle gamma 21 19 /gun/energy 1 GeV -
trunk/examples/advanced/gammaray_telescope/macro4.mac
r807 r1230 2 2 /tracking/storeTrajectory 1 3 3 /gun/sourceGen false 4 /control/execute emlowe.mac 4 5 /run/initialize 5 6 /gps/particle e- -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelAnalysis.cc
r807 r1230 27 27 // 28 28 // $Id: GammaRayTelAnalysis.cc,v 1.21 2006/06/29 15:56:07 gunter Exp $ 29 // GEANT4 tag $Name: $29 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 30 30 // ------------------------------------------------------------ 31 31 // GEANT 4 class implementation file -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelAnalysisMessenger.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelAnalysisMessenger.cc,v 1.9 2006/06/29 15:56:10 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // ------------------------------------------------------------ -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelAnticoincidenceHit.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelAnticoincidenceHit.cc,v 1.4 2006/06/29 15:56:12 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class implementation file -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelAnticoincidenceSD.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelAnticoincidenceSD.cc,v 1.6 2006/06/29 15:56:15 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class implementation file -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelCalorimeterHit.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelCalorimeterHit.cc,v 1.4 2006/06/29 15:56:17 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class implementation file -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelCalorimeterSD.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelCalorimeterSD.cc,v 1.7 2006/06/29 15:56:19 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class implementation file -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelDetectorConstruction.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelDetectorConstruction.cc,v 1.15 2006/06/29 15:56:22 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class implementation file -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelDetectorMessenger.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelDetectorMessenger.cc,v 1.8 2006/06/29 15:56:25 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // ------------------------------------------------------------ -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelDigi.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelDigi.cc,v 1.5 2006/06/29 15:56:28 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class implementation file -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelDigitizer.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelDigitizer.cc,v 1.6 2006/06/29 15:56:31 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class implementation file -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelDigitizerMessenger.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelDigitizerMessenger.cc,v 1.5 2006/06/29 15:56:34 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class implementation file -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelEventAction.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelEventAction.cc,v 1.19 2006/06/29 15:56:39 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class implementation file -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelHadronPhysics.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelHadronPhysics.cc,v 1.4 2006/06/29 15:56:45 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelIonPhysics.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelIonPhysics.cc,v 1.4 2006/06/29 15:56:48 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelMuonPhysics.cc
r807 r1230 25 25 // 26 26 // 27 // $Id: GammaRayTelMuonPhysics.cc,v 1.4 2006/06/29 15:56:50 gunter Exp $ 28 // GEANT4 tag $Name: $ 29 // 27 // $Id: GammaRayTelMuonPhysics.cc,v 1.8 2008/11/24 15:10:47 cirrone Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 30 29 // 31 30 … … 34 33 #include "globals.hh" 35 34 #include "G4ios.hh" 35 #include "G4MuonPlus.hh" 36 #include "G4TauPlus.hh" 37 #include "G4TauMinus.hh" 36 38 #include <iomanip> 39 40 41 #include "G4ParticleTypes.hh" 37 42 38 43 -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelPhysicsList.cc
r807 r1230 25 25 // 26 26 // 27 // $Id: GammaRayTelPhysicsList.cc,v 1. 7 2006/06/29 15:56:55 gunterExp $28 // GEANT4 tag $Name: $27 // $Id: GammaRayTelPhysicsList.cc,v 1.8 2009/11/18 15:59:05 flongo Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // … … 44 44 #include "G4ios.hh" 45 45 #include <iomanip> 46 46 47 #include "GammaRayTelParticles.hh" 47 48 #include "GammaRayTelGeneralPhysics.hh" 48 #include "GammaRayTelEMPhysics.hh" 49 #include "GammaRayTelEMstdPhysics.hh" 50 #include "GammaRayTelEMlowePhysics.hh" 49 51 #include "GammaRayTelMuonPhysics.hh" 50 52 #include "GammaRayTelHadronPhysics.hh" 51 53 #include "GammaRayTelIonPhysics.hh" 52 54 55 #include "G4PhysListFactory.hh" 56 #include "G4VPhysicsConstructor.hh" 57 #include "G4EmProcessOptions.hh" 58 59 60 #include "GammaRayTelPhysicsListMessenger.hh" 61 53 62 GammaRayTelPhysicsList::GammaRayTelPhysicsList(): G4VModularPhysicsList() 54 63 { … … 57 66 SetVerboseLevel(1); 58 67 68 pMessenger = new GammaRayTelPhysicsListMessenger(this); 69 70 // Particles 71 72 59 73 RegisterPhysics( new GammaRayTelParticles("particles") ); 60 74 75 G4cout << "PARTICLES DONE" << G4endl; 76 77 // EM physics 78 79 emPhysicsList = new GammaRayTelEMstdPhysics; 80 emName = G4String("Standard EM"); 81 82 61 83 // General Physics 84 62 85 RegisterPhysics( new GammaRayTelGeneralPhysics("general") ); 63 86 64 // EM Physics65 RegisterPhysics( new GammaRayTelEMPhysics("electromagnetic")); 87 G4cout << "GENERAL DONE" << G4endl; 88 66 89 67 90 // Muon Physics 91 68 92 RegisterPhysics( new GammaRayTelMuonPhysics("muon")); 93 94 95 G4cout << "MUON DONE" << G4endl; 69 96 70 97 // Hadron Physics 71 98 RegisterPhysics( new GammaRayTelHadronPhysics("hadron")); 72 99 100 G4cout << "HADRONS DONE" << G4endl; 101 73 102 // Ion Physics 74 103 RegisterPhysics( new GammaRayTelIonPhysics("ion")); 75 104 76 105 106 G4cout << "IONS DONE" << G4endl; 107 77 108 } 78 109 79 110 GammaRayTelPhysicsList::~GammaRayTelPhysicsList() 80 111 { 112 delete pMessenger; 113 delete emPhysicsList; 81 114 } 82 115 … … 94 127 // These values are used as the default production thresholds 95 128 // for the world volume. 129 130 G4cout << "CUT STD" << G4endl; 131 96 132 SetCutsWithDefault(); 97 133 98 134 135 } 136 137 void GammaRayTelPhysicsList::SetRegionCut(G4double cutvalue) 138 { 139 140 SetCutsWithDefault(); 141 142 if (verboseLevel >0){ 143 G4cout << "GammaRayTelPhysicsList::SetCuts: default cut length : " 144 << G4BestUnit(defaultCutValue,"Length") << G4endl; 145 } 146 147 G4cout << "CUTS NEW" << G4endl; 148 99 149 // Production thresholds for detector regions 100 150 101 151 G4String regName[] = {"Calorimeter","Tracker"}; 102 G4double cutValue[] = {1*mm, 0.1*mm}; 152 // G4double cutValue[] = {1*mm, 0.1*mm}; 153 G4double cutValue[] = {cutvalue, cutvalue/10.}; 154 155 103 156 104 157 for(G4int i=0;i<2;i++) … … 109 162 reg->SetProductionCuts(cuts); 110 163 } 111 } 112 113 114 115 164 165 } 166 167 168 ///////////////////////////////////////////////////////////////////////////// 169 170 void GammaRayTelPhysicsList::AddPhysicsList(const G4String& name) 171 { 172 173 if (verboseLevel>1) { 174 G4cout << "PhysicsList::AddPhysicsList: <" << name << ">" << G4endl; 175 } 176 177 if (name == "Standard EM") { 178 179 emName = name; 180 delete emPhysicsList; 181 emPhysicsList = new GammaRayTelEMstdPhysics(); 182 G4cout << "THE FOLLOWING ELECTROMAGNETIC PHYSICS LIST HAS BEEN ACTIVATED: EM Standard" << G4endl; 183 184 } else if (name == "LowE EM") { 185 emName = name; 186 delete emPhysicsList; 187 emPhysicsList = new GammaRayTelEMlowePhysics();; 188 G4cout << "THE FOLLOWING ELECTROMAGNETIC PHYSICS LIST HAS BEEN ACTIVATED: EM LowE" << G4endl; 189 } 190 else { 191 G4cout << "PhysicsList::AddPhysicsList: <" << name << ">" 192 << " is not defined" 193 << G4endl; 194 } 195 196 197 G4cout << "REGISTRATION DONE " << G4endl; 198 199 RegisterPhysics(emPhysicsList); 200 201 } -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelPrimaryGeneratorAction.cc
r807 r1230 25 25 // 26 26 // 27 // $Id: GammaRayTelPrimaryGeneratorAction.cc,v 1.1 0 2006/06/29 15:56:58 gunterExp $28 // GEANT4 tag $Name: geant4-09-0 1-patch-02$27 // $Id: GammaRayTelPrimaryGeneratorAction.cc,v 1.11 2007/11/09 16:33:34 flongo Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class implementation file … … 69 69 G4int n_particle = 1; 70 70 71 if (sourceGun) 72 { 73 particleGun = new G4ParticleGun(n_particle); 71 particleGun = new G4ParticleGun(n_particle); 74 72 // default particle kinematic 75 76 G4ParticleTable* particleTable = G4ParticleTable::GetParticleTable();77 G4String particleName;78 G4ParticleDefinition* particle79 = particleTable->FindParticle(particleName="e-");80 particleGun->SetParticleDefinition(particle);81 particleGun->SetParticleMomentumDirection(G4ThreeVector(0.,0.,-1.));82 particleGun->SetParticleEnergy(30.*MeV);83 G4double position = 0.5*(GammaRayTelDetector->GetWorldSizeZ());84 particleGun->SetParticlePosition(G4ThreeVector(0.*cm,0.*cm,position));85 }86 else87 {88 particleSource = new G4GeneralParticleSource();89 }90 73 74 G4ParticleTable* particleTable = G4ParticleTable::GetParticleTable(); 75 G4String particleName; 76 G4ParticleDefinition* particle 77 = particleTable->FindParticle(particleName="e-"); 78 particleGun->SetParticleDefinition(particle); 79 particleGun->SetParticleMomentumDirection(G4ThreeVector(0.,0.,-1.)); 80 particleGun->SetParticleEnergy(30.*MeV); 81 G4double position = 0.5*(GammaRayTelDetector->GetWorldSizeZ()); 82 particleGun->SetParticlePosition(G4ThreeVector(0.*cm,0.*cm,position)); 83 particleSource = new G4GeneralParticleSource(); 84 91 85 } 92 86 -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelPrimaryGeneratorMessenger.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelPrimaryGeneratorMessenger.cc,v 1.8 2006/06/29 15:57:01 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class implementation file -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelRunAction.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelRunAction.cc,v 1.11 2006/06/29 15:57:04 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class implementation file -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelTrackerHit.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelTrackerHit.cc,v 1.4 2006/06/29 15:57:07 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // ------------------------------------------------------------ 30 30 // GEANT 4 class implementation file -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelTrackerROGeometry.cc
r807 r1230 26 26 // 27 27 // $Id: GammaRayTelTrackerROGeometry.cc,v 1.6 2006/06/29 15:57:10 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // -
trunk/examples/advanced/gammaray_telescope/src/GammaRayTelTrackerSD.cc
r807 r1230 25 25 // 26 26 // 27 // $Id: GammaRayTelTrackerSD.cc,v 1.9 2006/06/29 15:57:13 gunter Exp $28 // GEANT4 tag $Name: geant4-09-01-patch-02 $29 27 // ------------------------------------------------------------ 30 28 // GEANT 4 class implementation file … … 97 95 G4bool GammaRayTelTrackerSD::ProcessHits(G4Step* aStep,G4TouchableHistory* ROhist) 98 96 { 99 97 100 98 G4double edep = aStep->GetTotalEnergyDeposit(); 101 99 if ((edep/keV == 0.)) return false; … … 103 101 G4int StripTotal = Detector->GetNbOfTKRStrips(); 104 102 G4int TileTotal = Detector->GetNbOfTKRTiles(); 105 103 106 104 // This TouchableHistory is used to obtain the physical volume 107 105 // of the hit … … 123 121 G4VPhysicalVolume* strip = 0; 124 122 strip = ROhist->GetVolume(); 125 G4String StripName = strip->GetName(); 126 StripNumber= strip->GetCopyNo(); 127 128 ROhist->MoveUpHistory(); 129 G4VPhysicalVolume* tile = ROhist->GetVolume(); 123 124 // if (strip){ 125 G4String StripName = strip->GetName(); 126 StripNumber= strip->GetCopyNo(); 127 // } 128 // ROhist->MoveUpHistory(); 129 G4VPhysicalVolume* tile = ROhist->GetVolume(1); 130 130 G4int TileNumber = tile->GetCopyNo(); 131 131 G4String TileName = tile->GetName();
Note:
See TracChangeset
for help on using the changeset viewer.
