Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

UTIL::LCStdHepRdr Class Reference

#include <LCStdHepRdr.h>

List of all members.

Public Member Functions

 LCStdHepRdr (const char *evfile)
 ~LCStdHepRdr ()
IMPL::LCCollectionVecreadEvent ()

Private Attributes

lStdHep_reader


Detailed Description

Basic utility for reading a binary stdhep file and filling a LCCollectionVec with MCParticles containing the stdhep file information.

Author:
cassell
Version:
Id
LCStdHepRdr.h,v 1.2 2005/04/15 08:37:45 gaede Exp

Definition at line 16 of file LCStdHepRdr.h.


Constructor & Destructor Documentation

UTIL::LCStdHepRdr::LCStdHepRdr const char *  evfile  ) 
 

Open the stdhep input file in the constructer

Definition at line 15 of file LCStdHepRdr.cc.

References _reader, and lXDR::getError().

UTIL::LCStdHepRdr::~LCStdHepRdr  ) 
 

noop

Definition at line 26 of file LCStdHepRdr.cc.


Member Function Documentation

IMPL::LCCollectionVec * UTIL::LCStdHepRdr::readEvent  ) 
 

Read an event and return a LCCollectionVec of MCParticles.

Definition at line 31 of file LCStdHepRdr.cc.

References _reader, IMPL::MCParticleImpl::addParent(), lStdHep::daughter1(), lStdHep::daughter2(), IMPL::LCCollectionVec::getElementAt(), IMPL::MCParticleImpl::getParents(), lStdHep::M(), lStdHep::more(), lStdHep::mother1(), lStdHep::mother2(), lStdHep::nTracks(), lStdHep::pid(), lStdHep::Px(), lStdHep::Py(), lStdHep::Pz(), lStdHep::readEvent(), IMPL::MCParticleImpl::setGeneratorStatus(), IMPL::MCParticleImpl::setMass(), IMPL::MCParticleImpl::setMomentum(), IMPL::MCParticleImpl::setPDG(), IMPL::MCParticleImpl::setSimulatorStatus(), IMPL::MCParticleImpl::setTime(), IMPL::MCParticleImpl::setVertex(), lStdHep::status(), lStdHep::T(), lStdHep::X(), lStdHep::Y(), and lStdHep::Z().

Referenced by marlin::StdHepReader::readDataSource().


Member Data Documentation

lStdHep* UTIL::LCStdHepRdr::_reader [private]
 

Definition at line 34 of file LCStdHepRdr.h.

Referenced by LCStdHepRdr(), and readEvent().


The documentation for this class was generated from the following files:
Generated on Sun Jun 3 06:32:40 2007 for A TPC Tracking Environment by  doxygen 1.3.9.1