#include "hdebug.h"
#include "hrichhitfilter.h"
#include "hrichcorrelatorpar.h"
#include "hrichcut.h"
ClassImp(HRichHitFilter)
void HRichHitFilter::initCuts(HParSet* pPar)
{
nPatMatCut=0;
nPatMatCut = ((HRichCorrelatorPar*)pPar)->getRingPatMatCut();
nHouTraCut = ((HRichCorrelatorPar*)pPar)->getRingHouTraCut();
nPadNrCut = ((HRichCorrelatorPar*)pPar)->getRingPadNrCut();
nRingAmplCut = ((HRichCorrelatorPar*)pPar)->getRingAmplCut();
nLocMax4Cut = ((HRichCorrelatorPar*)pPar)->getRingLocMax4Cut();
}
Bool_t HRichHitFilter::check(TObject* r)
{
if ( HRichCut::isGoodRing(((HRichHit*)r)) )
{
return kTRUE;
}
else
{
return kFALSE;
}
}
Last change: Sat May 22 13:09:04 2010
Last generated: 2010-05-22 13:09
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.