McAddress Class Reference

#include <McAddress.h>

List of all members.

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


Detailed Description

Definition at line 22 of file McAddress.h.


Constructor & Destructor Documentation

virtual McAddress::~McAddress (  )  [inline, virtual]

Standard Destructor.

Definition at line 25 of file McAddress.h.

00025 {}; //doesn't own event

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 { }


Member Function Documentation

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

00035                                                    {
00036     m_runNo = run;
00037     m_eventNo = evt;
00038   }


Member Data Documentation

unsigned int McAddress::m_eventNo [private]

Definition at line 45 of file McAddress.h.

Referenced by eventNumber(), and setRunEvt().

int McAddress::m_runNo [private]

Definition at line 44 of file McAddress.h.

Referenced by runNumber(), and setRunEvt().


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