#include <McAddress.h>
Public Member Functions | |
virtual | ~McAddress () |
Standard Destructor. | |
McAddress (const CLID &clid, const std::string &fname, const std::string &cname) | |
Standard Constructor. | |
McAddress (const CLID &clid, const std::string &fname, const int &run, const int &event, const std::string &cname) | |
void | setRunEvt (int run, unsigned int evt) |
Event accessors. | |
int | runNumber () const |
unsigned int | eventNumber () const |
Private Attributes | |
int | m_runNo |
unsigned int | m_eventNo |
Definition at line 22 of file McAddress.h.
virtual McAddress::~McAddress | ( | ) | [inline, virtual] |
McAddress::McAddress | ( | const CLID & | clid, | |
const std::string & | fname, | |||
const std::string & | cname | |||
) |
Standard Constructor.
Definition at line 25 of file McAddress.cxx.
00026 : GenericAddress(McCnvSvc::storageType(), clid, fname, cname), 00027 m_runNo(0), m_eventNo(0) 00028 { }
McAddress::McAddress | ( | const CLID & | clid, | |
const std::string & | fname, | |||
const int & | run, | |||
const int & | event, | |||
const std::string & | cname | |||
) |
Definition at line 29 of file McAddress.cxx.
00031 : GenericAddress(McCnvSvc::storageType(), clid, fname, cname), 00032 m_runNo(run), m_eventNo(event) 00033 { }
unsigned int McAddress::eventNumber | ( | ) | const [inline] |
Definition at line 41 of file McAddress.h.
References m_eventNo.
Referenced by McEventCnv::createObj().
00041 { return m_eventNo; }
int McAddress::runNumber | ( | ) | const [inline] |
Definition at line 40 of file McAddress.h.
References m_runNo.
Referenced by McEventCnv::createObj().
00040 { return m_runNo; }
void McAddress::setRunEvt | ( | int | run, | |
unsigned int | evt | |||
) | [inline] |
Event accessors.
Definition at line 35 of file McAddress.h.
References m_eventNo, and m_runNo.
Referenced by McIterator::dereference().
unsigned int McAddress::m_eventNo [private] |
int McAddress::m_runNo [private] |