CGEM BOSS 6.6.5.f
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
 
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

Constructor & Destructor Documentation

◆ ~McAddress() [1/2]

virtual McAddress::~McAddress ( )
inlinevirtual

Standard Destructor.

Definition at line 25 of file Generator/McEventSelector/McEventSelector-01-00-13/McEventSelector/McAddress.h.

25{}; //doesn't own event

◆ McAddress() [1/4]

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/4]

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

◆ ~McAddress() [2/2]

virtual McAddress::~McAddress ( )
inlinevirtual

Standard Destructor.

Definition at line 25 of file InstallArea/include/McEventSelector/McEventSelector/McAddress.h.

25{}; //doesn't own event

◆ McAddress() [3/4]

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

Standard Constructor.

◆ McAddress() [4/4]

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

Member Function Documentation

◆ eventNumber() [1/2]

unsigned int McAddress::eventNumber ( ) const
inline

Definition at line 41 of file Generator/McEventSelector/McEventSelector-01-00-13/McEventSelector/McAddress.h.

41{ return m_eventNo; }

Referenced by McEventCnv::createObj().

◆ eventNumber() [2/2]

unsigned int McAddress::eventNumber ( ) const
inline

Definition at line 41 of file InstallArea/include/McEventSelector/McEventSelector/McAddress.h.

41{ return m_eventNo; }

◆ runNumber() [1/2]

int McAddress::runNumber ( ) const
inline

Definition at line 40 of file Generator/McEventSelector/McEventSelector-01-00-13/McEventSelector/McAddress.h.

40{ return m_runNo; }

Referenced by McEventCnv::createObj().

◆ runNumber() [2/2]

int McAddress::runNumber ( ) const
inline

Definition at line 40 of file InstallArea/include/McEventSelector/McEventSelector/McAddress.h.

40{ return m_runNo; }

◆ setRunEvt() [1/2]

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

Event accessors.

Definition at line 35 of file Generator/McEventSelector/McEventSelector-01-00-13/McEventSelector/McAddress.h.

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

◆ setRunEvt() [2/2]

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

Event accessors.

Definition at line 35 of file InstallArea/include/McEventSelector/McEventSelector/McAddress.h.

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

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