#include <EvtMTrivialLS.hh>
Inheritance diagram for EvtMTrivialLS:
Public Member Functions | |
EvtMTrivialLS (const EvtId &id, const vector< string > &args) | |
~EvtMTrivialLS () | |
EvtComplex | shape (const vector< EvtVector4R > &product) const |
EvtMLineShape * | duplicate () const |
void | setres (EvtMRes *n) |
Protected Attributes | |
EvtMRes * | _node |
Definition at line 6 of file EvtMTrivialLS.hh.
EvtMTrivialLS::~EvtMTrivialLS | ( | ) | [inline] |
EvtMLineShape * EvtMTrivialLS::duplicate | ( | ) | const [virtual] |
Implements EvtMLineShape.
Definition at line 9 of file EvtMTrivialLS.cc.
References EvtMTrivialLS().
00010 { 00011 EvtId temp1; 00012 vector<string> temp2; 00013 00014 EvtMLineShape* tmp=new EvtMTrivialLS(temp1, temp2); 00015 return tmp; 00016 }
void EvtMLineShape::setres | ( | EvtMRes * | n | ) | [inline, inherited] |
Definition at line 14 of file EvtMRes.hh.
References EvtMLineShape::_node.
Referenced by EvtMHelAmp::duplicate(), and EvtMTree::makeresonance().
00014 { _node = n; }
EvtComplex EvtMTrivialLS::shape | ( | const vector< EvtVector4R > & | product | ) | const [virtual] |
Implements EvtMLineShape.
Definition at line 4 of file EvtMTrivialLS.cc.
00005 { 00006 return EvtComplex(1.0, 0.0); 00007 }
EvtMRes* EvtMLineShape::_node [protected, inherited] |
Definition at line 21 of file EvtMRes.hh.
Referenced by EvtMLineShape::setres(), and EvtMBreitWigner::shape().