Import Geant4 3.2.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 16:10:37 +02:00
parent 137e303ecc
commit 36c080dca6
3464 changed files with 119310 additions and 52696 deletions
+25 -15
View File
@@ -1,12 +1,28 @@
// This code implementation is the intellectual property of
// the GEANT4 collaboration.
//
// By copying, distributing or modifying the Program (or any work
// based on the Program) you indicate your acceptance of this statement,
// and all its terms.
// ********************************************************************
// * DISCLAIMER *
// * *
// * The following disclaimer summarizes all the specific disclaimers *
// * of contributors to this software. The specific disclaimers,which *
// * govern, are listed with their locations in: *
// * http://cern.ch/geant4/license *
// * *
// * 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. *
// * *
// * This code implementation is the intellectual property of the *
// * GEANT4 collaboration. *
// * By copying, distributing or modifying the Program (or any work *
// * based on the Program) you indicate your acceptance of this *
// * statement, and all its terms. *
// ********************************************************************
//
// $Id: ExN05EMShowerModel.cc,v 1.2 1999/12/15 14:49:30 gunter Exp $
// GEANT4 tag $Name: geant4-03-01 $
//
// $Id: ExN05EMShowerModel.cc,v 1.3.2.1 2001/06/28 19:07:42 gunter Exp $
// GEANT4 tag $Name: $
//
#include "ExN05EMShowerModel.hh"
#include "ExN05EnergySpot.hh"
@@ -149,7 +165,7 @@ void ExN05EMShowerModel::Explode(const G4FastTrack& fastTrack)
eSpot.SetPosition(ePoint);
// Records the eSpot:
feSpotList.insert(eSpot);
feSpotList.push_back(eSpot);
}
}
@@ -157,7 +173,7 @@ void ExN05EMShowerModel::Explode(const G4FastTrack& fastTrack)
void ExN05EMShowerModel::BuildDetectorResponse()
{
// Does the assignation of the energy spots to the sensitive volumes:
for (int i = 0; i < feSpotList.entries(); i++)
for (int i = 0; i < feSpotList.size(); i++)
{
// Draw the energy spot:
feSpotList[i].Draw();
@@ -229,9 +245,3 @@ void ExN05EMShowerModel::FillFakeStep(const ExN05EnergySpot &eSpot)
// set total energy deposit:
fFakeStep->SetTotalEnergyDeposit(eSpot.GetEnergy());
}