Changeset 1230 for trunk/examples/extended/exoticphysics/monopole/include
- Timestamp:
- Jan 8, 2010, 3:02:48 PM (16 years ago)
- Location:
- trunk/examples/extended/exoticphysics/monopole/include
- Files:
-
- 12 edited
-
DetectorConstruction.hh (modified) (2 diffs)
-
DetectorMessenger.hh (modified) (1 diff)
-
EventAction.hh (modified) (1 diff)
-
EventActionMessenger.hh (modified) (1 diff)
-
G4Monopole.hh (modified) (2 diffs)
-
G4MonopolePhysics.hh (modified) (3 diffs)
-
PrimaryGeneratorAction.hh (modified) (2 diffs)
-
PrimaryGeneratorMessenger.hh (modified) (1 diff)
-
RunAction.hh (modified) (1 diff)
-
RunActionMessenger.hh (modified) (1 diff)
-
SteppingAction.hh (modified) (1 diff)
-
TrackingAction.hh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/extended/exoticphysics/monopole/include/DetectorConstruction.hh
r807 r1230 24 24 // ******************************************************************** 25 25 // 26 // $Id: DetectorConstruction.hh,v 1. 1 2007/08/16 10:32:04vnivanch Exp $27 // GEANT4 tag $Name: $26 // $Id: DetectorConstruction.hh,v 1.2 2009/07/15 10:19:47 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 46 46 class DetectorConstruction : public G4VUserDetectorConstruction 47 47 { 48 public:48 public: 49 49 50 DetectorConstruction();51 ~DetectorConstruction();50 DetectorConstruction(); 51 ~DetectorConstruction(); 52 52 53 public: 54 55 void SetSizeX (G4double); 56 void SetSizeYZ (G4double); 57 void SetMaterial (G4String); 58 void SetMagField (G4double); 53 void SetSizeX (G4double); 54 void SetSizeYZ (G4double); 55 void SetMaterial (G4String); 56 void SetMagField (G4double); 59 57 60 void SetMaxStepSize (G4double);58 void SetMaxStepSize (G4double); 61 59 62 G4VPhysicalVolume* Construct();63 void UpdateGeometry();60 G4VPhysicalVolume* Construct(); 61 void UpdateGeometry(); 64 62 65 public: 66 67 G4double GetWorldSizeX() {return worldSizeX;}; 68 G4double GetWorldSizeYZ() {return worldSizeYZ;}; 69 G4Material* GetWorldMaterial() {return worldMaterial;}; 70 G4double GetAbsorSizeX() {return absorSizeX;}; 71 G4double GetAbsorSizeYZ() {return absorSizeYZ;}; 72 G4double GetMaxStepSize() {return maxStepSize;}; 73 G4Material* GetAbsorMaterial() {return absorMaterial;}; 74 75 void PrintParameters(); 63 G4double GetWorldSizeX() {return worldSizeX;}; 64 G4double GetWorldSizeYZ() {return worldSizeYZ;}; 65 G4Material* GetWorldMaterial() {return worldMaterial;}; 66 G4double GetAbsorSizeX() {return absorSizeX;}; 67 G4double GetAbsorSizeYZ() {return absorSizeYZ;}; 68 G4double GetMaxStepSize() {return maxStepSize;}; 69 G4Material* GetAbsorMaterial() {return absorMaterial;}; 70 71 void PrintParameters(); 76 72 77 private: 73 private: 74 75 void DefineMaterials(); 76 G4VPhysicalVolume* ConstructVolumes(); 78 77 79 G4double worldSizeX;80 G4double worldSizeYZ;81 G4Material* worldMaterial;82 G4double absorSizeX;83 G4double absorSizeYZ;84 G4doublemaxStepSize;85 G4Material* absorMaterial;86 G4UniformMagField* magField;87 G4LogicalVolume* lAbsor;78 G4double worldSizeX; 79 G4double worldSizeYZ; 80 G4Material* worldMaterial; 81 G4double absorSizeX; 82 G4double absorSizeYZ; 83 G4double maxStepSize; 84 G4Material* absorMaterial; 85 G4UniformMagField* magField; 86 G4LogicalVolume* lAbsor; 88 87 89 DetectorMessenger* detectorMessenger;88 DetectorMessenger* detectorMessenger; 90 89 91 private:92 93 void DefineMaterials();94 G4VPhysicalVolume* ConstructVolumes();95 90 }; 96 91 -
trunk/examples/extended/exoticphysics/monopole/include/DetectorMessenger.hh
r807 r1230 25 25 // 26 26 // $Id: DetectorMessenger.hh,v 1.1 2007/08/16 10:32:04 vnivanch 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/exoticphysics/monopole/include/EventAction.hh
r807 r1230 25 25 // 26 26 // $Id: EventAction.hh,v 1.1 2007/08/16 10:32:04 vnivanch 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/exoticphysics/monopole/include/EventActionMessenger.hh
r807 r1230 25 25 // 26 26 // $Id: EventActionMessenger.hh,v 1.1 2007/08/16 10:32:04 vnivanch 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/exoticphysics/monopole/include/G4Monopole.hh
r807 r1230 53 53 { 54 54 private: 55 55 56 static G4Monopole* theMonopole; 56 57 … … 66 67 G4DecayTable *decaytable ); 67 68 69 virtual ~G4Monopole(); 70 68 71 public: 69 70 virtual ~G4Monopole();71 72 72 73 static G4Monopole* MonopoleDefinition(G4double mass_ = 100.*GeV, -
trunk/examples/extended/exoticphysics/monopole/include/G4MonopolePhysics.hh
r807 r1230 25 25 // 26 26 // 27 // $Id: G4MonopolePhysics.hh,v 1. 1 2007/08/16 10:32:04vnivanch Exp $28 // GEANT4 tag $Name: $27 // $Id: G4MonopolePhysics.hh,v 1.2 2009/07/15 10:19:47 vnivanch Exp $ 28 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 29 29 // 30 30 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 39 39 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... 40 40 41 class G4MonopolePhysicsMessenger; 42 41 43 class G4MonopolePhysics : public G4VPhysicsConstructor 42 44 { 43 45 public: 44 G4MonopolePhysics(const G4String& name = "EM_monopole"); 45 virtual ~G4MonopolePhysics(); 46 47 G4MonopolePhysics(const G4String& nam = "Monopole Physics"); 48 ~G4MonopolePhysics(); 46 49 47 50 // This method is dummy for physics … … 53 56 virtual void ConstructProcess(); 54 57 58 void SetMagneticCharge(G4int); 59 void SetElectricCharge(G4int); 60 void SetMonopoleMass(G4double); 61 55 62 private: 56 63 57 64 // hide assignment operator 58 G4MonopolePhysics & operator=(const G4MonopolePhysics &right); 59 G4MonopolePhysics(const G4MonopolePhysics&); 65 // G4MonopolePhysics & operator=(const G4MonopolePhysics &right); 66 // G4MonopolePhysics(const G4MonopolePhysics&); 67 68 G4int magCharge; 69 G4int elCharge; 70 G4double monopoleMass; 71 72 G4MonopolePhysicsMessenger* theMessenger; 60 73 61 74 }; -
trunk/examples/extended/exoticphysics/monopole/include/PrimaryGeneratorAction.hh
r807 r1230 24 24 // ******************************************************************** 25 25 // 26 // $Id: PrimaryGeneratorAction.hh,v 1. 1 2007/08/16 10:32:04vnivanch Exp $27 // GEANT4 tag $Name: $26 // $Id: PrimaryGeneratorAction.hh,v 1.2 2009/07/15 10:19:47 vnivanch Exp $ 27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo...... … … 45 45 class PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction 46 46 { 47 public: 48 PrimaryGeneratorAction(DetectorConstruction*); 49 ~PrimaryGeneratorAction(); 47 public: 50 48 51 public: 52 void SetRndmBeam(G4double val) {rndmBeam = val;} 53 void GeneratePrimaries(G4Event*); 49 PrimaryGeneratorAction(DetectorConstruction*); 50 ~PrimaryGeneratorAction(); 51 52 void SetRndmBeam(G4double val) {rndmBeam = val;} 53 void GeneratePrimaries(G4Event*); 54 54 55 void ResetEbeamCumul() {EbeamCumul = 0.;}56 G4double GetEbeamCumul() {return EbeamCumul;}55 void ResetEbeamCumul() {EbeamCumul = 0.;} 56 G4double GetEbeamCumul() {return EbeamCumul;} 57 57 58 G4ParticleGun* GetParticleGun() {return particleGun;}58 G4ParticleGun* GetParticleGun() {return particleGun;} 59 59 60 private: 61 G4ParticleGun* particleGun; 62 DetectorConstruction* detector; 63 G4double rndmBeam; 64 G4double EbeamCumul; 65 PrimaryGeneratorMessenger* gunMessenger; 60 private: 61 62 G4ParticleGun* particleGun; 63 DetectorConstruction* detector; 64 G4double rndmBeam; 65 G4double EbeamCumul; 66 PrimaryGeneratorMessenger* gunMessenger; 66 67 }; 67 68 -
trunk/examples/extended/exoticphysics/monopole/include/PrimaryGeneratorMessenger.hh
r807 r1230 25 25 // 26 26 // $Id: PrimaryGeneratorMessenger.hh,v 1.1 2007/08/16 10:32:04 vnivanch 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/exoticphysics/monopole/include/RunAction.hh
r807 r1230 25 25 // 26 26 // $Id: RunAction.hh,v 1.1 2007/08/16 10:32:04 vnivanch 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/exoticphysics/monopole/include/RunActionMessenger.hh
r807 r1230 25 25 // 26 26 // $Id: RunActionMessenger.hh,v 1.1 2007/08/16 10:32:04 vnivanch 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/exoticphysics/monopole/include/SteppingAction.hh
r807 r1230 25 25 // 26 26 // $Id: SteppingAction.hh,v 1.1 2007/08/16 10:32:04 vnivanch 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/exoticphysics/monopole/include/TrackingAction.hh
r807 r1230 25 25 // 26 26 // $Id: TrackingAction.hh,v 1.1 2007/08/16 10:32:04 vnivanch Exp $ 27 // GEANT4 tag $Name: $27 // GEANT4 tag $Name: geant4-09-03-cand-01 $ 28 28 // 29 29 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
Note:
See TracChangeset
for help on using the changeset viewer.
