BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtSinglePoint.hh
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
//
4
// Module: EvtGen/EvtSinglePoint.hh
5
//
6
// Description:
7
// This is a special decay model to generate single particles with fixed momentum.
8
//
9
// Modification history:
10
//
11
// DJL/RYD August 11, 1998 Module created
12
//
13
//------------------------------------------------------------------------
14
15
#ifndef EVTSINGLEPOINT_HH
16
#define EVTSINGLEPOINT_HH
17
18
#include "
../EvtGenBase/EvtDecayIncoherent.hh
"
19
class
EvtParticle
;
20
21
class
EvtSinglePoint
:
public
EvtDecayIncoherent
{
22
23
public
:
24
EvtSinglePoint
() {}
25
virtual
~EvtSinglePoint
();
26
27
void
getName
( std::string& name );
28
29
EvtDecayBase
*
clone
();
30
31
void
decay
(
EvtParticle
* p );
32
33
void
init
();
34
35
private
:
36
double
px, py, pz;
37
};
38
39
#endif
EvtDecayIncoherent.hh
EvtDecayBase
Definition
EvtDecayBase.hh:39
EvtDecayIncoherent
Definition
EvtDecayIncoherent.hh:27
EvtParticle
Definition
EvtParticle.hh:42
EvtSinglePoint::clone
EvtDecayBase * clone()
Definition
EvtSinglePoint.cc:29
EvtSinglePoint::getName
void getName(std::string &name)
Definition
EvtSinglePoint.cc:27
EvtSinglePoint::EvtSinglePoint
EvtSinglePoint()
Definition
EvtSinglePoint.hh:24
EvtSinglePoint::init
void init()
Definition
EvtSinglePoint.cc:31
EvtSinglePoint::~EvtSinglePoint
virtual ~EvtSinglePoint()
Definition
EvtSinglePoint.cc:25
EvtSinglePoint::decay
void decay(EvtParticle *p)
Definition
EvtSinglePoint.cc:50
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenModels
EvtSinglePoint.hh
Generated by
1.16.1