/*************************************************************************** * * $Id: OpenAngPairCut.cxx,v 1.1 2000/10/26 16:09:11 lisa Exp $ * * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu *************************************************************************** * * Description: part of STAR HBT Framework: StHbtMaker package * cut on nominal Opening angle of the pair - for dealing with track merging * *************************************************************************** * * $Log: OpenAngPairCut.cxx,v $ * Revision 1.1 2000/10/26 16:09:11 lisa * Added OpeningAngle PairCut class and method to StHbtPair * * **************************************************************************/ #include "StHbtMaker/Cut/OpenAngPairCut.h" #include #include #ifdef __ROOT__ ClassImp(OpenAngPairCut) #endif //__________________ OpenAngPairCut::OpenAngPairCut(){ mNPairsPassed = mNPairsFailed = 0; } //__________________ //OpenAngPairCut::~OpenAngPairCut(){ // /* no-op */ //} //__________________ bool OpenAngPairCut::Pass(const StHbtPair* pair){ double openAng = pair->OpeningAngle(); bool temp = ( (openAng>mLo) && (openAng