// $Id: hdihitmatchfilter.cc,v 1.2 2006/08/12 12:53:08 halo Exp $
// Last update by Thomas Eberl: 03/07/15 17:48:48
//
using namespace std;
#include "hdebug.h"
#include "hdihitmatchfilter.h"
#include "hrichcut.h"
#include "hrichcutpair.h"
#include <iostream>
#include <iomanip>
ClassImp(HDiHitMatchFilter)
//_HADES_CLASS_DESCRIPTION
///////////////////////////////////////////////////
//
// HDiHitMatchFilter is a HFilter to select pairs
// according to some quality criteria
//
//////////////////////////////////////////////////
void HDiHitMatchFilter::initCuts(HParSet* pPar)
{
}
Bool_t HDiHitMatchFilter::check(TObject* r)
{
// returns kTRUE if the hit has not been deleted.
// otherwise, returns kFALSE
Bool_t kRet =kFALSE;
HRichCutPair c("default","default");
c.switchTo("2matched");
if(
// 2 sigma matching for exp nov01
c.check((HDiHitMatch*)r)
)
{
kRet=kTRUE;
}
else
{
kRet=kFALSE;
}
return kRet;
}
ROOT page - Class index - Class Hierarchy - Top of the page
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.