#include <G4DhPrimaryParticleInformation.h>
Collaboration diagram for G4DhPrimaryParticleInformation:
Public Member Functions | |
G4DhPrimaryParticleInformation (const HepMC::GenEvent *hepEvent=0, const HepMC::GenVertex *hepVertex=0, const HepMC::GenParticle *=0) | |
virtual | ~G4DhPrimaryParticleInformation () |
virtual const HepMC::GenEvent * | GetHepEvent () const |
virtual const HepMC::GenVertex * | GetHepVertex () const |
virtual const HepMC::GenParticle * | GetHepParticle () const |
virtual void | Print () const |
Private Attributes | |
const HepMC::GenEvent * | mHepEvent |
const HepMC::GenVertex * | mHepVertex |
const HepMC::GenParticle * | mHepParticle |
Definition at line 16 of file G4DhPrimaryParticleInformation.h.
G4DhPrimaryParticleInformation::G4DhPrimaryParticleInformation | ( | const HepMC::GenEvent * | hepEvent = 0 , |
|
const HepMC::GenVertex * | hepVertex = 0 , |
|||
const HepMC::GenParticle * | = 0 | |||
) |
Definition at line 7 of file G4DhPrimaryParticleInformation.cc.
00010 : mHepEvent(hepEvent) 00011 , mHepVertex(hepVertex) 00012 , mHepParticle(hepParticle) 00013 { 00014 }
virtual G4DhPrimaryParticleInformation::~G4DhPrimaryParticleInformation | ( | ) | [inline, virtual] |
virtual const HepMC::GenEvent* G4DhPrimaryParticleInformation::GetHepEvent | ( | ) | const [inline, virtual] |
virtual const HepMC::GenVertex* G4DhPrimaryParticleInformation::GetHepVertex | ( | ) | const [inline, virtual] |
virtual const HepMC::GenParticle* G4DhPrimaryParticleInformation::GetHepParticle | ( | ) | const [inline, virtual] |
void G4DhPrimaryParticleInformation::Print | ( | ) | const [virtual] |
Definition at line 16 of file G4DhPrimaryParticleInformation.cc.
00017 { 00018 G4cout << "G4DhPrimaryVertexInformation" << std::endl; 00019 if(mHepEvent) mHepEvent->print(G4cout); 00020 else G4cout << " HepEvent is null" << std::endl; 00021 if(mHepVertex) mHepVertex->print(G4cout); 00022 else G4cout << " HepVertex is null" << std::endl; 00023 if(mHepParticle) mHepParticle->print(G4cout); 00024 else G4cout << " HepParticle is null" << std::endl; 00025 }
const HepMC::GenEvent* G4DhPrimaryParticleInformation::mHepEvent [private] |
Definition at line 28 of file G4DhPrimaryParticleInformation.h.
const HepMC::GenVertex* G4DhPrimaryParticleInformation::mHepVertex [private] |
Definition at line 29 of file G4DhPrimaryParticleInformation.h.
const HepMC::GenParticle* G4DhPrimaryParticleInformation::mHepParticle [private] |
Definition at line 30 of file G4DhPrimaryParticleInformation.h.