]> git.uio.no Git - u/mrichter/AliRoot.git/blame - TEvtGen/EvtGenBase/EvtMNode.cxx
An effective FD corretion
[u/mrichter/AliRoot.git] / TEvtGen / EvtGenBase / EvtMNode.cxx
CommitLineData
da0e9ce3 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}