Import Geant4 5.2.0 source tree
This commit is contained in:
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: ExN07CalorHit.cc,v 1.1 2003/03/10 01:43:36 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: ExN07CalorHit.cc,v 1.2 2003/05/21 22:01:17 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "ExN07CalorHit.hh"
|
||||
@@ -36,7 +36,7 @@ ExN07CalorHit::ExN07CalorHit()
|
||||
ExN07CalorHit::~ExN07CalorHit()
|
||||
{;}
|
||||
|
||||
ExN07CalorHit::ExN07CalorHit(const ExN07CalorHit& right)
|
||||
ExN07CalorHit::ExN07CalorHit(const ExN07CalorHit& right):G4VHit()
|
||||
{
|
||||
Edep = right.Edep;
|
||||
TrackLength = right.TrackLength;
|
||||
@@ -53,7 +53,7 @@ const ExN07CalorHit& ExN07CalorHit::operator=(const ExN07CalorHit& right)
|
||||
|
||||
int ExN07CalorHit::operator==(const ExN07CalorHit& right) const
|
||||
{
|
||||
return 0;
|
||||
return (this==&right);
|
||||
}
|
||||
|
||||
void ExN07CalorHit::Draw()
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: ExN07CalorimeterSD.cc,v 1.1 2003/03/10 01:43:36 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: ExN07CalorimeterSD.cc,v 1.2 2003/05/21 22:01:17 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "ExN07CalorimeterSD.hh"
|
||||
@@ -69,7 +69,7 @@ void ExN07CalorimeterSD::Initialize(G4HCofThisEvent*HCE)
|
||||
HCE->AddHitsCollection(GapCollID,GapCollection);
|
||||
}
|
||||
|
||||
G4bool ExN07CalorimeterSD::ProcessHits(G4Step* aStep,G4TouchableHistory* ROhist)
|
||||
G4bool ExN07CalorimeterSD::ProcessHits(G4Step* aStep,G4TouchableHistory*)
|
||||
{
|
||||
G4double edep = aStep->GetTotalEnergyDeposit();
|
||||
|
||||
@@ -100,7 +100,7 @@ G4bool ExN07CalorimeterSD::ProcessHits(G4Step* aStep,G4TouchableHistory* ROhist)
|
||||
return true;
|
||||
}
|
||||
|
||||
void ExN07CalorimeterSD::EndOfEvent(G4HCofThisEvent* HCE)
|
||||
void ExN07CalorimeterSD::EndOfEvent(G4HCofThisEvent*)
|
||||
{;}
|
||||
|
||||
void ExN07CalorimeterSD::clear()
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: ExN07DetectorConstruction.cc,v 1.3 2003/04/08 15:47:00 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: ExN07DetectorMessenger.cc,v 1.2 2003/04/08 15:47:00 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "ExN07DetectorMessenger.hh"
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: ExN07EventAction.cc,v 1.3 2003/04/08 15:47:01 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: ExN07EventAction.cc,v 1.5 2003/06/16 16:50:07 gunter Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "ExN07EventAction.hh"
|
||||
@@ -53,7 +53,7 @@ ExN07EventAction::ExN07EventAction()
|
||||
ExN07EventAction::~ExN07EventAction()
|
||||
{;}
|
||||
|
||||
void ExN07EventAction::BeginOfEventAction(const G4Event* evt)
|
||||
void ExN07EventAction::BeginOfEventAction(const G4Event*)
|
||||
{
|
||||
for(size_t i=0;i<6;i++)
|
||||
{
|
||||
@@ -125,7 +125,7 @@ void ExN07EventAction::EndOfEventAction(const G4Event* evt)
|
||||
G4cout << "Calor-C : SensitiveGap" << G4endl; break;
|
||||
}
|
||||
G4cout
|
||||
<< " total energy deposition : " << G4std::setw(7)
|
||||
<< " total energy deposition : " << std::setw(7)
|
||||
<< G4BestUnit(totE,"Energy") << G4endl;
|
||||
G4cout
|
||||
<< " number of particles generated :" << G4endl
|
||||
@@ -133,13 +133,13 @@ void ExN07EventAction::EndOfEventAction(const G4Event* evt)
|
||||
<< " e- " << ExN07StackingAction::GetNElectron(i)
|
||||
<< " e+ " << ExN07StackingAction::GetNPositron(i) << G4endl;
|
||||
G4cout
|
||||
<< " minimum kinetic energy of generated secondaries :" << G4endl << G4std::setw(7)
|
||||
<< " minimum kinetic energy of generated secondaries :" << G4endl << std::setw(7)
|
||||
<< " gamma " << G4BestUnit(ExN07StackingAction::GetEMinGamma(i),"Energy")
|
||||
<< " e- " << G4BestUnit(ExN07StackingAction::GetEMinElectron(i),"Energy")
|
||||
<< " e+ " << G4BestUnit(ExN07StackingAction::GetEMinPositron(i),"Energy")
|
||||
<< G4endl;
|
||||
G4cout
|
||||
<< " total track length of e+/e- : " << G4std::setw(7)
|
||||
<< " total track length of e+/e- : " << std::setw(7)
|
||||
<< G4BestUnit(totL,"Length") << G4endl;
|
||||
G4cout
|
||||
<< " number of steps of e+/e- : " << nStep
|
||||
|
||||
@@ -21,8 +21,8 @@
|
||||
// ********************************************************************
|
||||
//
|
||||
//
|
||||
// $Id: ExN07GapParameterisation.cc,v 1.1 2003/03/10 01:43:36 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// $Id: ExN07GapParameterisation.cc,v 1.2 2003/05/28 11:24:35 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "ExN07GapParameterisation.hh"
|
||||
@@ -52,8 +52,9 @@ void ExN07GapParameterisation::ComputeTransformation
|
||||
{ physVol->SetName("Gap"); }
|
||||
}
|
||||
|
||||
G4Material* ExN07GapParameterisation::ComputeMaterial
|
||||
(const G4int copyNo,G4VPhysicalVolume* physVol)
|
||||
G4Material*
|
||||
ExN07GapParameterisation::
|
||||
ComputeMaterial (const G4int copyNo, G4VPhysicalVolume*)
|
||||
{
|
||||
if(copyNo%2==0) { return absMaterial; }
|
||||
return gapMaterial;
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: ExN07PhysicsList.cc,v 1.2 2003/04/09 23:20:59 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "ExN07PhysicsList.hh"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: ExN07PrimaryGeneratorAction.cc,v 1.1 2003/03/10 01:43:36 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "ExN07PrimaryGeneratorAction.hh"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: ExN07Run.cc,v 1.3 2003/04/09 23:20:59 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "ExN07Run.hh"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: ExN07RunAction.cc,v 1.3 2003/04/09 23:20:59 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#include "ExN07RunAction.hh"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
//
|
||||
//
|
||||
// $Id: ExN07VisManager.cc,v 1.1 2003/03/10 01:43:37 asaim Exp $
|
||||
// GEANT4 tag $Name: geant4-05-01 $
|
||||
// GEANT4 tag $Name: geant4-05-02 $
|
||||
//
|
||||
|
||||
#ifdef G4VIS_USE
|
||||
|
||||
Reference in New Issue
Block a user