Import Geant4 9.5.0 source tree

This commit is contained in:
Gabriele Cosmo
2016-06-09 16:46:55 +02:00
parent 89a9605df1
commit b1eb5424d2
10957 changed files with 888481 additions and 160139 deletions
+2 -10
View File
@@ -27,9 +27,6 @@
//
// ====================================================================
#ifndef WIN32
#ifdef G4LIB_USE_HEPMC
#include "G4ios.hh"
#include "G4MCTEvent.hh"
#include "G4MCTGenEvent.hh"
@@ -82,13 +79,13 @@ G4MCTGenParticle G4MCTEvent::GetGenParticle
if(pos != sim2genParticleMap.end()) {
return pos-> second;
} else {
return G4MCTGenParticle(0,0);
return G4MCTGenParticle((void*)0,(void*)0);
}
}
////////////////////////////////////////////////////////
int G4MCTEvent::AddPrimaryPair(const G4MCTGenParticle& genp,
const G4MCTSimParticle* simp)
const G4MCTSimParticle* simp)
////////////////////////////////////////////////////////
{
gen2simParticleMap.insert(std::make_pair(const_cast<G4MCTGenParticle&>(genp),
@@ -110,15 +107,10 @@ void G4MCTEvent::ClearEvent()
simEvent-> ClearEvent();
}
//////////////////////////////////////////////
void G4MCTEvent::Print(std::ostream& ostr) const
//////////////////////////////////////////////
{
ostr << "Event#:" << eventNumber << G4endl;
genEvent-> Print(ostr);
simEvent-> Print(ostr);
}
#endif
#endif