BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtMNode.cc
Go to the documentation of this file.
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
Definition: EvtMNode.cc:4
vector< int > _resonance
Definition: EvtMNode.hh:65