/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
G4DhPrimaryParticleInformation Class Reference

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

#include <G4DhPrimaryParticleInformation.h>

Collaboration diagram for G4DhPrimaryParticleInformation:
Collaboration graph
[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 hepParticle = 0 
)

Definition at line 7 of file G4DhPrimaryParticleInformation.cc.

                                  : mHepEvent(hepEvent)
                                  , mHepVertex(hepVertex)
                                  , mHepParticle(hepParticle)
{
}
virtual G4DhPrimaryParticleInformation::~G4DhPrimaryParticleInformation ( ) [inline, virtual]

Definition at line 20 of file G4DhPrimaryParticleInformation.h.

{};

Member Function Documentation

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

Definition at line 22 of file G4DhPrimaryParticleInformation.h.

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

Definition at line 23 of file G4DhPrimaryParticleInformation.h.

{ return mHepVertex; }
virtual const HepMC::GenParticle* G4DhPrimaryParticleInformation::GetHepParticle ( ) const [inline, virtual]

Definition at line 24 of file G4DhPrimaryParticleInformation.h.

{ return mHepParticle; }
void G4DhPrimaryParticleInformation::Print ( ) const [virtual]

Definition at line 16 of file G4DhPrimaryParticleInformation.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;
  if(mHepParticle) mHepParticle->print(G4cout);
  else G4cout << "  HepParticle is null" << std::endl;
}

Member Data Documentation

Definition at line 28 of file G4DhPrimaryParticleInformation.h.

Definition at line 29 of file G4DhPrimaryParticleInformation.h.

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