#include <EvtParticleDecay.hh>
Public Member Functions | |
void | chargeConj (EvtParticleDecay *decay) |
EvtParticleDecay () | |
double | getBrfrSum () |
EvtDecayBase * | getDecayModel () |
double | getMassMin () |
void | printSummary () |
void | setBrfrSum (double brfrsum) |
void | setDecayModel (EvtDecayBase *decay) |
void | setMassMin (double massmin) |
~EvtParticleDecay () | |
Private Attributes | |
double | _brfrsum |
EvtDecayBase * | _decay |
double | _massmin |
|
|
|
00037 { 00038 00039 if (_decay!=0) delete _decay; 00040 00041 }
|
|
00041 { 00042 00043 _brfrsum=decay->_brfrsum; 00044 _massmin=decay->_massmin; 00045 00046 _decay=decay->_decay->clone(); 00047 00048 int ndaug=decay->_decay->getNDaug(); 00049 int narg=decay->_decay->getNArg(); 00050 double brfr=decay->_decay->getBranchingFraction(); 00051 std::string name; 00052 decay->_decay->getName(name); 00053 EvtId ipar=EvtPDL::chargeConj(decay->_decay->getParentId()); 00054 int i; 00055 EvtId* daug=new EvtId[ndaug]; 00056 for(i=0;i<ndaug;i++){ 00057 daug[i]=EvtPDL::chargeConj(decay->_decay->getDaug(i)); 00058 } 00059 //Had to add 1 to make sure the vector is not empty! 00060 std::vector<std::string> args; 00061 for(i=0;i<narg;i++){ 00062 args.push_back(decay->_decay->getArgStr(i)); 00063 } 00064 00065 _decay->saveDecayInfo(ipar,ndaug,daug,narg,args,name,brfr); 00066 00067 if (decay->_decay->getPHOTOS()) _decay->setPHOTOS(); 00068 00069 delete [] daug; 00070 00071 }
|
|
00047 {return _brfrsum;}
|
|
00046 {return _decay;}
|
|
00049 {return _massmin;}
|
|
00035 { 00036 00037 if (_decay!=0) _decay->printSummary(); 00038 00039 }
|
|
00048 {_brfrsum=brfrsum;}
|
|
00045 {_decay=decay;}
|
|
00050 {_massmin=massmin;}
|
|
|
|
|
|
|