Import Geant4 4.0.0 source tree
This commit is contained in:
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Em3CalorHit.hh,v 1.2.4.1 2001/06/28 19:06:56 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: Em3CalorHit.hh,v 1.4 2001/10/22 10:58:46 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Em3CalorHit_h
|
||||
#define Em3CalorHit_h 1
|
||||
@@ -37,7 +37,7 @@
|
||||
#include "G4THitsCollection.hh"
|
||||
#include "G4Allocator.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class Em3CalorHit : public G4VHit
|
||||
{
|
||||
@@ -70,13 +70,13 @@ class Em3CalorHit : public G4VHit
|
||||
G4double TrackLengthAbs[MaxAbsor];
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
typedef G4THitsCollection<Em3CalorHit> Em3CalorHitsCollection;
|
||||
|
||||
extern G4Allocator<Em3CalorHit> Em3CalorHitAllocator;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
inline void* Em3CalorHit::operator new(size_t)
|
||||
{
|
||||
@@ -85,13 +85,15 @@ inline void* Em3CalorHit::operator new(size_t)
|
||||
return aHit;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
inline void Em3CalorHit::operator delete(void* aHit)
|
||||
{
|
||||
Em3CalorHitAllocator.FreeSingle((Em3CalorHit*) aHit);
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Em3CalorimeterSD.hh,v 1.2.4.1 2001/06/28 19:06:56 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: Em3CalorimeterSD.hh,v 1.4 2001/10/22 10:58:47 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Em3CalorimeterSD_h
|
||||
#define Em3CalorimeterSD_h 1
|
||||
@@ -40,7 +40,7 @@ class G4HCofThisEvent;
|
||||
class G4Step;
|
||||
#include "Em3CalorHit.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class Em3CalorimeterSD : public G4VSensitiveDetector
|
||||
{
|
||||
@@ -63,5 +63,7 @@ class Em3CalorimeterSD : public G4VSensitiveDetector
|
||||
G4int* HitID;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Em3DetectorConstruction.hh,v 1.3.2.1 2001/06/28 19:06:56 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: Em3DetectorConstruction.hh,v 1.5 2001/10/22 10:58:47 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Em3DetectorConstruction_h
|
||||
#define Em3DetectorConstruction_h 1
|
||||
@@ -47,7 +47,7 @@ class Em3CalorimeterSD;
|
||||
|
||||
const G4int MaxAbsor = 10;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class Em3DetectorConstruction : public G4VUserDetectorConstruction
|
||||
{
|
||||
@@ -88,7 +88,7 @@ class Em3DetectorConstruction : public G4VUserDetectorConstruction
|
||||
G4Material* GetAbsorMaterial(G4int i) {return AbsorMaterial[i];};
|
||||
G4double GetAbsorThickness(G4int i) {return AbsorThickness[i];};
|
||||
|
||||
const G4VPhysicalVolume* GetphysiWorld() {return physiWorld;};
|
||||
const G4VPhysicalVolume* GetphysiWorld() {return physiWorld;};
|
||||
const G4VPhysicalVolume* GetAbsorber(G4int i) {return physiAbsor[i];};
|
||||
|
||||
private:
|
||||
@@ -119,12 +119,12 @@ class Em3DetectorConstruction : public G4VUserDetectorConstruction
|
||||
G4LogicalVolume* logicLayer; //pointer to the logical Layer
|
||||
G4VPhysicalVolume* physiLayer; //pointer to the physical Layer
|
||||
|
||||
G4Box* solidAbsor[MaxAbsor]; //pointer to the solid Absorbers
|
||||
G4LogicalVolume* logicAbsor[MaxAbsor]; //pointer to the logical Absorbers
|
||||
G4VPhysicalVolume* physiAbsor[MaxAbsor]; //pointer to the physical Absorbers
|
||||
G4Box* solidAbsor[MaxAbsor]; //pointer to solid Absorbers
|
||||
G4LogicalVolume* logicAbsor[MaxAbsor]; //pointer to logical Absorbers
|
||||
G4VPhysicalVolume* physiAbsor[MaxAbsor]; //pointer to physical Absorbers
|
||||
|
||||
G4UniformMagField* magField; //pointer to the magnetic field
|
||||
G4UserLimits* userLimits; //pointer to the userLimits class
|
||||
G4UserLimits* userLimits; //pointer to the userLimits class
|
||||
|
||||
Em3DetectorMessenger* detectorMessenger; //pointer to the Messenger
|
||||
Em3CalorimeterSD* calorimeterSD; //pointer to the sensitive detector
|
||||
@@ -136,7 +136,7 @@ class Em3DetectorConstruction : public G4VUserDetectorConstruction
|
||||
G4VPhysicalVolume* ConstructCalorimeter();
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
inline void Em3DetectorConstruction::ComputeCalorParameters()
|
||||
{
|
||||
@@ -149,5 +149,7 @@ inline void Em3DetectorConstruction::ComputeCalorParameters()
|
||||
WorldSizeX = 1.2*CalorThickness; WorldSizeYZ = 1.2*CalorSizeYZ;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Em3DetectorMessenger.hh,v 1.3.2.1 2001/06/28 19:06:56 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: Em3DetectorMessenger.hh,v 1.5 2001/10/22 10:58:48 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Em3DetectorMessenger_h
|
||||
#define Em3DetectorMessenger_h 1
|
||||
@@ -42,7 +42,7 @@ class G4UIcmdWithAnInteger;
|
||||
class G4UIcmdWithADoubleAndUnit;
|
||||
class G4UIcmdWithoutParameter;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class Em3DetectorMessenger: public G4UImessenger
|
||||
{
|
||||
@@ -66,5 +66,7 @@ class Em3DetectorMessenger: public G4UImessenger
|
||||
G4UIcmdWithoutParameter* UpdateCmd;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Em3EventAction.hh,v 1.3.2.1 2001/06/28 19:06:56 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: Em3EventAction.hh,v 1.5 2001/10/22 10:58:48 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Em3EventAction_h
|
||||
#define Em3EventAction_h 1
|
||||
@@ -40,7 +40,7 @@ class Em3PrimaryGeneratorAction;
|
||||
class Em3DetectorConstruction;
|
||||
class Em3EventActionMessenger;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class Em3EventAction : public G4UserEventAction
|
||||
{
|
||||
@@ -67,6 +67,8 @@ class Em3EventAction : public G4UserEventAction
|
||||
Em3EventActionMessenger* eventMessenger;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Em3EventActionMessenger.hh,v 1.2.4.1 2001/06/28 19:06:56 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: Em3EventActionMessenger.hh,v 1.4 2001/10/22 10:58:48 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Em3EventActionMessenger_h
|
||||
#define Em3EventActionMessenger_h 1
|
||||
@@ -39,7 +39,7 @@ class Em3EventAction;
|
||||
class G4UIcmdWithAString;
|
||||
class G4UIcmdWithAnInteger;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class Em3EventActionMessenger: public G4UImessenger
|
||||
{
|
||||
@@ -55,4 +55,6 @@ class Em3EventActionMessenger: public G4UImessenger
|
||||
G4UIcmdWithAnInteger* PrintCmd;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Em3PhysicsList.hh,v 1.3.4.1 2001/06/28 19:06:56 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: Em3PhysicsList.hh,v 1.5 2001/10/22 10:58:49 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Em3PhysicsList_h
|
||||
#define Em3PhysicsList_h 1
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
class Em3PhysicsListMessenger;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class Em3PhysicsList: public G4VUserPhysicsList
|
||||
{
|
||||
@@ -74,6 +74,8 @@ class Em3PhysicsList: public G4VUserPhysicsList
|
||||
Em3PhysicsListMessenger* pMessenger;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Em3PhysicsListMessenger.hh,v 1.1.4.1 2001/06/28 19:06:56 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: Em3PhysicsListMessenger.hh,v 1.3 2001/10/22 10:58:49 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Em3PhysicsListMessenger_h
|
||||
#define Em3PhysicsListMessenger_h 1
|
||||
@@ -38,7 +38,7 @@
|
||||
class Em3PhysicsList;
|
||||
class G4UIcmdWithADoubleAndUnit;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class Em3PhysicsListMessenger: public G4UImessenger
|
||||
{
|
||||
@@ -58,5 +58,7 @@ class Em3PhysicsListMessenger: public G4UImessenger
|
||||
G4UIcmdWithADoubleAndUnit* protoCutCmd;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Em3PrimaryGeneratorAction.hh,v 1.4.2.1 2001/06/28 19:06:56 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: Em3PrimaryGeneratorAction.hh,v 1.6 2001/10/22 10:58:50 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Em3PrimaryGeneratorAction_h
|
||||
#define Em3PrimaryGeneratorAction_h 1
|
||||
@@ -40,7 +40,7 @@ class G4Event;
|
||||
class Em3DetectorConstruction;
|
||||
class Em3PrimaryGeneratorMessenger;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class Em3PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
|
||||
{
|
||||
@@ -63,6 +63,8 @@ class Em3PrimaryGeneratorAction : public G4VUserPrimaryGeneratorAction
|
||||
Em3PrimaryGeneratorMessenger* gunMessenger;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Em3PrimaryGeneratorMessenger.hh,v 1.3.2.1 2001/06/28 19:06:57 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: Em3PrimaryGeneratorMessenger.hh,v 1.5 2001/10/22 10:58:50 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Em3PrimaryGeneratorMessenger_h
|
||||
#define Em3PrimaryGeneratorMessenger_h 1
|
||||
@@ -39,7 +39,7 @@ class Em3PrimaryGeneratorAction;
|
||||
class G4UIcmdWithoutParameter;
|
||||
class G4UIcmdWithADouble;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class Em3PrimaryGeneratorMessenger: public G4UImessenger
|
||||
{
|
||||
@@ -55,5 +55,7 @@ class Em3PrimaryGeneratorMessenger: public G4UImessenger
|
||||
G4UIcmdWithADouble* RndmCmd;
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Em3RunAction.hh,v 1.7.2.1 2001/06/28 19:06:57 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: Em3RunAction.hh,v 1.9 2001/11/28 17:54:46 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Em3RunAction_h
|
||||
#define Em3RunAction_h 1
|
||||
@@ -37,7 +37,7 @@
|
||||
#include "G4UserRunAction.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class G4Run;
|
||||
class Em3RunActionMessenger;
|
||||
@@ -59,9 +59,6 @@ class Em3RunAction : public G4UserRunAction
|
||||
|
||||
void fillPerEvent(G4int,G4double,G4double);
|
||||
|
||||
void SetRndmFreq(G4int val) {saveRndm = val;}
|
||||
G4int GetRndmFreq() {return saveRndm;}
|
||||
|
||||
#ifndef G4NOHIST
|
||||
HepHistogram* GetHisto(G4int id) {return histo[id];}
|
||||
#endif
|
||||
@@ -80,7 +77,6 @@ class Em3RunAction : public G4UserRunAction
|
||||
|
||||
Em3DetectorConstruction* Detector;
|
||||
Em3RunActionMessenger* runMessenger;
|
||||
G4int saveRndm;
|
||||
|
||||
#ifndef G4NOHIST
|
||||
HepTupleManager* hbookManager;
|
||||
@@ -88,7 +84,7 @@ class Em3RunAction : public G4UserRunAction
|
||||
#endif
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
inline
|
||||
void Em3RunAction::fillPerEvent(G4int kAbs, G4double EAbs, G4double LAbs)
|
||||
@@ -99,7 +95,7 @@ void Em3RunAction::fillPerEvent(G4int kAbs, G4double EAbs, G4double LAbs)
|
||||
sumLAbs[kAbs] += LAbs; sum2LAbs[kAbs] += LAbs*LAbs;
|
||||
}
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Em3RunActionMessenger.hh,v 1.4.2.1 2001/06/28 19:06:57 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: Em3RunActionMessenger.hh,v 1.7 2001/11/28 17:54:46 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Em3RunActionMessenger_h
|
||||
#define Em3RunActionMessenger_h 1
|
||||
@@ -36,13 +36,9 @@
|
||||
#include "G4UImessenger.hh"
|
||||
|
||||
class Em3RunAction;
|
||||
class G4UIdirectory;
|
||||
class G4UIcommand;
|
||||
class G4UIcmdWithAString;
|
||||
class G4UIcmdWithAnInteger;
|
||||
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class Em3RunActionMessenger: public G4UImessenger
|
||||
{
|
||||
@@ -53,13 +49,11 @@ class Em3RunActionMessenger: public G4UImessenger
|
||||
void SetNewValue(G4UIcommand*, G4String);
|
||||
|
||||
private:
|
||||
Em3RunAction* Em3Run;
|
||||
G4UIdirectory* RndmDir;
|
||||
G4UIcmdWithAnInteger* RndmSaveCmd;
|
||||
G4UIcmdWithAString* RndmReadCmd;
|
||||
|
||||
G4UIcommand* HistoCmd;
|
||||
Em3RunAction* Em3Run;
|
||||
G4UIcommand* HistoCmd;
|
||||
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Em3SteppingAction.hh,v 1.3.2.1 2001/06/28 19:06:57 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: Em3SteppingAction.hh,v 1.5 2001/10/22 10:58:51 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Em3SteppingAction_h
|
||||
#define Em3SteppingAction_h 1
|
||||
@@ -35,7 +35,7 @@
|
||||
#include "G4UserSteppingAction.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class Em3SteppingAction : public G4UserSteppingAction
|
||||
{
|
||||
@@ -48,4 +48,6 @@ class Em3SteppingAction : public G4UserSteppingAction
|
||||
G4double BirkAttenuation(const G4Step*);
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,33 +21,34 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Em3SteppingVerbose.hh,v 1.5.2.1 2001/06/28 19:06:57 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: Em3SteppingVerbose.hh,v 1.7 2001/10/22 10:58:52 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
// This class manages the verbose outputs in G4SteppingManager.
|
||||
// It inherits from G4SteppingVerbose.
|
||||
// It shows how to extract informations during the tracking of a particle.
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Em3SteppingVerbose_h
|
||||
#define Em3SteppingVerbose_h 1
|
||||
|
||||
#include "G4SteppingVerbose.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo.....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class Em3SteppingVerbose : public G4SteppingVerbose {
|
||||
class Em3SteppingVerbose : public G4SteppingVerbose
|
||||
{
|
||||
public:
|
||||
|
||||
public:
|
||||
|
||||
Em3SteppingVerbose();
|
||||
~Em3SteppingVerbose();
|
||||
|
||||
void StepInfo();
|
||||
void TrackingStarted();
|
||||
Em3SteppingVerbose();
|
||||
~Em3SteppingVerbose();
|
||||
|
||||
void StepInfo();
|
||||
void TrackingStarted();
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
@@ -21,13 +21,13 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: Em3VisManager.hh,v 1.2.4.1 2001/06/28 19:06:57 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
// $Id: Em3VisManager.hh,v 1.4 2001/10/22 10:58:53 maire Exp $
|
||||
// GEANT4 tag $Name: geant4-04-00 $
|
||||
//
|
||||
//
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
// Example Visualization Manager implementing virtual function
|
||||
// RegisterGraphicsSystems. Exploits C-pre-processor variables
|
||||
@@ -42,14 +42,14 @@
|
||||
// G4VisManager* myVisManager = new MyVisManager;
|
||||
// myVisManager -> RegisterGraphicsSystem (new MyGraphicsSystem);
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef Em3VisManager_h
|
||||
#define Em3VisManager_h 1
|
||||
|
||||
#include "G4VisManager.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class Em3VisManager: public G4VisManager {
|
||||
|
||||
@@ -63,4 +63,6 @@ private:
|
||||
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user