BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtMParticle.hh
Go to the documentation of this file.
1#ifndef __EVTMPARTICLE_HH__
2#define __EVTMPARTICLE_HH__
3
4#include "EvtMNode.hh"
5
6class EvtMParticle : public EvtMNode {
7
8public:
9 EvtMParticle( int label, const EvtId& id );
10 virtual ~EvtMParticle() {}
11 EvtSpinAmp amplitude( const vector<EvtVector4R>& product ) const;
12 int getnchild() const { return 0; }
13
14 EvtComplex line( const vector<EvtVector4R>& product ) const {
15 return EvtComplex( 1.0, 0.0 );
16 }
17
18 EvtMNode* duplicate() const;
19};
20
21#endif
Definition EvtId.hh:27
EvtSpinAmp amplitude(const vector< EvtVector4R > &product) const
virtual ~EvtMParticle()
EvtMNode * duplicate() const
EvtMParticle(int label, const EvtId &id)
EvtComplex line(const vector< EvtVector4R > &product) const
int getnchild() const