BOSS
8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtSingleParticle2.hh
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
//
3
// Environment:
4
// This software is part of the EvtGen package developed jointly
5
// for the BaBar and CLEO collaborations. If you use all or part
6
// of it, please give an appropriate acknowledgement.
7
//
8
// Copyright Information: See EvtGen/COPYRIGHT
9
// Copyright (C) 1998 Caltech, UCSB
10
//
11
// Module: EvtGen/EvtSingleParticle.hh
12
//
13
// Description:
14
// This is a special decay model to generate single particles.
15
//
16
// Modification history:
17
//
18
// DJL/RYD August 11, 1998 Module created
19
//
20
//------------------------------------------------------------------------
21
22
#ifndef EVTSINGLEPARTICLE2_HH
23
#define EVTSINGLEPARTICLE2_HH
24
25
#include "
../EvtGenBase/EvtDecayIncoherent.hh
"
26
class
EvtParticle
;
27
28
class
EvtSingleParticle2
:
public
EvtDecayIncoherent
{
29
30
public
:
31
EvtSingleParticle2
() {}
32
virtual
~EvtSingleParticle2
();
33
34
void
getName
( std::string& name );
35
36
EvtDecayBase
*
clone
();
37
38
void
decay
(
EvtParticle
* p );
39
40
void
init
();
41
42
private
:
43
double
pxymax, pxymin, pmag;
44
double
thetamin, thetamax;
45
double
cthetamin, cthetamax;
46
double
phimin, phimax;
47
};
48
49
#endif
EvtDecayIncoherent.hh
EvtDecayBase
Definition
EvtDecayBase.hh:39
EvtDecayIncoherent
Definition
EvtDecayIncoherent.hh:27
EvtParticle
Definition
EvtParticle.hh:42
EvtSingleParticle2::getName
void getName(std::string &name)
Definition
EvtSingleParticle2.cc:34
EvtSingleParticle2::init
void init()
Definition
EvtSingleParticle2.cc:38
EvtSingleParticle2::decay
void decay(EvtParticle *p)
Definition
EvtSingleParticle2.cc:100
EvtSingleParticle2::clone
EvtDecayBase * clone()
Definition
EvtSingleParticle2.cc:36
EvtSingleParticle2::~EvtSingleParticle2
virtual ~EvtSingleParticle2()
Definition
EvtSingleParticle2.cc:32
EvtSingleParticle2::EvtSingleParticle2
EvtSingleParticle2()
Definition
EvtSingleParticle2.hh:31
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenModels
EvtSingleParticle2.hh
Generated by
1.16.1