evtgen is hosted by Hepforge, IPPP Durham
EvtGen  2.0.0
Monte Carlo generator of particle decays, in particular the weak decays of heavy flavour particles such as B mesons.

#include <EvtGenBase/EvtMTree.hh>

Public Member Functions

 EvtMTree (const EvtId *, unsigned int)
 
 ~EvtMTree ()
 
EvtSpinAmp amplitude (EvtParticle *) const
 
void addtree (const string &)
 

Private Member Functions

bool parsecheck (char, const string &)
 
void parseerror (bool, ptype &, ptype &, ptype &)
 
string parseId (ptype &, ptype &, ptype &)
 
string parseKey (ptype &, ptype &, ptype &)
 
vector< string > parseArg (ptype &, ptype &, ptype &)
 
vector< EvtComplexparseAmps (ptype &, ptype &, ptype &)
 
vector< EvtMNode * > duplicate (const vector< EvtMNode * > &) const
 
vector< vector< EvtMNode * > > unionChildren (const string &, vector< vector< EvtMNode * >> &)
 
vector< vector< EvtMNode * > > parseChildren (ptype &, ptype &, ptype &)
 
vector< EvtMNode * > parsenode (const string &, bool)
 
bool validTree (const EvtMNode *) const
 
vector< EvtMNode * > makeparticles (const string &)
 
EvtMResmakeresonance (const EvtId &, const string &, const vector< string > &, const string &, const vector< EvtComplex > &, const vector< EvtMNode * > &)
 
EvtSpinAmp getrotation (EvtParticle *) const
 

Private Attributes

vector< EvtMNode * > _root
 
vector< string > _lbltbl
 
double _norm
 

Detailed Description

Definition at line 42 of file EvtMTree.hh.

Constructor & Destructor Documentation

◆ EvtMTree()

EvtMTree::EvtMTree ( const EvtId idtbl,
unsigned int  ndaug 
)

Definition at line 37 of file EvtMTree.cpp.

◆ ~EvtMTree()

EvtMTree::~EvtMTree ( )

Definition at line 44 of file EvtMTree.cpp.

Member Function Documentation

◆ addtree()

void EvtMTree::addtree ( const string &  str)

Definition at line 404 of file EvtMTree.cpp.

◆ amplitude()

EvtSpinAmp EvtMTree::amplitude ( EvtParticle p) const

Definition at line 437 of file EvtMTree.cpp.

◆ duplicate()

vector< EvtMNode * > EvtMTree::duplicate ( const vector< EvtMNode * > &  list) const
private

Definition at line 244 of file EvtMTree.cpp.

◆ getrotation()

EvtSpinAmp EvtMTree::getrotation ( EvtParticle p) const
private

Definition at line 419 of file EvtMTree.cpp.

◆ makeparticles()

vector< EvtMNode * > EvtMTree::makeparticles ( const string &  strid)
private

Definition at line 61 of file EvtMTree.cpp.

◆ makeresonance()

EvtMRes * EvtMTree::makeresonance ( const EvtId id,
const string &  ls,
const vector< string > &  lsarg,
const string &  type,
const vector< EvtComplex > &  amps,
const vector< EvtMNode * > &  children 
)
private

Definition at line 84 of file EvtMTree.cpp.

◆ parseAmps()

vector< EvtComplex > EvtMTree::parseAmps ( ptype c_iter,
ptype c_begin,
ptype c_end 
)
private

Definition at line 209 of file EvtMTree.cpp.

◆ parseArg()

vector< string > EvtMTree::parseArg ( ptype c_iter,
ptype c_begin,
ptype c_end 
)
private

Definition at line 173 of file EvtMTree.cpp.

◆ parsecheck()

bool EvtMTree::parsecheck ( char  arg,
const string &  chars 
)
private

Definition at line 50 of file EvtMTree.cpp.

◆ parseChildren()

vector< vector< EvtMNode * > > EvtMTree::parseChildren ( ptype c_iter,
ptype c_begin,
ptype c_end 
)
private

Definition at line 289 of file EvtMTree.cpp.

◆ parseerror()

void EvtMTree::parseerror ( bool  flag,
ptype c_iter,
ptype c_begin,
ptype c_end 
)
private

Definition at line 115 of file EvtMTree.cpp.

◆ parseId()

string EvtMTree::parseId ( ptype c_iter,
ptype c_begin,
ptype c_end 
)
private

Definition at line 137 of file EvtMTree.cpp.

◆ parseKey()

string EvtMTree::parseKey ( ptype c_iter,
ptype c_begin,
ptype c_end 
)
private

Definition at line 155 of file EvtMTree.cpp.

◆ parsenode()

vector< EvtMNode * > EvtMTree::parsenode ( const string &  args,
bool  rootnode 
)
private

Definition at line 339 of file EvtMTree.cpp.

◆ unionChildren()

vector< vector< EvtMNode * > > EvtMTree::unionChildren ( const string &  nodestr,
vector< vector< EvtMNode * >> &  cl1 
)
private

Definition at line 255 of file EvtMTree.cpp.

◆ validTree()

bool EvtMTree::validTree ( const EvtMNode root) const
private

Definition at line 386 of file EvtMTree.cpp.

Member Data Documentation

◆ _lbltbl

vector<string> EvtMTree::_lbltbl
private

Definition at line 55 of file EvtMTree.hh.

◆ _norm

double EvtMTree::_norm
private

Definition at line 56 of file EvtMTree.hh.

◆ _root

vector<EvtMNode*> EvtMTree::_root
private

Definition at line 54 of file EvtMTree.hh.


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