Changeset 609 for trunk/geant4/N03/include/ExN03PrimaryGeneratorAction.hh
- Timestamp:
- Nov 16, 2007, 11:59:21 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/geant4/N03/include/ExN03PrimaryGeneratorAction.hh
r483 r609 25 25 // 26 26 // 27 // $Id: ExN03PrimaryGeneratorAction.hh,v 1. 7 2006/06/29 17:48:42 gunterExp $28 // GEANT4 tag $Name: geant4-08-01-patch-01$27 // $Id: ExN03PrimaryGeneratorAction.hh,v 1.8 2007/07/02 13:22:08 vnivanch Exp $ 28 // GEANT4 tag $Name: $ 29 29 // 30 30 // … … 48 48 class ExN03PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction 49 49 { 50 51 52 ~ExN03PrimaryGeneratorAction();50 public: 51 ExN03PrimaryGeneratorAction(ExN03DetectorConstruction*); 52 virtual ~ExN03PrimaryGeneratorAction(); 53 53 54 public: 55 void GeneratePrimaries(G4Event*); 56 void SetRndmFlag(G4String val) { rndmFlag = val;} 54 void GeneratePrimaries(G4Event*); 55 void SetRndmFlag(G4String val) { rndmFlag = val;} 57 56 58 59 60 ExN03DetectorConstruction* ExN03Detector;//pointer to the geometry57 private: 58 G4ParticleGun* particleGun; //pointer a to G4 class 59 ExN03DetectorConstruction* ExN03Detector; //pointer to the geometry 61 60 62 ExN03PrimaryGeneratorMessenger* gunMessenger;//messenger of this class63 61 ExN03PrimaryGeneratorMessenger* gunMessenger; //messenger of this class 62 G4String rndmFlag; //flag for a rndm impact point 64 63 }; 65 64
Note: See TracChangeset
for help on using the changeset viewer.