BOSS 7.0.8
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtId Class Reference

#include <EvtId.hh>

Public Member Functions

 EvtId ()
 
 EvtId (int id, int alias)
 
int operator== (const EvtId &id) const
 
int operator!= (const EvtId &id) const
 
int getId () const
 
int getAlias () const
 
int isAlias () const
 

Friends

std::ostream & operator<< (std::ostream &s, const EvtId &v)
 

Detailed Description

Definition at line 27 of file EvtId.hh.

Constructor & Destructor Documentation

◆ EvtId() [1/2]

EvtId::EvtId ( )
inline

Definition at line 32 of file EvtId.hh.

32:_id(-1),_alias(-1){}

◆ EvtId() [2/2]

EvtId::EvtId ( int  id,
int  alias 
)
inline

Definition at line 34 of file EvtId.hh.

34:_id(id),_alias(alias){}

Member Function Documentation

◆ getAlias()

◆ getId()

◆ isAlias()

int EvtId::isAlias ( ) const
inline

Definition at line 45 of file EvtId.hh.

45{ return _id!=_alias;}

◆ operator!=()

int EvtId::operator!= ( const EvtId id) const
inline

Definition at line 39 of file EvtId.hh.

39{ return _id!=id._id; }

◆ operator==()

int EvtId::operator== ( const EvtId id) const
inline

Definition at line 38 of file EvtId.hh.

38{ return _id==id._id; }

Friends And Related Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  s,
const EvtId v 
)
friend

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