BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
EvtDecayParm Class Reference

#include <EvtDecayParm.hh>

Public Member Functions

 EvtDecayParm ()
 ~EvtDecayParm ()
void init (fcnPtr pfcn, int ndaug, int *daugs, int narg, double *args, std::string name)
int GetNDaug ()
int GetNArg ()
int * GetDaugs ()
double * GetArgs ()
fcnPtr GetfcnPtr ()
std::string GetModelName ()

Detailed Description

Definition at line 30 of file EvtDecayParm.hh.

Constructor & Destructor Documentation

◆ EvtDecayParm()

EvtDecayParm::EvtDecayParm ( )

Definition at line 46 of file EvtDecayParm.cc.

46 {
47
48 itsfcn = 0;
49 itsndaug = 0;
50 itsnarg = 0;
51 itsdaugs = 0;
52 itsargs = 0;
53
54 modelname = "**********";
55}

◆ ~EvtDecayParm()

EvtDecayParm::~EvtDecayParm ( )

Definition at line 57 of file EvtDecayParm.cc.

57 {
58
59 if ( itsdaugs != 0 ) { delete[] itsdaugs; }
60
61 if ( itsargs != 0 ) { delete[] itsargs; }
62}

Member Function Documentation

◆ GetArgs()

double * EvtDecayParm::GetArgs ( )
inline

Definition at line 41 of file EvtDecayParm.hh.

41{ return itsargs; }

◆ GetDaugs()

int * EvtDecayParm::GetDaugs ( )
inline

Definition at line 40 of file EvtDecayParm.hh.

40{ return itsdaugs; }

◆ GetfcnPtr()

fcnPtr EvtDecayParm::GetfcnPtr ( )
inline

Definition at line 42 of file EvtDecayParm.hh.

42{ return itsfcn; }

◆ GetModelName()

std::string EvtDecayParm::GetModelName ( )
inline

Definition at line 43 of file EvtDecayParm.hh.

43{ return modelname; }

◆ GetNArg()

int EvtDecayParm::GetNArg ( )
inline

Definition at line 39 of file EvtDecayParm.hh.

39{ return itsnarg; }

◆ GetNDaug()

int EvtDecayParm::GetNDaug ( )
inline

Definition at line 38 of file EvtDecayParm.hh.

38{ return itsndaug; }

◆ init()

void EvtDecayParm::init ( fcnPtr pfcn,
int ndaug,
int * daugs,
int narg,
double * args,
std::string name )

Definition at line 30 of file EvtDecayParm.cc.

31 {
32
33 int i;
34
35 itsfcn = pfcn;
36 itsndaug = ndaug;
37 itsnarg = narg;
38
39 itsdaugs = new int[itsndaug];
40 for ( i = 0; i < itsndaug; i++ ) { itsdaugs[i] = daugs[i]; }
41 itsargs = new double[itsnarg];
42 for ( i = 0; i < itsnarg; i++ ) { itsargs[i] = args[i]; }
43 modelname = name;
44}

The documentation for this class was generated from the following files: