| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

G4DhPrimaryParticleInformation Class Reference

Stores links to the HepMC events that created the geant vertex. More...

#include <G4DhPrimaryParticleInformation.h>

Collaboration diagram for G4DhPrimaryParticleInformation:

[legend]
List of all members.

Public Member Functions

 G4DhPrimaryParticleInformation (const HepMC::GenEvent *hepEvent=0, const HepMC::GenVertex *hepVertex=0, const HepMC::GenParticle *=0)
virtual ~G4DhPrimaryParticleInformation ()
virtual const HepMC::GenEventGetHepEvent () const
virtual const HepMC::GenVertexGetHepVertex () const
virtual const HepMC::GenParticleGetHepParticle () const
virtual void Print () const

Private Attributes

const HepMC::GenEventmHepEvent
const HepMC::GenVertexmHepVertex
const HepMC::GenParticlemHepParticle

Detailed Description

Stores links to the HepMC events that created the geant vertex.

Author:
Nathaniel Tagg (tagg@minos.phy.tufts.edu)

Definition at line 16 of file G4DhPrimaryParticleInformation.h.


Constructor & Destructor Documentation

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]

Definition at line 20 of file G4DhPrimaryParticleInformation.h.

00020 {};


Member Function Documentation

virtual const HepMC::GenEvent* G4DhPrimaryParticleInformation::GetHepEvent (  )  const [inline, virtual]

Definition at line 22 of file G4DhPrimaryParticleInformation.h.

00022 { return mHepEvent; }

virtual const HepMC::GenVertex* G4DhPrimaryParticleInformation::GetHepVertex (  )  const [inline, virtual]

Definition at line 23 of file G4DhPrimaryParticleInformation.h.

00023 { return mHepVertex; }

virtual const HepMC::GenParticle* G4DhPrimaryParticleInformation::GetHepParticle (  )  const [inline, virtual]

Definition at line 24 of file G4DhPrimaryParticleInformation.h.

00024 { return mHepParticle; }

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 }


Member Data Documentation

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.


The documentation for this class was generated from the following files:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:32:09 2011 for G4DataHelpers by doxygen 1.4.7