#include <EvtMRes.hh>
Inheritance diagram for EvtMRes:
Public Member Functions | |
EvtMRes () | |
virtual | ~EvtMRes () |
int | getnchild () const |
virtual EvtComplex | line (const vector< EvtVector4R > &product) const |
virtual EvtSpinAmp | amplitude (const vector< EvtVector4R > &product) const =0 |
EvtVector4R | get4vector (const vector< EvtVector4R > &product) const |
int | getspin () const |
EvtSpinType::spintype | getspintype () const |
EvtId | getid () const |
const vector< int > & | getresonance () const |
void | setparent (EvtMNode *parent) |
EvtMNode * | getparent () const |
virtual EvtMNode * | duplicate () const =0 |
Protected Attributes | |
vector< EvtMNode * > | _children |
EvtSpinAmp | _amp |
EvtMLineShape * | _lineshape |
EvtId | _id |
int | _twospin |
vector< int > | _resonance |
EvtMNode * | _parent |
Definition at line 24 of file EvtMRes.hh.
EvtMRes::EvtMRes | ( | ) | [inline] |
virtual EvtMRes::~EvtMRes | ( | ) | [inline, virtual] |
virtual EvtSpinAmp EvtMNode::amplitude | ( | const vector< EvtVector4R > & | product | ) | const [pure virtual, inherited] |
Implemented in EvtMHelAmp, and EvtMParticle.
virtual EvtMNode* EvtMNode::duplicate | ( | ) | const [pure virtual, inherited] |
Implemented in EvtMHelAmp, and EvtMParticle.
EvtVector4R EvtMNode::get4vector | ( | const vector< EvtVector4R > & | product | ) | const [inherited] |
Definition at line 4 of file EvtMNode.cc.
References EvtMNode::_resonance, and iter().
Referenced by EvtMHelAmp::amplitude(), and EvtMBreitWigner::shape().
00006 { 00007 00008 EvtVector4R res(0.0, 0.0, 0.0, 0.0); 00009 vector<int>::const_iterator iter; 00010 00011 for( iter = _resonance.begin(); iter != _resonance.end(); ++iter ) 00012 res += product[ *iter ]; 00013 00014 return res; 00015 00016 }
EvtId EvtMNode::getid | ( | ) | const [inline, inherited] |
int EvtMRes::getnchild | ( | ) | const [inline, virtual] |
Implements EvtMNode.
Definition at line 31 of file EvtMRes.hh.
References _children.
00031 { return _children.size(); }
EvtMNode* EvtMNode::getparent | ( | ) | const [inline, inherited] |
Definition at line 44 of file EvtMNode.hh.
References EvtMNode::_parent.
Referenced by EvtMHelAmp::amplitude().
00044 { return _parent; }
const vector<int>& EvtMNode::getresonance | ( | ) | const [inline, inherited] |
Definition at line 41 of file EvtMNode.hh.
References EvtMNode::_resonance.
00041 { return _resonance; }
int EvtMNode::getspin | ( | ) | const [inline, inherited] |
EvtSpinType::spintype EvtMNode::getspintype | ( | ) | const [inline, inherited] |
Definition at line 35 of file EvtMNode.hh.
References EvtMNode::_id, and EvtPDL::getSpinType().
Referenced by EvtMParticle::amplitude(), EvtMHelAmp::amplitude(), and EvtMHelAmp::EvtMHelAmp().
00035 { return EvtPDL::getSpinType( _id ); }
virtual EvtComplex EvtMRes::line | ( | const vector< EvtVector4R > & | product | ) | const [inline, virtual] |
Implements EvtMNode.
Definition at line 33 of file EvtMRes.hh.
References _lineshape, and EvtMLineShape::shape().
00034 { return _lineshape->shape( product ); }
void EvtMNode::setparent | ( | EvtMNode * | parent | ) | [inline, inherited] |
EvtSpinAmp EvtMRes::_amp [protected] |
Definition at line 42 of file EvtMRes.hh.
Referenced by EvtMHelAmp::amplitude(), and EvtMHelAmp::EvtMHelAmp().
vector<EvtMNode *> EvtMRes::_children [protected] |
Definition at line 39 of file EvtMRes.hh.
Referenced by EvtMHelAmp::amplitude(), EvtMHelAmp::duplicate(), EvtMHelAmp::EvtMHelAmp(), and getnchild().
EvtId EvtMNode::_id [protected, inherited] |
Definition at line 58 of file EvtMNode.hh.
Referenced by EvtMParticle::duplicate(), EvtMHelAmp::duplicate(), EvtMHelAmp::EvtMHelAmp(), EvtMParticle::EvtMParticle(), EvtMNode::getid(), and EvtMNode::getspintype().
EvtMLineShape* EvtMRes::_lineshape [protected] |
Definition at line 45 of file EvtMRes.hh.
Referenced by EvtMHelAmp::duplicate(), EvtMHelAmp::EvtMHelAmp(), and line().
EvtMNode* EvtMNode::_parent [protected, inherited] |
Definition at line 68 of file EvtMNode.hh.
Referenced by EvtMHelAmp::amplitude(), EvtMHelAmp::EvtMHelAmp(), EvtMNode::getparent(), and EvtMNode::setparent().
vector<int> EvtMNode::_resonance [protected, inherited] |
Definition at line 65 of file EvtMNode.hh.
Referenced by EvtMParticle::duplicate(), EvtMHelAmp::EvtMHelAmp(), EvtMParticle::EvtMParticle(), EvtMNode::get4vector(), and EvtMNode::getresonance().
int EvtMNode::_twospin [protected, inherited] |
Definition at line 61 of file EvtMNode.hh.
Referenced by EvtMParticle::amplitude(), EvtMHelAmp::amplitude(), EvtMHelAmp::EvtMHelAmp(), EvtMParticle::EvtMParticle(), and EvtMNode::getspin().