CGEM BOSS 6.6.5.h
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
27class EvtParticle;
28
29typedef void ( *fcnPtr ) ( EvtParticle *,int,int *,double* );
30
32
33public:
34
35 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
48private:
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
void(* fcnPtr)(EvtParticle *, int, int *, double *)
int * GetDaugs()
std::string GetModelName()
fcnPtr GetfcnPtr()
double * GetArgs()
void init(fcnPtr pfcn, int ndaug, int *daugs, int narg, double *args, std::string name)