BOSS
8.0.0
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
#include <string>
25
26
class
EvtParticle
;
27
28
typedef
void ( *
fcnPtr
)(
EvtParticle
*, int,
int
*,
double
* );
29
30
class
EvtDecayParm
{
31
32
public
:
33
EvtDecayParm
();
34
~EvtDecayParm
();
35
36
void
init
(
fcnPtr
pfcn,
int
ndaug,
int
* daugs,
int
narg,
double
* args, std::string name );
37
38
int
GetNDaug
() {
return
itsndaug; }
39
int
GetNArg
() {
return
itsnarg; }
40
int
*
GetDaugs
() {
return
itsdaugs; }
41
double
*
GetArgs
() {
return
itsargs; }
42
fcnPtr
GetfcnPtr
() {
return
itsfcn; }
43
std::string
GetModelName
() {
return
modelname; }
44
45
private
:
46
fcnPtr
itsfcn;
47
int
itsndaug;
48
int
* itsdaugs;
49
int
itsnarg;
50
double
* itsargs;
51
std::string modelname;
52
};
53
54
#endif
fcnPtr
void(* fcnPtr)(EvtParticle *, int, int *, double *)
Definition
EvtDecayParm.hh:28
EvtDecayParm::GetDaugs
int * GetDaugs()
Definition
EvtDecayParm.hh:40
EvtDecayParm::GetNArg
int GetNArg()
Definition
EvtDecayParm.hh:39
EvtDecayParm::GetModelName
std::string GetModelName()
Definition
EvtDecayParm.hh:43
EvtDecayParm::~EvtDecayParm
~EvtDecayParm()
Definition
EvtDecayParm.cc:57
EvtDecayParm::GetfcnPtr
fcnPtr GetfcnPtr()
Definition
EvtDecayParm.hh:42
EvtDecayParm::GetArgs
double * GetArgs()
Definition
EvtDecayParm.hh:41
EvtDecayParm::EvtDecayParm
EvtDecayParm()
Definition
EvtDecayParm.cc:46
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:38
EvtParticle
Definition
EvtParticle.hh:42
8.0.0
BOSS_Gen
BesEvtGen
src
EvtGen
EvtGenBase
EvtDecayParm.hh
Generated by
1.16.1