EvtDecayParm Class Reference

#include <EvtDecayParm.hh>

List of all members.

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 ()

Private Attributes

fcnPtr itsfcn
int itsndaug
int * itsdaugs
int itsnarg
double * itsargs
std::string modelname


Detailed Description

Definition at line 31 of file EvtDecayParm.hh.


Constructor & Destructor Documentation

EvtDecayParm::EvtDecayParm (  ) 

Definition at line 50 of file EvtDecayParm.cc.

References itsargs, itsdaugs, itsfcn, itsnarg, itsndaug, and modelname.

00050                            {
00051 
00052   itsfcn=0;
00053   itsndaug=0;
00054   itsnarg=0;
00055   itsdaugs=0;
00056   itsargs=0;
00057 
00058   modelname="**********";
00059 
00060 }

EvtDecayParm::~EvtDecayParm (  ) 

Definition at line 62 of file EvtDecayParm.cc.

References itsargs, and itsdaugs.

00062                             {
00063 
00064   if (itsdaugs!=0){
00065      delete [] itsdaugs;
00066   }
00067 
00068   if (itsargs!=0){
00069      delete [] itsargs;
00070   }
00071 
00072 }


Member Function Documentation

double* EvtDecayParm::GetArgs (  )  [inline]

Definition at line 44 of file EvtDecayParm.hh.

References itsargs.

00044 {return itsargs; }

int* EvtDecayParm::GetDaugs (  )  [inline]

Definition at line 43 of file EvtDecayParm.hh.

References itsdaugs.

00043 {return itsdaugs; }

fcnPtr EvtDecayParm::GetfcnPtr (  )  [inline]

Definition at line 45 of file EvtDecayParm.hh.

References itsfcn.

00045 {return itsfcn; }

std::string EvtDecayParm::GetModelName (  )  [inline]

Definition at line 46 of file EvtDecayParm.hh.

References modelname.

00046 {return modelname; }

int EvtDecayParm::GetNArg (  )  [inline]

Definition at line 42 of file EvtDecayParm.hh.

References itsnarg.

00042 {return itsnarg; }

int EvtDecayParm::GetNDaug (  )  [inline]

Definition at line 41 of file EvtDecayParm.hh.

References itsndaug.

00041 {return itsndaug; }

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

Definition at line 30 of file EvtDecayParm.cc.

References genRecEmupikp::i, itsargs, itsdaugs, itsfcn, itsnarg, itsndaug, and modelname.

00031                                              {
00032 
00033   int i;
00034 
00035   itsfcn=pfcn;
00036   itsndaug=ndaug;
00037   itsnarg=narg;
00038   
00039   itsdaugs=new int [itsndaug];
00040   for(i=0;i<itsndaug;i++){
00041     itsdaugs[i]=daugs[i];
00042   }
00043   itsargs=new double [itsnarg];
00044   for(i=0;i<itsnarg;i++){
00045     itsargs[i]=args[i];
00046   }
00047   modelname=name;
00048 }


Member Data Documentation

double* EvtDecayParm::itsargs [private]

Definition at line 55 of file EvtDecayParm.hh.

Referenced by EvtDecayParm(), GetArgs(), init(), and ~EvtDecayParm().

int* EvtDecayParm::itsdaugs [private]

Definition at line 53 of file EvtDecayParm.hh.

Referenced by EvtDecayParm(), GetDaugs(), init(), and ~EvtDecayParm().

fcnPtr EvtDecayParm::itsfcn [private]

Definition at line 51 of file EvtDecayParm.hh.

Referenced by EvtDecayParm(), GetfcnPtr(), and init().

int EvtDecayParm::itsnarg [private]

Definition at line 54 of file EvtDecayParm.hh.

Referenced by EvtDecayParm(), GetNArg(), and init().

int EvtDecayParm::itsndaug [private]

Definition at line 52 of file EvtDecayParm.hh.

Referenced by EvtDecayParm(), GetNDaug(), and init().

std::string EvtDecayParm::modelname [private]

Definition at line 56 of file EvtDecayParm.hh.

Referenced by EvtDecayParm(), GetModelName(), and init().


Generated on Tue Nov 29 23:18:58 2016 for BOSS_7.0.2 by  doxygen 1.4.7