BOSS
7.1.1
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
23
#ifndef EVTSINGLEPARTICLE2_HH
24
#define EVTSINGLEPARTICLE2_HH
25
26
#include "
EvtGenBase/EvtDecayIncoherent.hh
"
27
class
EvtParticle
;
28
29
class
EvtSingleParticle2
:
public
EvtDecayIncoherent
{
30
31
public
:
32
33
EvtSingleParticle2
() {}
34
virtual
~EvtSingleParticle2
();
35
36
void
getName
(std::string& name);
37
38
EvtDecayBase
*
clone
();
39
40
void
decay
(
EvtParticle
*p);
41
42
void
init
();
43
44
private
:
45
46
double
pxymax,pxymin,pmag;
47
double
thetamin,thetamax;
48
double
cthetamin,cthetamax;
49
double
phimin,phimax;
50
51
};
52
53
#endif
54
EvtDecayIncoherent.hh
EvtDecayBase
Definition
EvtDecayBase.hh:33
EvtDecayIncoherent
Definition
EvtDecayIncoherent.hh:28
EvtParticle
Definition
EvtParticle.hh:42
EvtSingleParticle2
Definition
EvtSingleParticle2.hh:29
EvtSingleParticle2::getName
void getName(std::string &name)
Definition
EvtSingleParticle2.cc:34
EvtSingleParticle2::init
void init()
Definition
EvtSingleParticle2.cc:46
EvtSingleParticle2::decay
void decay(EvtParticle *p)
Definition
EvtSingleParticle2.cc:111
EvtSingleParticle2::clone
EvtDecayBase * clone()
Definition
EvtSingleParticle2.cc:40
EvtSingleParticle2::~EvtSingleParticle2
virtual ~EvtSingleParticle2()
Definition
EvtSingleParticle2.cc:32
EvtSingleParticle2::EvtSingleParticle2
EvtSingleParticle2()
Definition
EvtSingleParticle2.hh:33
7.1.1
Generator
BesEvtGen
BesEvtGen-00-04-28
src
EvtGen
EvtGenModels
EvtSingleParticle2.hh
Generated by
1.12.0