BOSS 7.0.2
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 ()
 
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)
 
 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 ()
 
static const CLID & classID ()
 

Protected Attributes

float _branchingFraction
 
vector< PdtEntry * > * _children
 

Detailed Description

Constructor & Destructor Documentation

◆ DecayMode() [1/4]

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

DecayMode::~DecayMode ( )
inlinevirtual

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

16{;}

◆ DecayMode() [2/4]

DecayMode::DecayMode ( )
inline

Definition at line 11 of file InstallArea/include/McTruth/McTruth/DecayMode.h.

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

◆ ~DecayMode() [2/4]

virtual DecayMode::~DecayMode ( )
inlinevirtual

Definition at line 16 of file InstallArea/include/McTruth/McTruth/DecayMode.h.

16{;}

◆ DecayMode() [3/4]

DecayMode::DecayMode ( float  bf,
vector< PdtEntry * > *  l 
)

◆ ~DecayMode() [3/4]

virtual DecayMode::~DecayMode ( )
virtual

◆ DecayMode() [4/4]

DecayMode::DecayMode ( float  bf,
vector< PdtEntry * > *  l 
)

◆ ~DecayMode() [4/4]

virtual DecayMode::~DecayMode ( )
virtual

Member Function Documentation

◆ BF() [1/2]

float DecayMode::BF ( ) const
inline

◆ BF() [2/2]

float DecayMode::BF ( ) const
inline

◆ childList() [1/2]

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

Definition at line 34 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/DecayMode.h.

34{ return _children; }

◆ childList() [2/2]

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

◆ classID() [1/2]

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

◆ classID() [2/2]

static const CLID & DecayMode::classID ( )
inlinestatic

Definition at line 20 of file InstallArea/include/McTruth/McTruth/DecayMode.h.

20{ return CLID_DecayMode; }

◆ clID() [1/2]

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

◆ clID() [2/2]

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

Definition at line 19 of file InstallArea/include/McTruth/McTruth/DecayMode.h.

19{ return DecayMode::classID();}

◆ getData() [1/2]

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}
TTree * data

◆ getData() [2/2]

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

◆ operator==() [1/2]

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

Definition at line 37 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/DecayMode.h.

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

◆ operator==() [2/2]

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

◆ printOn() [1/2]

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

◆ printOn() [2/2]

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

◆ putData() [1/2]

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

◆ putData() [2/2]

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

Member Data Documentation

◆ _branchingFraction

float DecayMode::_branchingFraction
protected

Definition at line 40 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/DecayMode.h.

Referenced by BF(), and DecayMode().

◆ _children

vector< PdtEntry * > * DecayMode::_children
protected

Definition at line 41 of file InstallArea/include/MdcRecoUtil/MdcRecoUtil/DecayMode.h.

Referenced by childList(), and DecayMode().


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