Import Geant4 9.2.0 source tree
This commit is contained in:
@@ -24,8 +24,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: DetectorConstruction.hh,v 1.5 2006/06/29 17:00:56 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// $Id: DetectorConstruction.hh,v 1.7 2008/04/07 18:09:05 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
@@ -56,6 +56,7 @@ class G4LogicalVolume;
|
||||
class G4UniformMagField;
|
||||
class DetectorMessenger;
|
||||
class G4Region;
|
||||
class G4ProductionCuts;
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -64,24 +65,24 @@ class DetectorConstruction : public G4VUserDetectorConstruction
|
||||
public:
|
||||
|
||||
DetectorConstruction();
|
||||
~DetectorConstruction();
|
||||
virtual ~DetectorConstruction();
|
||||
|
||||
public:
|
||||
|
||||
void SetEcalMaterial(const G4String&);
|
||||
void SetAbsMaterial(const G4String&);
|
||||
void SetEcalLength (G4double val) {ecalLength = val;};
|
||||
void SetEcalWidth (G4double val) {ecalWidth = val;};
|
||||
void SetVertexLength (G4double val) {vertexLength = val;};
|
||||
void SetPadLength (G4double val) {padLength = val;};
|
||||
void SetPadWidth (G4double val) {padWidth = val;};
|
||||
void SetAbsLength(G4double val) {absLength = val;};
|
||||
void SetEcalLength(G4double val);
|
||||
void SetEcalWidth(G4double val);
|
||||
void SetVertexLength(G4double val);
|
||||
void SetPadLength(G4double val);
|
||||
void SetPadWidth(G4double val);
|
||||
void SetAbsLength(G4double val);
|
||||
|
||||
G4VPhysicalVolume* Construct();
|
||||
|
||||
void UpdateGeometry();
|
||||
|
||||
G4double GetWorldSizeZ() {return worldZ;}
|
||||
G4double GetWorldSizeZ() {return worldZ;}
|
||||
|
||||
private:
|
||||
|
||||
@@ -105,14 +106,23 @@ private:
|
||||
G4Material* worldMaterial;
|
||||
G4Material* yorkMaterial;
|
||||
|
||||
G4LogicalVolume* logicC;
|
||||
G4LogicalVolume* logicWorld;
|
||||
G4LogicalVolume* logicECal;
|
||||
G4LogicalVolume* logicCal;
|
||||
G4LogicalVolume* logicA1;
|
||||
G4LogicalVolume* logicA2;
|
||||
G4LogicalVolume* logicA3;
|
||||
G4LogicalVolume* logicA4;
|
||||
G4LogicalVolume* logicYV;
|
||||
G4LogicalVolume* logicY;
|
||||
G4LogicalVolume* logicVV;
|
||||
G4LogicalVolume* logicVD;
|
||||
G4LogicalVolume* logicV;
|
||||
|
||||
G4Region* vertexRegion;
|
||||
G4Region* muonRegion;
|
||||
G4ProductionCuts* vertexDetectorCuts;
|
||||
G4ProductionCuts* muonDetectorCuts;
|
||||
|
||||
DetectorMessenger* detectorMessenger; //pointer to the Messenger
|
||||
};
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: DetectorMessenger.hh,v 1.4 2006/06/29 17:00:58 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: EmAcceptance.hh,v 1.2 2006/06/29 17:01:00 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
#define EventAction_h 1
|
||||
|
||||
// $Id: EventAction.hh,v 1.3 2006/06/29 17:01:02 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: EventActionMessenger.hh,v 1.3 2006/06/29 17:01:04 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: Histo.hh,v 1.5 2007/05/24 13:17:41 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
|
||||
#ifndef Histo_h
|
||||
#define Histo_h 1
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: HistoManager.hh,v 1.8 2007/04/24 14:20:04 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// $Id: HistoManager.hh,v 1.11 2008/09/24 10:38:46 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
|
||||
#ifndef HistoManager_h
|
||||
#define HistoManager_h 1
|
||||
@@ -109,7 +109,7 @@ public: // Without description
|
||||
G4double GetMaxEnergy() const {return maxEnergy;};
|
||||
void SetThresholdEnergy(G4double val) {thKinE = val;};
|
||||
void SetThresholdZ(G4double val) {thPosZ = val;};
|
||||
void AddStep() {n_step++;};
|
||||
void AddStep() {n_step += 1.0;};
|
||||
|
||||
// Acceptance parameters
|
||||
void SetEdepAndRMS(G4int, G4ThreeVector);
|
||||
@@ -132,15 +132,16 @@ private:
|
||||
G4double thPosZ;
|
||||
|
||||
G4double trackLength;
|
||||
G4double n_step;
|
||||
G4double n_step_target;
|
||||
G4bool trackAbs; // Track is in absorber
|
||||
G4int n_evt;
|
||||
G4int n_elec;
|
||||
G4int n_posit;
|
||||
G4int n_gam;
|
||||
G4int n_step;
|
||||
G4int n_gamph;
|
||||
G4int n_gam_tar;
|
||||
G4int n_step_target;
|
||||
G4int n_lowe;
|
||||
G4int nBinsE, nBinsEA, nBinsED;
|
||||
G4bool nTuple;
|
||||
|
||||
@@ -152,11 +153,11 @@ private:
|
||||
G4double edeptrue[3];
|
||||
G4double rmstrue[3];
|
||||
G4double limittrue[3];
|
||||
G4double edep[3];
|
||||
G4double erms[3];
|
||||
G4double edeptr[3];
|
||||
G4double ermstr[3];
|
||||
G4int stat[3];
|
||||
G4double edep[6];
|
||||
G4double erms[6];
|
||||
G4double edeptr[6];
|
||||
G4double ermstr[6];
|
||||
G4int stat[6];
|
||||
G4int nmax;
|
||||
|
||||
Histo* histo;
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
//
|
||||
// $Id: HistoMessenger.hh,v 1.3 2006/06/29 17:01:11 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: PhysListEmLivermore.hh,v 1.1 2006/11/17 17:45:57 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: PhysListEmPenelope.hh,v 1.1 2006/11/17 17:45:57 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: PhysListEmStandard.hh,v 1.3 2006/06/29 17:02:17 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -1,66 +0,0 @@
|
||||
//
|
||||
// ********************************************************************
|
||||
// * License and Disclaimer *
|
||||
// * *
|
||||
// * The Geant4 software is copyright of the Copyright Holders of *
|
||||
// * the Geant4 Collaboration. It is provided under the terms and *
|
||||
// * conditions of the Geant4 Software License, included in the file *
|
||||
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
||||
// * include a list of copyright holders. *
|
||||
// * *
|
||||
// * Neither the authors of this software system, nor their employing *
|
||||
// * institutes,nor the agencies providing financial support for this *
|
||||
// * work make any representation or warranty, express or implied, *
|
||||
// * regarding this software system or assume any liability for its *
|
||||
// * use. Please see the license in the file LICENSE and URL above *
|
||||
// * for the full disclaimer and the limitation of liability. *
|
||||
// * *
|
||||
// * This code implementation is the result of the scientific and *
|
||||
// * technical work of the GEANT4 collaboration. *
|
||||
// * By using, copying, modifying or distributing the software (or *
|
||||
// * any work based on the software) you agree to acknowledge its *
|
||||
// * use in resulting scientific publications, and indicate your *
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: PhysListEmStandardIG.hh,v 1.1 2007/11/13 14:44:26 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#ifndef PhysListEmStandardIG_h
|
||||
#define PhysListEmStandardIG_h 1
|
||||
|
||||
#include "G4VPhysicsConstructor.hh"
|
||||
#include "globals.hh"
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
class PhysListEmStandardIG : public G4VPhysicsConstructor
|
||||
{
|
||||
public:
|
||||
PhysListEmStandardIG(const G4String& name = "standardIG");
|
||||
virtual ~PhysListEmStandardIG();
|
||||
|
||||
public:
|
||||
// This method is dummy for physics
|
||||
void ConstructParticle() {};
|
||||
|
||||
// This method will be invoked in the Construct() method.
|
||||
// each physics process will be instantiated and
|
||||
// registered to the process manager of each particle type
|
||||
void ConstructProcess();
|
||||
};
|
||||
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
// * acceptance of all terms of the Geant4 Software license. *
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: PhysicsList.hh,v 1.5 2006/11/17 17:03:26 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// $Id: PhysicsList.hh,v 1.7 2008/04/07 18:09:05 vnivanch Exp $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//
|
||||
@@ -60,7 +60,7 @@ class PhysicsList: public G4VModularPhysicsList
|
||||
{
|
||||
public:
|
||||
PhysicsList();
|
||||
~PhysicsList();
|
||||
virtual ~PhysicsList();
|
||||
|
||||
void ConstructParticle();
|
||||
|
||||
@@ -68,7 +68,6 @@ public:
|
||||
void SetCutForGamma(G4double);
|
||||
void SetCutForElectron(G4double);
|
||||
void SetCutForPositron(G4double);
|
||||
void SetMscStepLimit(G4bool val);
|
||||
|
||||
void AddPhysicsList(const G4String& name);
|
||||
void ConstructProcess();
|
||||
@@ -88,6 +87,8 @@ private:
|
||||
G4double cutForGamma;
|
||||
G4double cutForElectron;
|
||||
G4double cutForPositron;
|
||||
G4double cutForVertexDetector;
|
||||
G4double cutForMuonDetector;
|
||||
|
||||
G4VPhysicsConstructor* emPhysicsList;
|
||||
G4VPhysicsConstructor* generalPhysicsList;
|
||||
@@ -101,7 +102,6 @@ private:
|
||||
G4ProductionCuts* vertexDetectorCuts;
|
||||
G4ProductionCuts* muonDetectorCuts;
|
||||
|
||||
G4bool mscStepLimit;
|
||||
G4bool helIsRegisted;
|
||||
G4bool bicIsRegisted;
|
||||
G4bool gnucIsRegisted;
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: PhysicsListMessenger.hh,v 1.4 2006/06/29 17:02:32 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: PrimaryGeneratorAction.hh,v 1.3 2006/06/29 17:02:35 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: StepMax.hh,v 1.3 2006/06/29 17:02:40 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -24,7 +24,7 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
// $Id: StepMaxMessenger.hh,v 1.3 2006/06/29 17:02:42 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
//....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
||||
|
||||
@@ -25,7 +25,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: SteppingAction.hh,v 1.3 2006/06/29 17:02:44 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-09-01 $
|
||||
// GEANT4 tag $Name: geant4-09-02 $
|
||||
//
|
||||
//
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in New Issue
Block a user