BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtMNode Class Referenceabstract

#include <EvtMNode.hh>

+ Inheritance diagram for EvtMNode:

Public Member Functions

 EvtMNode ()
 
virtual ~EvtMNode ()
 
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 int getnchild () const =0
 
virtual EvtComplex line (const vector< EvtVector4R > &product) const =0
 
virtual EvtMNodeduplicate () const =0
 
 EvtMNode ()
 
virtual ~EvtMNode ()
 
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 int getnchild () const =0
 
virtual EvtComplex line (const vector< EvtVector4R > &product) const =0
 
virtual EvtMNodeduplicate () const =0
 

Protected Attributes

EvtId _id
 
int _twospin
 
vector< int > _resonance
 
EvtMNode_parent
 

Detailed Description

Constructor & Destructor Documentation

◆ EvtMNode() [1/2]

EvtMNode::EvtMNode ( )
inline

◆ ~EvtMNode() [1/2]

virtual EvtMNode::~EvtMNode ( )
inlinevirtual

◆ EvtMNode() [2/2]

EvtMNode::EvtMNode ( )
inline

Definition at line 21 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtMNode.hh.

21{}

◆ ~EvtMNode() [2/2]

virtual EvtMNode::~EvtMNode ( )
inlinevirtual

Definition at line 22 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtMNode.hh.

22{};

Member Function Documentation

◆ amplitude() [1/2]

virtual EvtSpinAmp EvtMNode::amplitude ( const vector< EvtVector4R > &  product) const
pure virtual

◆ amplitude() [2/2]

virtual EvtSpinAmp EvtMNode::amplitude ( const vector< EvtVector4R > &  product) const
pure virtual

◆ duplicate() [1/2]

virtual EvtMNode * EvtMNode::duplicate ( ) const
pure virtual

◆ duplicate() [2/2]

virtual EvtMNode * EvtMNode::duplicate ( ) const
pure virtual

◆ get4vector() [1/2]

EvtVector4R EvtMNode::get4vector ( const vector< EvtVector4R > &  product) const

Definition at line 4 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtMNode.cc.

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)

Referenced by EvtMHelAmp::amplitude(), and EvtMBreitWigner::shape().

◆ get4vector() [2/2]

EvtVector4R EvtMNode::get4vector ( const vector< EvtVector4R > &  product) const

◆ getid() [1/2]

EvtId EvtMNode::getid ( ) const
inline

◆ getid() [2/2]

EvtId EvtMNode::getid ( ) const
inline

Definition at line 38 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtMNode.hh.

38{ return _id; }

◆ getnchild() [1/2]

virtual int EvtMNode::getnchild ( ) const
pure virtual

Implemented in EvtMParticle, EvtMRes, EvtMParticle, and EvtMRes.

◆ getnchild() [2/2]

virtual int EvtMNode::getnchild ( ) const
pure virtual

Implemented in EvtMParticle, EvtMRes, EvtMParticle, and EvtMRes.

◆ getparent() [1/2]

EvtMNode * EvtMNode::getparent ( ) const
inline

◆ getparent() [2/2]

EvtMNode * EvtMNode::getparent ( ) const
inline

Definition at line 44 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtMNode.hh.

44{ return _parent; }

◆ getresonance() [1/2]

const vector< int > & EvtMNode::getresonance ( ) const
inline

Definition at line 41 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtMNode.hh.

41{ return _resonance; }

◆ getresonance() [2/2]

const vector< int > & EvtMNode::getresonance ( ) const
inline

Definition at line 41 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtMNode.hh.

41{ return _resonance; }

◆ getspin() [1/2]

int EvtMNode::getspin ( ) const
inline

◆ getspin() [2/2]

int EvtMNode::getspin ( ) const
inline

Definition at line 34 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtMNode.hh.

34{ return _twospin; }

◆ getspintype() [1/2]

EvtSpinType::spintype EvtMNode::getspintype ( ) const
inline

◆ getspintype() [2/2]

EvtSpinType::spintype EvtMNode::getspintype ( ) const
inline

◆ line() [1/2]

virtual EvtComplex EvtMNode::line ( const vector< EvtVector4R > &  product) const
pure virtual

Implemented in EvtMParticle, EvtMRes, EvtMParticle, and EvtMRes.

◆ line() [2/2]

virtual EvtComplex EvtMNode::line ( const vector< EvtVector4R > &  product) const
pure virtual

Implemented in EvtMParticle, EvtMRes, EvtMParticle, and EvtMRes.

◆ setparent() [1/2]

void EvtMNode::setparent ( EvtMNode parent)
inline

Definition at line 43 of file bak-BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtMNode.hh.

43{ _parent = parent; }

◆ setparent() [2/2]

void EvtMNode::setparent ( EvtMNode parent)
inline

Definition at line 43 of file BesEvtGen-00-04-08/src/EvtGen/EvtGenBase/EvtMNode.hh.

43{ _parent = parent; }

Member Data Documentation

◆ _id

◆ _parent

◆ _resonance

◆ _twospin


The documentation for this class was generated from the following files: