Changeset 1230 for trunk/examples/extended/electromagnetic/TestEm9/include
- Timestamp:
- Jan 8, 2010, 3:02:48 PM (16 years ago)
- Location:
- trunk/examples/extended/electromagnetic/TestEm9/include
- Files:
-
- 17 edited
-
DetectorConstruction.hh (modified) (6 diffs)
-
DetectorMessenger.hh (modified) (1 diff)
-
EmAcceptance.hh (modified) (1 diff)
-
EventAction.hh (modified) (1 diff)
-
EventActionMessenger.hh (modified) (1 diff)
-
Histo.hh (modified) (1 diff)
-
HistoManager.hh (modified) (5 diffs)
-
HistoMessenger.hh (modified) (1 diff)
-
PhysListEmLivermore.hh (modified) (1 diff)
-
PhysListEmPenelope.hh (modified) (1 diff)
-
PhysListEmStandard.hh (modified) (1 diff)
-
PhysicsList.hh (modified) (5 diffs)
-
PhysicsListMessenger.hh (modified) (1 diff)
-
PrimaryGeneratorAction.hh (modified) (1 diff)
-
StepMax.hh (modified) (1 diff)
-
StepMaxMessenger.hh (modified) (1 diff)
-
SteppingAction.hh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/electromagnetic/TestEm9/include/DetectorConstruction.hh
r807 r1230 25 25 // 26 26 // 27 // $Id: DetectorConstruction.hh,v 1. 5 2006/06/29 17:00:56 gunterExp $28 // GEANT4 tag $Name: $27 // $Id: DetectorConstruction.hh,v 1.7 2008/04/07 18:09:05 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // … … 57 57 class DetectorMessenger; 58 58 class G4Region; 59 class G4ProductionCuts; 59 60 60 61 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 65 66 66 67 DetectorConstruction(); 67 ~DetectorConstruction();68 virtual ~DetectorConstruction(); 68 69 69 70 public: … … 71 72 void SetEcalMaterial(const G4String&); 72 73 void SetAbsMaterial(const G4String&); 73 void SetEcalLength (G4double val) {ecalLength = val;};74 void SetEcalWidth (G4double val) {ecalWidth = val;};75 void SetVertexLength (G4double val) {vertexLength = val;};76 void SetPadLength (G4double val) {padLength = val;};77 void SetPadWidth (G4double val) {padWidth = val;};78 void SetAbsLength(G4double val) {absLength = val;};74 void SetEcalLength(G4double val); 75 void SetEcalWidth(G4double val); 76 void SetVertexLength(G4double val); 77 void SetPadLength(G4double val); 78 void SetPadWidth(G4double val); 79 void SetAbsLength(G4double val); 79 80 80 81 G4VPhysicalVolume* Construct(); … … 82 83 void UpdateGeometry(); 83 84 84 G4double GetWorldSizeZ() {return worldZ;}85 G4double GetWorldSizeZ() {return worldZ;} 85 86 86 87 private: … … 106 107 G4Material* yorkMaterial; 107 108 108 G4LogicalVolume* logicC; 109 G4LogicalVolume* logicWorld; 110 G4LogicalVolume* logicECal; 111 G4LogicalVolume* logicCal; 109 112 G4LogicalVolume* logicA1; 110 113 G4LogicalVolume* logicA2; 111 114 G4LogicalVolume* logicA3; 112 115 G4LogicalVolume* logicA4; 116 G4LogicalVolume* logicYV; 117 G4LogicalVolume* logicY; 118 G4LogicalVolume* logicVV; 119 G4LogicalVolume* logicVD; 120 G4LogicalVolume* logicV; 113 121 114 122 G4Region* vertexRegion; 115 123 G4Region* muonRegion; 124 G4ProductionCuts* vertexDetectorCuts; 125 G4ProductionCuts* muonDetectorCuts; 116 126 117 127 DetectorMessenger* detectorMessenger; //pointer to the Messenger -
trunk/examples/extended/electromagnetic/TestEm9/include/DetectorMessenger.hh
r807 r1230 26 26 // 27 27 // $Id: DetectorMessenger.hh,v 1.4 2006/06/29 17:00:58 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm9/include/EmAcceptance.hh
r807 r1230 26 26 // 27 27 // $Id: EmAcceptance.hh,v 1.2 2006/06/29 17:01:00 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm9/include/EventAction.hh
r807 r1230 28 28 29 29 // $Id: EventAction.hh,v 1.3 2006/06/29 17:01:02 gunter Exp $ 30 // GEANT4 tag $Name: $30 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 31 31 32 32 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.... -
trunk/examples/extended/electromagnetic/TestEm9/include/EventActionMessenger.hh
r807 r1230 25 25 // 26 26 // $Id: EventActionMessenger.hh,v 1.3 2006/06/29 17:01:04 gunter Exp $ 27 // GEANT4 tag $Name: $27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm9/include/Histo.hh
r807 r1230 25 25 // 26 26 // $Id: Histo.hh,v 1.5 2007/05/24 13:17:41 vnivanch Exp $ 27 // GEANT4 tag $Name: $27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 29 29 #ifndef Histo_h -
trunk/examples/extended/electromagnetic/TestEm9/include/HistoManager.hh
r807 r1230 24 24 // ******************************************************************** 25 25 // 26 // $Id: HistoManager.hh,v 1. 8 2007/04/24 14:20:04vnivanch Exp $27 // GEANT4 tag $Name: $26 // $Id: HistoManager.hh,v 1.11 2008/09/24 10:38:46 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 29 29 #ifndef HistoManager_h … … 110 110 void SetThresholdEnergy(G4double val) {thKinE = val;}; 111 111 void SetThresholdZ(G4double val) {thPosZ = val;}; 112 void AddStep() {n_step ++;};112 void AddStep() {n_step += 1.0;}; 113 113 114 114 // Acceptance parameters … … 133 133 134 134 G4double trackLength; 135 G4double n_step; 136 G4double n_step_target; 135 137 G4bool trackAbs; // Track is in absorber 136 138 G4int n_evt; … … 138 140 G4int n_posit; 139 141 G4int n_gam; 140 G4int n_step;141 142 G4int n_gamph; 142 143 G4int n_gam_tar; 143 G4int n_ step_target;144 G4int n_lowe; 144 145 G4int nBinsE, nBinsEA, nBinsED; 145 146 G4bool nTuple; … … 153 154 G4double rmstrue[3]; 154 155 G4double limittrue[3]; 155 G4double edep[ 3];156 G4double erms[ 3];157 G4double edeptr[ 3];158 G4double ermstr[ 3];159 G4int stat[ 3];156 G4double edep[6]; 157 G4double erms[6]; 158 G4double edeptr[6]; 159 G4double ermstr[6]; 160 G4int stat[6]; 160 161 G4int nmax; 161 162 -
trunk/examples/extended/electromagnetic/TestEm9/include/HistoMessenger.hh
r807 r1230 27 27 // 28 28 // $Id: HistoMessenger.hh,v 1.3 2006/06/29 17:01:11 gunter Exp $ 29 // GEANT4 tag $Name: $29 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 30 30 // 31 31 // -
trunk/examples/extended/electromagnetic/TestEm9/include/PhysListEmLivermore.hh
r807 r1230 26 26 // 27 27 // $Id: PhysListEmLivermore.hh,v 1.1 2006/11/17 17:45:57 vnivanch Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm9/include/PhysListEmPenelope.hh
r807 r1230 26 26 // 27 27 // $Id: PhysListEmPenelope.hh,v 1.1 2006/11/17 17:45:57 vnivanch Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm9/include/PhysListEmStandard.hh
r807 r1230 26 26 // 27 27 // $Id: PhysListEmStandard.hh,v 1.3 2006/06/29 17:02:17 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm9/include/PhysicsList.hh
r807 r1230 24 24 // ******************************************************************** 25 25 // 26 // $Id: PhysicsList.hh,v 1. 5 2006/11/17 17:03:26vnivanch Exp $27 // GEANT4 tag $Name: $26 // $Id: PhysicsList.hh,v 1.7 2008/04/07 18:09:05 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 61 61 public: 62 62 PhysicsList(); 63 ~PhysicsList();63 virtual ~PhysicsList(); 64 64 65 65 void ConstructParticle(); … … 69 69 void SetCutForElectron(G4double); 70 70 void SetCutForPositron(G4double); 71 void SetMscStepLimit(G4bool val);72 71 73 72 void AddPhysicsList(const G4String& name); … … 89 88 G4double cutForElectron; 90 89 G4double cutForPositron; 90 G4double cutForVertexDetector; 91 G4double cutForMuonDetector; 91 92 92 93 G4VPhysicsConstructor* emPhysicsList; … … 102 103 G4ProductionCuts* muonDetectorCuts; 103 104 104 G4bool mscStepLimit;105 105 G4bool helIsRegisted; 106 106 G4bool bicIsRegisted; -
trunk/examples/extended/electromagnetic/TestEm9/include/PhysicsListMessenger.hh
r807 r1230 26 26 // 27 27 // $Id: PhysicsListMessenger.hh,v 1.4 2006/06/29 17:02:32 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm9/include/PrimaryGeneratorAction.hh
r807 r1230 26 26 // 27 27 // $Id: PrimaryGeneratorAction.hh,v 1.3 2006/06/29 17:02:35 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 // -
trunk/examples/extended/electromagnetic/TestEm9/include/StepMax.hh
r807 r1230 25 25 // 26 26 // $Id: StepMax.hh,v 1.3 2006/06/29 17:02:40 gunter Exp $ 27 // GEANT4 tag $Name: $27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm9/include/StepMaxMessenger.hh
r807 r1230 25 25 // 26 26 // $Id: StepMaxMessenger.hh,v 1.3 2006/06/29 17:02:42 gunter Exp $ 27 // GEANT4 tag $Name: $27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... -
trunk/examples/extended/electromagnetic/TestEm9/include/SteppingAction.hh
r807 r1230 26 26 // 27 27 // $Id: SteppingAction.hh,v 1.3 2006/06/29 17:02:44 gunter Exp $ 28 // GEANT4 tag $Name: $28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 //
Note:
See TracChangeset
for help on using the changeset viewer.
