CGEM BOSS 6.6.5.h
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 31 of file EvtDecayParm.hh.

Constructor & Destructor Documentation

◆ EvtDecayParm()

EvtDecayParm::EvtDecayParm ( )

Definition at line 50 of file EvtDecayParm.cc.

50 {
51
52 itsfcn=0;
53 itsndaug=0;
54 itsnarg=0;
55 itsdaugs=0;
56 itsargs=0;
57
58 modelname="**********";
59
60}

◆ ~EvtDecayParm()

EvtDecayParm::~EvtDecayParm ( )

Definition at line 62 of file EvtDecayParm.cc.

62 {
63
64 if (itsdaugs!=0){
65 delete [] itsdaugs;
66 }
67
68 if (itsargs!=0){
69 delete [] itsargs;
70 }
71
72}

Member Function Documentation

◆ GetArgs()

double * EvtDecayParm::GetArgs ( )
inline

Definition at line 44 of file EvtDecayParm.hh.

44{return itsargs; }

◆ GetDaugs()

int * EvtDecayParm::GetDaugs ( )
inline

Definition at line 43 of file EvtDecayParm.hh.

43{return itsdaugs; }

◆ GetfcnPtr()

fcnPtr EvtDecayParm::GetfcnPtr ( )
inline

Definition at line 45 of file EvtDecayParm.hh.

45{return itsfcn; }

◆ GetModelName()

std::string EvtDecayParm::GetModelName ( )
inline

Definition at line 46 of file EvtDecayParm.hh.

46{return modelname; }

◆ GetNArg()

int EvtDecayParm::GetNArg ( )
inline

Definition at line 42 of file EvtDecayParm.hh.

42{return itsnarg; }

◆ GetNDaug()

int EvtDecayParm::GetNDaug ( )
inline

Definition at line 41 of file EvtDecayParm.hh.

41{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++){
41 itsdaugs[i]=daugs[i];
42 }
43 itsargs=new double [itsnarg];
44 for(i=0;i<itsnarg;i++){
45 itsargs[i]=args[i];
46 }
47 modelname=name;
48}

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