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