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
EvtIdSet Class Reference

#include <EvtGenBase/EvtIdSet.hh>

Public Member Functions

 EvtIdSet (std::initializer_list< EvtId > idList)
 EvtIdSet (std::initializer_list< std::string > nameList)
 EvtIdSet (const EvtIdSet &set1, const EvtIdSet &set2)
std::size_t sizeOfSet () const
bool contains (const EvtId &id) const
bool contains (const std::string &name) const
void append (const EvtIdSet &set1)

Private Attributes

std::set< EvtIdm_list

Detailed Description

Definition at line 30 of file EvtIdSet.hh.

Constructor & Destructor Documentation

◆ EvtIdSet() [1/3]

EvtIdSet::EvtIdSet ( std::initializer_list< EvtId > idList)
explicit

Definition at line 29 of file EvtIdSet.cpp.

◆ EvtIdSet() [2/3]

EvtIdSet::EvtIdSet ( std::initializer_list< std::string > nameList)
explicit

Definition at line 33 of file EvtIdSet.cpp.

◆ EvtIdSet() [3/3]

EvtIdSet::EvtIdSet ( const EvtIdSet & set1,
const EvtIdSet & set2 )

Definition at line 40 of file EvtIdSet.cpp.

Member Function Documentation

◆ append()

void EvtIdSet::append ( const EvtIdSet & set1)

Definition at line 58 of file EvtIdSet.cpp.

◆ contains() [1/2]

bool EvtIdSet::contains ( const EvtId & id) const

Definition at line 46 of file EvtIdSet.cpp.

◆ contains() [2/2]

bool EvtIdSet::contains ( const std::string & name) const

Definition at line 52 of file EvtIdSet.cpp.

◆ sizeOfSet()

std::size_t EvtIdSet::sizeOfSet ( ) const
inline

Definition at line 36 of file EvtIdSet.hh.

Member Data Documentation

◆ m_list

std::set<EvtId> EvtIdSet::m_list
private

Definition at line 43 of file EvtIdSet.hh.


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