BOSS 6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
McGenEvent Class Reference

#include <McGenEvent.h>

+ Inheritance diagram for McGenEvent:

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 ()
 

Detailed Description

Definition at line 17 of file McGenEvent.h.

Constructor & Destructor Documentation

◆ McGenEvent()

McGenEvent::McGenEvent ( GenEvent *  evt)

Definition at line 4 of file McGenEvent.cxx.

4{ m_pEvt = evt; }

◆ ~McGenEvent()

McGenEvent::~McGenEvent ( )
virtual

Definition at line 7 of file McGenEvent.cxx.

7{ delete m_pEvt; }

Member Function Documentation

◆ classID()

static const CLID & McGenEvent::classID ( )
inlinestatic

Definition at line 32 of file McGenEvent.h.

32{ return CLID_GenEvent; }
const CLID & CLID_GenEvent
Definition: EventModel.cxx:195

Referenced by clID().

◆ clID()

virtual const CLID & McGenEvent::clID ( ) const
inlinevirtual

Definition at line 31 of file McGenEvent.h.

31{ return McGenEvent::classID(); }
static const CLID & classID()
Definition: McGenEvent.h:32

◆ generatorName()

std::string McGenEvent::generatorName ( ) const

Definition at line 10 of file McGenEvent.cxx.

10{ return m_generatorName; }

◆ getGenEvt()

GenEvent * McGenEvent::getGenEvt ( ) const

Definition at line 12 of file McGenEvent.cxx.

12 {
13 return m_pEvt;
14}

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


The documentation for this class was generated from the following files: