/*************************************************************************** * * $Id: AverageSepPairCut.cxx,v 1.1 2000/10/05 23:09:02 lisa Exp $ * * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu *************************************************************************** * * Description: part of STAR HBT Framework: StHbtMaker package * cut on nominal average Separation of the pair - for dealing with track merging * *************************************************************************** * * $Log: AverageSepPairCut.cxx,v $ * Revision 1.1 2000/10/05 23:09:02 lisa * Added kT-dependent radii to mixed-event simulator AND implemented AverageSeparation Cut and CorrFctn * * **************************************************************************/ #include "StHbtMaker/Cut/AverageSepPairCut.h" #include #include #ifdef __ROOT__ ClassImp(AverageSepPairCut) #endif //__________________ AverageSepPairCut::AverageSepPairCut(){ mNPairsPassed = mNPairsFailed = 0; } //__________________ //AverageSepPairCut::~AverageSepPairCut(){ // /* no-op */ //} //__________________ bool AverageSepPairCut::Pass(const StHbtPair* pair){ double sep = pair->NominalTpcAverageSeparation(); bool temp = ( (sep>mAveSepLo) && (sep