Import Geant4 1.0.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-08 15:28:20 +02:00
parent aaa409b6ee
commit ca1c8cb059
2995 changed files with 106830 additions and 299600 deletions
@@ -0,0 +1,32 @@
// 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: G4PDCofThisEvent.cc,v 1.3 1999/12/02 16:10:20 morita Exp $
// GEANT4 tag $Name: geant4-01-00 $
//
#include "G4PDCofThisEvent.hh"
G4PDCofThisEvent::G4PDCofThisEvent()
{
DC.resize(10);
}
G4PDCofThisEvent::~G4PDCofThisEvent()
{;}
void G4PDCofThisEvent::AddDigitsCollection(G4int DCID,
HepRef(G4PVDigitsCollection) aDC)
{
if(DCID>=0)
{
if(DCID>=DC.size()) DC.resize(DCID+1);
DC[DCID] = aDC;
}
}