/*************************************************************************** * * $Id$ * * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu *************************************************************************** * * Description: part of STAR HBT Framework: AliFemtoMaker package * a do-nothing pair cut that simply says "true" to every pair * *************************************************************************** * * $Log$ * Revision 1.1.1.1 2007-03-07 10:14:49 mchojnacki * First version on CVS * * Revision 1.3 2000/01/25 17:35:02 laue * I. In order to run the stand alone version of the AliFemtoMaker the following * changes have been done: * a) all ClassDefs and ClassImps have been put into #ifdef __ROOT__ statements * b) unnecessary includes of StMaker.h have been removed * c) the subdirectory AliFemtoMaker/doc/Make has been created including everything * needed for the stand alone version * * II. To reduce the amount of compiler warning * a) some variables have been type casted * b) some destructors have been declared as virtual * * Revision 1.2 1999/07/06 22:33:21 lisa * Adjusted all to work in pro and new - dev itself is broken * * Revision 1.1.1.1 1999/06/29 16:02:56 lisa * Installation of AliFemtoMaker * **************************************************************************/ #include "Cut/AliFemtoDummyPairCut.h" #include #include #ifdef __ROOT__ ClassImp(AliFemtoDummyPairCut) #endif //__________________ AliFemtoDummyPairCut::AliFemtoDummyPairCut(){ fNPairsPassed = fNPairsFailed = 0; } //__________________ //AliFemtoDummyPairCut::~AliFemtoDummyPairCut(){ // /* no-op */ //} //__________________ bool AliFemtoDummyPairCut::Pass(const AliFemtoPair* pair){ bool temp = true; temp ? fNPairsPassed++ : fNPairsFailed++; return true; } //__________________ AliFemtoString AliFemtoDummyPairCut::Report(){ string Stemp = "AliFemtoDummy Pair Cut - total dummy-- always returns true\n"; char Ctemp[100]; sprintf(Ctemp,"Number of pairs which passed:\t%ld Number which failed:\t%ld\n",fNPairsPassed,fNPairsFailed); Stemp += Ctemp; AliFemtoString returnThis = Stemp; return returnThis; } //__________________