29 #include "StHbtMaker/Cut/GenericTripletCut.h"
37 GenericTripletCut::GenericTripletCut(
float EntSepCut){
38 mEntSepCut = EntSepCut;
39 mNTripletsPassed = mNTripletsFailed = 0;
46 bool GenericTripletCut::Pass(
const StHbtTriplet* Triplet){
48 if (mEntSepCut) temp = (Triplet->NominalTpcEntranceSeparation()>mEntSepCut);
49 temp ? mNTripletsPassed++ : mNTripletsFailed++;
53 StHbtString GenericTripletCut::Report(){
54 StHbtString Stemp =
"Generic Triplet Cut - total dummy-- always returns true\n";
56 sprintf(Ctemp,
"Number of Triplets which passed:\t%ld Number which failed:\t%ld\n",mNTripletsPassed,mNTripletsFailed);
58 StHbtString returnThis = Stemp;