Import Geant4 3.2.0 source tree
This commit is contained in:
@@ -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: ExN05PionShowerModel.cc,v 1.3 2000/08/03 09:09:40 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-03-01 $
|
||||
//
|
||||
// $Id: ExN05PionShowerModel.cc,v 1.4.2.1 2001/06/28 19:07:43 gunter Exp $
|
||||
// GEANT4 tag $Name: $
|
||||
//
|
||||
#include "ExN05PionShowerModel.hh"
|
||||
#include "ExN05EnergySpot.hh"
|
||||
@@ -122,7 +138,7 @@ void ExN05PionShowerModel::Explode(const G4FastTrack& fastTrack)
|
||||
z*zShower +
|
||||
r*cos(phi)*xShower + r*sin(phi)*yShower;
|
||||
eSpot.SetPosition(ePoint);
|
||||
feSpotList.insert(eSpot);
|
||||
feSpotList.push_back(eSpot);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -130,7 +146,7 @@ void ExN05PionShowerModel::Explode(const G4FastTrack& fastTrack)
|
||||
void ExN05PionShowerModel::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:
|
||||
G4Colour red(1.,0.,0.);
|
||||
@@ -203,9 +219,3 @@ void ExN05PionShowerModel::FillFakeStep(const ExN05EnergySpot &eSpot)
|
||||
// set total energy deposit:
|
||||
fFakeStep->SetTotalEnergyDeposit(eSpot.GetEnergy());
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user