BOSS 8.0.0
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#ifndef EVTSINGLEPARTICLE_HH
23#define EVTSINGLEPARTICLE_HH
24
26class EvtParticle;
27
29
30public:
32 virtual ~EvtSingleParticle();
33
34 void getName( std::string& name );
35
37
38 void decay( EvtParticle* p );
39
40 void init();
41
42private:
43 double pmin, pmax;
44 double cthetamin, cthetamax;
45 double phimin, phimax;
46};
47
48#endif
EvtDecayBase * clone()
void decay(EvtParticle *p)
void getName(std::string &name)