BOSS
7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtDecayParm.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/EvtDecayParm.hh
12
//
13
// Description: Class to keep the arguments and daughters of a decay
14
//
15
// Modification history:
16
//
17
// RYD April 5, 1997 Module created
18
//
19
//------------------------------------------------------------------------
20
21
#ifndef EVTDECAYPARM_HH
22
#define EVTDECAYPARM_HH
23
24
25
#include <string>
26
27
class
EvtParticle
;
28
29
typedef
void ( *
fcnPtr
) (
EvtParticle
*,int,
int
*,
double
* );
30
31
class
EvtDecayParm
{
32
33
public
:
34
35
EvtDecayParm
();
36
~EvtDecayParm
();
37
38
void
init
(
fcnPtr
pfcn,
int
ndaug,
int
*daugs,
int
narg,
39
double
*args, std::string name);
40
41
int
GetNDaug
() {
return
itsndaug; }
42
int
GetNArg
() {
return
itsnarg; }
43
int
*
GetDaugs
() {
return
itsdaugs; }
44
double
*
GetArgs
() {
return
itsargs; }
45
fcnPtr
GetfcnPtr
() {
return
itsfcn; }
46
std::string
GetModelName
() {
return
modelname; }
47
48
private
:
49
50
51
fcnPtr
itsfcn;
52
int
itsndaug;
53
int
* itsdaugs;
54
int
itsnarg;
55
double
* itsargs;
56
std::string modelname;
57
58
59
};
60
61
#endif
62
fcnPtr
void(* fcnPtr)(EvtParticle *, int, int *, double *)
Definition:
EvtDecayParm.hh:29
EvtDecayParm
Definition:
EvtDecayParm.hh:31
EvtDecayParm::GetDaugs
int * GetDaugs()
Definition:
EvtDecayParm.hh:43
EvtDecayParm::GetNArg
int GetNArg()
Definition:
EvtDecayParm.hh:42
EvtDecayParm::GetModelName
std::string GetModelName()
Definition:
EvtDecayParm.hh:46
EvtDecayParm::~EvtDecayParm
~EvtDecayParm()
Definition:
EvtDecayParm.cc:62
EvtDecayParm::GetfcnPtr
fcnPtr GetfcnPtr()
Definition:
EvtDecayParm.hh:45
EvtDecayParm::GetArgs
double * GetArgs()
Definition:
EvtDecayParm.hh:44
EvtDecayParm::EvtDecayParm
EvtDecayParm()
Definition:
EvtDecayParm.cc:50
EvtDecayParm::init
void init(fcnPtr pfcn, int ndaug, int *daugs, int narg, double *args, std::string name)
Definition:
EvtDecayParm.cc:30
EvtDecayParm::GetNDaug
int GetNDaug()
Definition:
EvtDecayParm.hh:41
EvtParticle
Definition:
EvtParticle.hh:42
source
Generator
BesEvtGen
BesEvtGen-00-03-36
src
EvtGen
EvtGenBase
EvtDecayParm.hh
Generated by
1.9.6