Import Geant4 9.5.0 source tree
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user