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

#include <DecayMode.h>

+ Inheritance diagram for DecayMode:

Public Member Functions

 DecayMode ()
 
virtual ~DecayMode ()
 
void getData (int *data, unsigned int size)
 
void putData (int *data, unsigned int size)
 
virtual const CLID & clID () const
 
 DecayMode (float bf, vector< PdtEntry * > *l)
 
virtual ~DecayMode ()
 
float BF () const
 
const vector< PdtEntry * > * childList () const
 
void printOn (std::ostream &os) const
 
bool operator== (const DecayMode &other)
 

Static Public Member Functions

static const CLID & classID ()
 

Protected Attributes

float _branchingFraction
 
vector< PdtEntry * > * _children
 

Detailed Description

Constructor & Destructor Documentation

◆ DecayMode() [1/2]

DecayMode::DecayMode ( )
inline

Definition at line 11 of file Event/McTruth/McTruth-00-02-19/McTruth/DecayMode.h.

12 {
13 for (unsigned int index=0; index<m_size; index++)
14 m_data[index] = 0;
15 }

◆ ~DecayMode() [1/2]

DecayMode::~DecayMode ( )
inlinevirtual

Definition at line 16 of file Event/McTruth/McTruth-00-02-19/McTruth/DecayMode.h.

16{;}

◆ DecayMode() [2/2]

◆ ~DecayMode() [2/2]

virtual DecayMode::~DecayMode ( )
virtual

Member Function Documentation

◆ BF()

float DecayMode::BF ( ) const
inline

◆ childList()

const vector< PdtEntry * > * DecayMode::childList ( ) const
inline

◆ classID()

static const CLID & DecayMode::classID ( )
inlinestatic

Definition at line 20 of file Event/McTruth/McTruth-00-02-19/McTruth/DecayMode.h.

20{ return CLID_DecayMode; }
const CLID & CLID_DecayMode
Definition: EventModel.cxx:209

Referenced by clID().

◆ clID()

virtual const CLID & DecayMode::clID ( ) const
inlinevirtual

◆ getData()

void DecayMode::getData ( int *  data,
unsigned int  size 
)

Definition at line 3 of file Event/McTruth/McTruth-00-02-19/src/DecayMode.cxx.

3 {
4 for (unsigned int index=0; index<m_size; index++) {
5 data[index] = m_data[index];
6 }
7}

◆ operator==()

bool DecayMode::operator== ( const DecayMode other)
inline

Definition at line 37 of file Reconstruction/MdcPatRec/MdcRecoUtil/MdcRecoUtil-00-01-08/MdcRecoUtil/DecayMode.h.

37{ return this == &other; }
Index other(Index i, Index j)
Definition: EvtCyclic3.cc:118

◆ printOn()

void DecayMode::printOn ( std::ostream &  os) const

Definition at line 36 of file Reconstruction/MdcPatRec/MdcRecoUtil/MdcRecoUtil-00-01-08/src/DecayMode.cxx.

36 {
37 os << " " << setw(5) << setprecision(3)
39 << " ->";
40 int l = _children->size();
41 for(int i=0; i<l; i++)
42 os << " " << (*_children)[i]->name();
43 os << '\n';
44}

◆ putData()

void DecayMode::putData ( int *  data,
unsigned int  size 
)

Definition at line 9 of file Event/McTruth/McTruth-00-02-19/src/DecayMode.cxx.

9 {
10 assert(size);
11 for (unsigned int index=0; index<m_size; index++) {
12 m_data[index] = data[index];
13 }
14}

Referenced by BesGenModule::callGenerator(), and BesMcTruthWriter::SaveDecayMode().

Member Data Documentation

◆ _branchingFraction

float DecayMode::_branchingFraction
protected

◆ _children

vector<PdtEntry*>* DecayMode::_children
protected

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