BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
McAddress Class Reference

#include <McAddress.h>

+ Inheritance diagram for McAddress:

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
 

Detailed Description

Definition at line 22 of file McAddress.h.

Constructor & Destructor Documentation

◆ ~McAddress()

virtual McAddress::~McAddress ( )
inlinevirtual

Standard Destructor.

Definition at line 25 of file McAddress.h.

25{}; //doesn't own event

◆ McAddress() [1/2]

McAddress::McAddress ( const CLID &  clid,
const std::string &  fname,
const std::string &  cname 
)

Standard Constructor.

Definition at line 25 of file McAddress.cxx.

26: GenericAddress(McCnvSvc::storageType(), clid, fname, cname),
27 m_runNo(0), m_eventNo(0)
28{ }
static unsigned char storageType()
storage type
Definition: McCnvSvc.cxx:90

◆ McAddress() [2/2]

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.

31: GenericAddress(McCnvSvc::storageType(), clid, fname, cname),
32 m_runNo(run), m_eventNo(event)
33{ }

Member Function Documentation

◆ eventNumber()

unsigned int McAddress::eventNumber ( ) const
inline

Definition at line 41 of file McAddress.h.

41{ return m_eventNo; }

Referenced by McEventCnv::createObj().

◆ runNumber()

int McAddress::runNumber ( ) const
inline

Definition at line 40 of file McAddress.h.

40{ return m_runNo; }

Referenced by McEventCnv::createObj().

◆ setRunEvt()

void McAddress::setRunEvt ( int  run,
unsigned int  evt 
)
inline

Event accessors.

Definition at line 35 of file McAddress.h.

35 {
36 m_runNo = run;
37 m_eventNo = evt;
38 }

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