Changeset View
Changeset View
Standalone View
Standalone View
src/EvtGenBase/EvtMTree.cpp
Show First 20 Lines • Show All 397 Lines • ▼ Show 20 Lines | for ( size_t i = 0; i < check.size(); ++i ) { | ||||
ret = ret && check[i]; | ret = ret && check[i]; | ||||
} | } | ||||
// Function appears to check child integer indices, but this fails if they are | // Function appears to check child integer indices, but this fails if they are | ||||
// not always the first and second ones, so just return true for all cases | // not always the first and second ones, so just return true for all cases | ||||
ret = true; | ret = true; | ||||
return ret; | return ret; | ||||
} | } | ||||
void EvtMTree::addtree( const string& str ) | void EvtMTree::addtree( const string& str ) | ||||
{ | { | ||||
// vector<EvtMNode*> roots = parsenode( str, true ); | // vector<EvtMNode*> roots = parsenode( str, true ); | ||||
// Edit previous line to allow the creation of node resonances: | // Edit previous line to allow the creation of node resonances: | ||||
vector<EvtMNode*> roots = parsenode( str, false ); | vector<EvtMNode*> roots = parsenode( str, false ); | ||||
_norm = 0; | _norm = 0; | ||||
▲ Show 20 Lines • Show All 57 Lines • Show Last 20 Lines |