EvtMRes Class Reference

#include <EvtMRes.hh>

Inheritance diagram for EvtMRes:

EvtMNode EvtMHelAmp List of all members.

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)
EvtMNodegetparent () const
virtual EvtMNodeduplicate () const =0

Protected Attributes

vector< EvtMNode * > _children
EvtSpinAmp _amp
EvtMLineShape_lineshape
EvtId _id
int _twospin
vector< int > _resonance
EvtMNode_parent

Detailed Description

Definition at line 24 of file EvtMRes.hh.


Constructor & Destructor Documentation

EvtMRes::EvtMRes (  )  [inline]

Definition at line 28 of file EvtMRes.hh.

00028 {}

virtual EvtMRes::~EvtMRes (  )  [inline, virtual]

Definition at line 29 of file EvtMRes.hh.

00029 {}


Member Function Documentation

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]

Definition at line 38 of file EvtMNode.hh.

References EvtMNode::_id.

00038 { return _id; }

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]

Definition at line 34 of file EvtMNode.hh.

References EvtMNode::_twospin.

00034 { return _twospin; }

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]

Definition at line 43 of file EvtMNode.hh.

References EvtMNode::_parent.

00043 { _parent = parent; }


Member Data Documentation

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().


Generated on Tue Nov 29 23:19:07 2016 for BOSS_7.0.2 by  doxygen 1.4.7