/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Private Attributes
G4DhPrimaryVertexInformation Class Reference

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

#include <G4DhPrimaryVertexInformation.h>

Collaboration diagram for G4DhPrimaryVertexInformation:
Collaboration graph
[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.

{
  mHepEvent = hepEvent;
  mHepVertex = hepVertex;
}
virtual G4DhPrimaryVertexInformation::~G4DhPrimaryVertexInformation ( ) [inline, virtual]

Definition at line 19 of file G4DhPrimaryVertexInformation.h.

{};

Member Function Documentation

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

Definition at line 21 of file G4DhPrimaryVertexInformation.h.

{ return mHepEvent; }
virtual const HepMC::GenVertex* G4DhPrimaryVertexInformation::GetHepVertex ( ) const [inline, virtual]

Definition at line 22 of file G4DhPrimaryVertexInformation.h.

{ return mHepVertex; }
void G4DhPrimaryVertexInformation::Print ( ) const [virtual]

Definition at line 13 of file G4DhPrimaryVertexInformation.cc.

{
  G4cout << "G4DhPrimaryVertexInformation" << std::endl;
  if(mHepEvent) mHepEvent->print(G4cout); 
  else G4cout << "  HepEvent is null" << std::endl;
  if(mHepVertex) mHepVertex->print(G4cout);
  else G4cout << "  HepVertex is null" << std::endl;
}

Member Data Documentation

Definition at line 26 of file G4DhPrimaryVertexInformation.h.

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 Fri May 16 2014 10:05:42 for G4DataHelpers by doxygen 1.7.4