// $Id: hhitmatchfilter.cc,v 1.6 2006/08/12 12:53:08 halo Exp $
// Last update by Thomas Eberl: 03/07/15 17:38:47
//
using namespace std;
#include "hdebug.h"
#include "hhitmatchfilter.h"
#include "hrichcut.h"
#include "hrichcuttracklet.h"
#include <iostream>
#include <iomanip>
ClassImp(HHitMatchFilter)
//_HADES_CLASS_DESCRIPTION
///////////////////////////////////////////////////
//
// HHitMatchFilter is a HFilter to select tracklets
// according to some quality criteria
//
//////////////////////////////////////////////////
void HHitMatchFilter::initCuts(HParSet* pPar)
{
}
Bool_t HHitMatchFilter::check(TObject* r)
{
// returns kTRUE if the hit has not been deleted.
// otherwise, returns kFALSE
Bool_t kRet =kFALSE;
HRichCutTracklet c("default","default");
c.switchTo("angularMatch");
if(
// 2 sigma matching for exp nov01
c.check((HHitMatch*)r)
)
{
kRet=kTRUE;
}
else
{
//((HHitMatch*)r)->dumpToStdout();
// cout<<"THROW IT !!!!!!"<<endl;
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.