BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtMNode.cc
Go to the documentation of this file.
1#include "EvtGenBase/EvtPatches.hh"
2#include "EvtGenBase/EvtMNode.hh"
3
4EvtVector4R EvtMNode::get4vector( const vector<EvtVector4R> &product )
5 const
6{
7
8 EvtVector4R res(0.0, 0.0, 0.0, 0.0);
9 vector<int>::const_iterator iter;
10
11 for( iter = _resonance.begin(); iter != _resonance.end(); ++iter )
12 res += product[ *iter ];
13
14 return res;
15
16}
EvtStreamInputIterator< typename Generator::result_type > iter(Generator gen, int N=0)
EvtVector4R get4vector(const vector< EvtVector4R > &product) const