BOSS
6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtSingleParticle.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 EVTSINGLEPARTICLE_HH
24
#define EVTSINGLEPARTICLE_HH
25
26
#include "
EvtGenBase/EvtDecayIncoherent.hh
"
27
class
EvtParticle
;
28
29
class
EvtSingleParticle
:
public
EvtDecayIncoherent
{
30
31
public
:
32
33
EvtSingleParticle
() {}
34
virtual
~EvtSingleParticle
();
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
pmin,pmax;
47
double
cthetamin,cthetamax;
48
double
phimin,phimax;
49
50
};
51
52
#endif
53
EvtDecayIncoherent.hh
EvtDecayBase
Definition:
EvtDecayBase.hh:33
EvtDecayIncoherent
Definition:
EvtDecayIncoherent.hh:28
EvtParticle
Definition:
EvtParticle.hh:42
EvtSingleParticle
Definition:
EvtSingleParticle.hh:29
EvtSingleParticle::init
void init()
Definition:
EvtSingleParticle.cc:46
EvtSingleParticle::clone
EvtDecayBase * clone()
Definition:
EvtSingleParticle.cc:40
EvtSingleParticle::~EvtSingleParticle
virtual ~EvtSingleParticle()
Definition:
EvtSingleParticle.cc:32
EvtSingleParticle::EvtSingleParticle
EvtSingleParticle()
Definition:
EvtSingleParticle.hh:33
EvtSingleParticle::decay
void decay(EvtParticle *p)
Definition:
EvtSingleParticle.cc:115
EvtSingleParticle::getName
void getName(std::string &name)
Definition:
EvtSingleParticle.cc:34
source
Generator
BesEvtGen
BesEvtGen-00-01-94
src
EvtGen
EvtGenModels
EvtSingleParticle.hh
Generated by
1.9.6