]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FEMTOSCOPY/AliFemto/Cut/AliFemtoDummyPairCut.cxx
Pad size less then cell size + ideal geom in v2
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemto / Cut / AliFemtoDummyPairCut.cxx
1 /***************************************************************************
2  *
3  * $Id$
4  *
5  * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu
6  ***************************************************************************
7  *
8  * Description: part of STAR HBT Framework: AliFemtoMaker package
9  *   a do-nothing pair cut that simply says "true" to every pair           
10  *
11  ***************************************************************************
12  *
13  * $Log$
14  * Revision 1.1.1.1  2007/04/25 15:38:41  panos
15  * Importing the HBT code dir
16  *
17  * Revision 1.1.1.1  2007-03-07 10:14:49  mchojnacki
18  * First version on CVS
19  *
20  * Revision 1.3  2000/01/25 17:35:02  laue
21  * I. In order to run the stand alone version of the AliFemtoMaker the following
22  * changes have been done:
23  * a) all ClassDefs and ClassImps have been put into #ifdef __ROOT__ statements
24  * b) unnecessary includes of StMaker.h have been removed
25  * c) the subdirectory AliFemtoMaker/doc/Make has been created including everything
26  * needed for the stand alone version
27  *
28  * II. To reduce the amount of compiler warning
29  * a) some variables have been type casted
30  * b) some destructors have been declared as virtual
31  *
32  * Revision 1.2  1999/07/06 22:33:21  lisa
33  * Adjusted all to work in pro and new - dev itself is broken
34  *
35  * Revision 1.1.1.1  1999/06/29 16:02:56  lisa
36  * Installation of AliFemtoMaker
37  *
38  **************************************************************************/
39
40 #include "Cut/AliFemtoDummyPairCut.h"
41 #include <string>
42 #include <cstdio>
43
44 #ifdef __ROOT__
45 ClassImp(AliFemtoDummyPairCut)
46 #endif
47
48 //__________________
49 AliFemtoDummyPairCut::AliFemtoDummyPairCut() :
50   fNPairsPassed(0),
51   fNPairsFailed(0)
52 {
53   /* no-op */
54 }
55 //__________________
56 //AliFemtoDummyPairCut::~AliFemtoDummyPairCut(){
57 //  /* no-op */
58 //}
59 //__________________
60 bool AliFemtoDummyPairCut::Pass(const AliFemtoPair* pair){
61   bool temp = true;
62   temp ? fNPairsPassed++ : fNPairsFailed++;
63   return true;
64 }
65 //__________________
66 AliFemtoString AliFemtoDummyPairCut::Report(){
67   string Stemp = "AliFemtoDummy Pair Cut - total dummy-- always returns true\n";
68   char Ctemp[100];
69   sprintf(Ctemp,"Number of pairs which passed:\t%ld  Number which failed:\t%ld\n",fNPairsPassed,fNPairsFailed);
70   Stemp += Ctemp;
71   AliFemtoString returnThis = Stemp;
72   return returnThis;
73 }
74 //__________________