20 #include "StHbtMaker/Cut/ExitSepPairCut.h"
29 ExitSepPairCut::ExitSepPairCut(){
30 mNPairsPassed = mNPairsFailed = 0;
37 bool ExitSepPairCut::Pass(
const StHbtPair* pair){
38 double sep = pair->NominalTpcExitSeparation();
39 bool temp = ( (sep>mEntSepLo) &&
42 temp ? mNPairsPassed++ : mNPairsFailed++;
46 StHbtString ExitSepPairCut::Report(){
47 string Stemp =
"Exit Separation Pair Cut\n";
49 sprintf(Ctemp,
"Range of cut:\t%E ... \t%E\n",mEntSepLo,mEntSepHi);
51 sprintf(Ctemp,
"Number of pairs which passed:\t%ld Number which failed:\t%ld\n",mNPairsPassed,mNPairsFailed);
53 StHbtString returnThis = Stemp;
57 void ExitSepPairCut::SetExitSepRange(
const double& Lo,
const double& Hi) {