EvtGen 2.2.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.
Loading...
Searching...
No Matches
EvtId Class Reference

#include <EvtGenBase/EvtId.hh>

Public Member Functions

 EvtId ()=default
 EvtId (int id, int alias)
bool operator== (const EvtId &id) const
bool operator!= (const EvtId &id) const
bool operator< (const EvtId &id) const
bool isConjugate (const EvtId &id) const
int getId () const
int getAlias () const
bool isAlias () const
std::string getName () const

Private Attributes

int m_id { -1 }
int m_alias { -1 }

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

◆ EvtId() [2/2]

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

Definition at line 31 of file EvtId.hh.

Member Function Documentation

◆ getAlias()

int EvtId::getAlias ( ) const
inline

Definition at line 43 of file EvtId.hh.

◆ getId()

int EvtId::getId ( ) const
inline

Definition at line 41 of file EvtId.hh.

◆ getName()

std::string EvtId::getName ( ) const

Definition at line 38 of file EvtId.cpp.

◆ isAlias()

bool EvtId::isAlias ( ) const
inline

Definition at line 45 of file EvtId.hh.

◆ isConjugate()

bool EvtId::isConjugate ( const EvtId & id) const

Definition at line 33 of file EvtId.cpp.

◆ operator!=()

bool EvtId::operator!= ( const EvtId & id) const
inline

Definition at line 36 of file EvtId.hh.

◆ operator<()

bool EvtId::operator< ( const EvtId & id) const
inline

Definition at line 37 of file EvtId.hh.

◆ operator==()

bool EvtId::operator== ( const EvtId & id) const
inline

Definition at line 35 of file EvtId.hh.

◆ operator<<

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

Definition at line 27 of file EvtId.cpp.

Member Data Documentation

◆ m_alias

int EvtId::m_alias { -1 }
private

Definition at line 56 of file EvtId.hh.

◆ m_id

int EvtId::m_id { -1 }
private

Definition at line 52 of file EvtId.hh.


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