Import Geant4 9.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 15:16:48 +02:00
parent 75c7fd177d
commit a8e9364cea
6592 changed files with 84274 additions and 69292 deletions
@@ -25,7 +25,7 @@
//
//
// $Id: G4CellScoreComposer.cc,v 1.3 2006/06/29 18:05:41 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -1,90 +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: G4CellStoreScorer.cc,v 1.2 2006/06/29 18:05:43 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
//
// G4CellStoreScorer
//
// ----------------------------------------------------------------------
#include "G4CellStoreScorer.hh"
#include "G4VCellScorer.hh"
#include "G4Track.hh"
#include "G4GeometryCell.hh"
#include "G4Step.hh"
#include "G4GeometryCellStep.hh"
#include "G4VCellScorerStore.hh"
G4CellStoreScorer::G4CellStoreScorer(G4VCellScorerStore &csc) :
fCellScorerStore(csc)
{}
G4CellStoreScorer::~G4CellStoreScorer()
{}
void G4CellStoreScorer::
Score(const G4Step &aStep, const G4GeometryCellStep &aPstep){
G4Track *track = 0;
track = aStep.GetTrack();
if (track->GetTrackStatus()==fStopAndKill) {
G4cout << "G4CellStoreScorer::Score: track status is StopAndKill -> do nothing" << G4endl;
}
else {
// chose the cells to be scored
G4GeometryCell pre_gCell(aPstep.GetPreGeometryCell());
G4GeometryCell post_gCell(aPstep.GetPostGeometryCell());
G4VCellScorer *post_cs = 0;
post_cs = fCellScorerStore.GetCellScore(post_gCell);
if (aPstep.GetCrossBoundary()) {
// entering post_gCell
if (post_cs) {
post_cs->ScoreAnEnteringStep(aStep, post_gCell);
}
// exiting pre_gCell
G4VCellScorer *pre_cs = 0;
pre_cs = fCellScorerStore.GetCellScore(pre_gCell);
if (pre_cs) {
pre_cs->ScoreAnExitingStep(aStep, pre_gCell);
}
}
else {
// step in post_gCell
if (post_cs) {
post_cs->ScoreAnInVolumeStep(aStep, post_gCell);
}
}
}
}
+1 -1
View File
@@ -25,7 +25,7 @@
//
//
// $Id: G4HCtable.cc,v 1.4 2006/06/29 18:05:45 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
#include "G4HCtable.hh"
@@ -25,7 +25,7 @@
//
//
// $Id: G4MultiFunctionalDetector.cc,v 1.4 2006/06/29 18:05:47 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
// G4MultiFunctionalDetector
#include "G4MultiFunctionalDetector.hh"
@@ -25,7 +25,7 @@
//
//
// $Id: G4SDManager.cc,v 1.4 2006/06/29 18:05:50 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
#include "G4SDManager.hh"
@@ -25,7 +25,7 @@
//
//
// $Id: G4SDStructure.cc,v 1.3 2006/06/29 18:05:53 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
// G4SDStructure
@@ -25,7 +25,7 @@
//
//
// $Id: G4SDmessenger.cc,v 1.2 2006/06/29 18:05:56 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
// ---------------------------------------------------------------------
@@ -25,7 +25,7 @@
//
//
// $Id: G4SensitiveVolumeList.cc,v 1.2 2006/06/29 18:05:59 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
// --------------------------------------------------------------
// GEANT 4 class implementation file
@@ -25,7 +25,7 @@
//
//
// $Id: G4TrackLogger.cc,v 1.3 2006/06/29 18:06:01 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
// ----------------------------------------------------------------------
// GEANT 4 class source file
@@ -25,7 +25,7 @@
//
//
// $Id: G4VPrimitiveScorer.cc,v 1.2 2006/06/29 18:06:03 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
// G4VPrimitiveScorer
#include "G4VPrimitiveScorer.hh"
@@ -25,7 +25,7 @@
//
//
// $Id: G4VReadOutGeometry.cc,v 1.2 2006/06/29 18:06:05 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
#include "G4VReadOutGeometry.hh"
@@ -25,7 +25,7 @@
//
//
// $Id: G4VSDFilter.cc,v 1.2 2006/06/29 18:06:08 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
// G4VSensitiveDetector
#include "G4VSDFilter.hh"
@@ -25,7 +25,7 @@
//
//
// $Id: G4VSensitiveDetector.cc,v 1.3 2006/06/29 18:06:11 gunter Exp $
// GEANT4 tag $Name: geant4-08-02 $
// GEANT4 tag $Name: geant4-09-00 $
//
// G4VSensitiveDetector
#include "G4VSensitiveDetector.hh"