BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtMParticle Class Reference

#include <EvtMParticle.hh>

+ Inheritance diagram for EvtMParticle:

Public Member Functions

 EvtMParticle (int label, const EvtId &id)
 
virtual ~EvtMParticle ()
 
EvtSpinAmp amplitude (const vector< EvtVector4R > &product) const
 
int getnchild () const
 
EvtComplex line (const vector< EvtVector4R > &product) const
 
EvtMNodeduplicate () const
 
 EvtMParticle (int label, const EvtId &id)
 
virtual ~EvtMParticle ()
 
EvtSpinAmp amplitude (const vector< EvtVector4R > &product) const
 
int getnchild () const
 
EvtComplex line (const vector< EvtVector4R > &product) const
 
EvtMNodeduplicate () const
 
- Public Member Functions inherited from EvtMNode
 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
 

Additional Inherited Members

- Protected Attributes inherited from EvtMNode
EvtId _id
 
int _twospin
 
vector< int > _resonance
 
EvtMNode_parent
 

Detailed Description

Constructor & Destructor Documentation

◆ EvtMParticle() [1/2]

◆ ~EvtMParticle() [1/2]

virtual EvtMParticle::~EvtMParticle ( )
inlinevirtual

◆ EvtMParticle() [2/2]

EvtMParticle::EvtMParticle ( int  label,
const EvtId id 
)

◆ ~EvtMParticle() [2/2]

virtual EvtMParticle::~EvtMParticle ( )
inlinevirtual

Member Function Documentation

◆ amplitude() [1/2]

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

Implements EvtMNode.

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

13{
14 vector<EvtSpinType::spintype> types( 2, getspintype() );
15 EvtSpinAmp amp( types, EvtComplex( 0.0, 0.0 ) );
16
17 for( int i=-_twospin; i<=_twospin; i+=2 )
18 amp(i, i) = EvtComplex( 1.0, 0.0 );
19
20 return amp;
21}

◆ amplitude() [2/2]

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

Implements EvtMNode.

◆ duplicate() [1/2]

EvtMNode * EvtMParticle::duplicate ( ) const
virtual

◆ duplicate() [2/2]

EvtMNode * EvtMParticle::duplicate ( ) const
virtual

Implements EvtMNode.

◆ getnchild() [1/2]

int EvtMParticle::getnchild ( ) const
inlinevirtual

Implements EvtMNode.

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

13{ return 0; }

◆ getnchild() [2/2]

int EvtMParticle::getnchild ( ) const
inlinevirtual

Implements EvtMNode.

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

13{ return 0; }

◆ line() [1/2]

EvtComplex EvtMParticle::line ( const vector< EvtVector4R > &  product) const
inlinevirtual

Implements EvtMNode.

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

16 { return EvtComplex(1.0, 0.0); }

◆ line() [2/2]

EvtComplex EvtMParticle::line ( const vector< EvtVector4R > &  product) const
inlinevirtual

Implements EvtMNode.

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

16 { return EvtComplex(1.0, 0.0); }

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