1 ///////////////////////////////////////////////////////////////////////////
3 // AliFemtoDummyPairCut: a summy pair cut. Accepts all pairs //
5 ///////////////////////////////////////////////////////////////////////////
6 /***************************************************************************
10 * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu
11 ***************************************************************************
13 * Description: part of STAR HBT Framework: AliFemtoMaker package
14 * a do-nothing pair cut that simply says "true" to every pair
16 ***************************************************************************
19 * Revision 1.2.2.1 2007/10/12 14:28:37 akisiel
20 * New wave of cleanup and rule conformance
22 * Revision 1.2 2007/05/22 09:01:42 akisiel
23 * Add the possibiloity to save cut settings in the ROOT file
25 * Revision 1.1 2007/05/16 10:22:11 akisiel
26 * Making the directory structure of AliFemto flat. All files go into one common directory
28 * Revision 1.2 2007/05/03 09:41:06 akisiel
29 * Fixing Effective C++ warnings
31 * Revision 1.1.1.1 2007/04/25 15:38:41 panos
32 * Importing the HBT code dir
34 * Revision 1.1.1.1 2007-03-07 10:14:49 mchojnacki
35 * First version on CVS
37 * Revision 1.3 2000/01/25 17:35:02 laue
38 * I. In order to run the stand alone version of the AliFemtoMaker the following
39 * changes have been done:
40 * a) all ClassDefs and ClassImps have been put into #ifdef __ROOT__ statements
41 * b) unnecessary includes of StMaker.h have been removed
42 * c) the subdirectory AliFemtoMaker/doc/Make has been created including everything
43 * needed for the stand alone version
45 * II. To reduce the amount of compiler warning
46 * a) some variables have been type casted
47 * b) some destructors have been declared as virtual
49 * Revision 1.2 1999/07/06 22:33:21 lisa
50 * Adjusted all to work in pro and new - dev itself is broken
52 * Revision 1.1.1.1 1999/06/29 16:02:56 lisa
53 * Installation of AliFemtoMaker
55 **************************************************************************/
57 #include "AliFemtoDummyPairCut.h"
62 ClassImp(AliFemtoDummyPairCut)
66 AliFemtoDummyPairCut::AliFemtoDummyPairCut() :
73 AliFemtoDummyPairCut::~AliFemtoDummyPairCut(){
77 bool AliFemtoDummyPairCut::Pass(const AliFemtoPair* /* pair */){
80 temp ? fNPairsPassed++ : fNPairsFailed++;
84 AliFemtoString AliFemtoDummyPairCut::Report(){
85 // prepare a report from the execution
86 string stemp = "AliFemtoDummy Pair Cut - total dummy-- always returns true\n";
88 sprintf(ctemp,"Number of pairs which passed:\t%ld Number which failed:\t%ld\n",fNPairsPassed,fNPairsFailed);
90 AliFemtoString returnThis = stemp;
94 TList *AliFemtoDummyPairCut::ListSettings()
96 // return a list of settings in a writable form
97 TList *tListSetttings = new TList();
99 return tListSetttings;