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

In This Package:

G4DhPrimaryVertexInformation Class Reference

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

#include <G4DhPrimaryVertexInformation.h>

Collaboration diagram for G4DhPrimaryVertexInformation:

[legend]
List of all members.

Public Member Functions

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

Private Attributes

const HepMC::GenEventmHepEvent
const HepMC::GenVertexmHepVertex

Detailed Description

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

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

Definition at line 15 of file G4DhPrimaryVertexInformation.h.


Constructor & Destructor Documentation

G4DhPrimaryVertexInformation::G4DhPrimaryVertexInformation ( const HepMC::GenEvent hepEvent = 0,
const HepMC::GenVertex hepVertex = 0 
)

Definition at line 6 of file G4DhPrimaryVertexInformation.cc.

00008 {
00009   mHepEvent = hepEvent;
00010   mHepVertex = hepVertex;
00011 }

virtual G4DhPrimaryVertexInformation::~G4DhPrimaryVertexInformation (  )  [inline, virtual]

Definition at line 19 of file G4DhPrimaryVertexInformation.h.

00019 {};


Member Function Documentation

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

Definition at line 21 of file G4DhPrimaryVertexInformation.h.

00021 { return mHepEvent; }

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

Definition at line 22 of file G4DhPrimaryVertexInformation.h.

00022 { return mHepVertex; }

void G4DhPrimaryVertexInformation::Print (  )  const [virtual]

Definition at line 13 of file G4DhPrimaryVertexInformation.cc.

00014 {
00015   G4cout << "G4DhPrimaryVertexInformation" << std::endl;
00016   if(mHepEvent) mHepEvent->print(G4cout); 
00017   else G4cout << "  HepEvent is null" << std::endl;
00018   if(mHepVertex) mHepVertex->print(G4cout);
00019   else G4cout << "  HepVertex is null" << std::endl;
00020 }


Member Data Documentation

const HepMC::GenEvent* G4DhPrimaryVertexInformation::mHepEvent [private]

Definition at line 26 of file G4DhPrimaryVertexInformation.h.

const HepMC::GenVertex* G4DhPrimaryVertexInformation::mHepVertex [private]

Definition at line 27 of file G4DhPrimaryVertexInformation.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