McGenEvent Class Reference

#include <McGenEvent.h>

Inheritance diagram for McGenEvent:

ContainedObject List of all members.

Public Member Functions

 McGenEvent (GenEvent *evt)
virtual ~McGenEvent ()
std::string generatorName () const
GenEvent * getGenEvt () const
virtual const CLID & clID () const

Static Public Member Functions

static const CLID & classID ()

Private Attributes

std::string m_generatorName
GenEvent * m_pEvt

Detailed Description

Definition at line 17 of file McGenEvent.h.


Constructor & Destructor Documentation

McGenEvent::McGenEvent ( GenEvent *  evt  ) 

Definition at line 4 of file McGenEvent.cxx.

References m_pEvt.

00004 { m_pEvt = evt; }

McGenEvent::~McGenEvent (  )  [virtual]

Definition at line 7 of file McGenEvent.cxx.

References m_pEvt.

00007 { delete  m_pEvt; }


Member Function Documentation

static const CLID& McGenEvent::classID (  )  [inline, static]

Definition at line 32 of file McGenEvent.h.

References CLID_GenEvent.

Referenced by clID().

00032 { return CLID_GenEvent; }

virtual const CLID& McGenEvent::clID (  )  const [inline, virtual]

Definition at line 31 of file McGenEvent.h.

References classID().

00031 { return McGenEvent::classID(); }

std::string McGenEvent::generatorName (  )  const

Definition at line 10 of file McGenEvent.cxx.

References m_generatorName.

00010 { return m_generatorName; }

GenEvent * McGenEvent::getGenEvt (  )  const

Definition at line 12 of file McGenEvent.cxx.

References m_pEvt.

Referenced by BesHepMCInterface::GenerateHepMCEvent(), and BesSensitiveManager::SaveParticlesFromGenerator().

00012                                       {
00013   return m_pEvt; 
00014 }


Member Data Documentation

std::string McGenEvent::m_generatorName [private]

Definition at line 35 of file McGenEvent.h.

Referenced by generatorName().

GenEvent* McGenEvent::m_pEvt [private]

Definition at line 36 of file McGenEvent.h.

Referenced by getGenEvt(), McGenEvent(), and ~McGenEvent().


Generated on Tue Nov 29 23:20:05 2016 for BOSS_7.0.2 by  doxygen 1.4.7