using namespace std;
#include <stdlib.h>
#include <iostream>
#include "hhypPPKpPimXAlg.h"
#include "hypinfodef.h"
ClassImp(HHypPPKpPimXAlg)
HHypPPKpPimXAlg::HHypPPKpPimXAlg(Char_t *name_i, Option_t par[]) : HHypBaseAlgorithm(name_i, par)
{
filler = NULL;
}
HHypPPKpPimXAlg::~HHypPPKpPimXAlg()
{
if (filler) delete filler;
}
Bool_t HHypPPKpPimXAlg::execute()
{
exitIdx = filler->execute();
if (exitIdx > -1) return kTRUE;
return kFALSE;
}
Bool_t HHypPPKpPimXAlg::init()
{
filler = new HHypListFiller("aaa","bbb");
filler->SetExitList(exitList);
filler->AddTrack(HPidPhysicsConstants::pid("p"));
filler->AddTrack(HPidPhysicsConstants::pid("K+"));
filler->AddTrack(HPidPhysicsConstants::pid("p"));
filler->AddTrack(HPidPhysicsConstants::pid("pi-"));
return filler->init();
}
Bool_t HHypPPKpPimXAlg::reinit()
{
return kTRUE;
}
Bool_t HHypPPKpPimXAlg::finalize()
{
return kTRUE;
}
Last change: Sat May 22 12:57:59 2010
Last generated: 2010-05-22 12:57
This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.