]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWG2/FEMTOSCOPY/AliFemto/AliFemtoDummyPairCut.h
Bring AliFemto up to date with latest code developements
[u/mrichter/AliRoot.git] / PWG2 / FEMTOSCOPY / AliFemto / AliFemtoDummyPairCut.h
1 ///////////////////////////////////////////////////////////////////////////
2 //                                                                       //
3 // AliFemtoDummyPairCut: a summy pair cut. Accepts all pairs             //
4 //                                                                       //
5 ///////////////////////////////////////////////////////////////////////////
6 /***************************************************************************
7  *
8  * $Id$
9  *
10  * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu
11  ***************************************************************************
12  *
13  * Description: part of STAR HBT Framework: AliFemtoMaker package
14  *   a do-nothing pair cut that simply says "true" to every pair           
15  *
16  ***************************************************************************
17  *
18  * $Log$
19  * Revision 1.2.2.1  2007/10/12 14:28:37  akisiel
20  * New wave of cleanup and rule conformance
21  *
22  * Revision 1.2  2007/05/22 09:01:42  akisiel
23  * Add the possibiloity to save cut settings in the ROOT file
24  *
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
27  *
28  * Revision 1.2  2007/05/03 09:41:06  akisiel
29  * Fixing Effective C++ warnings
30  *
31  * Revision 1.1.1.1  2007/04/25 15:38:41  panos
32  * Importing the HBT code dir
33  *
34  * Revision 1.1.1.1  2007/03/07 10:14:49  mchojnacki
35  * First version on CVS
36  *
37  * Revision 1.5  2000/03/23 22:57:28  laue
38  * Clone() function implemented
39  *
40  * Revision 1.4  2000/01/25 17:35:03  laue
41  * I. In order to run the stand alone version of the AliFemtoMaker the following
42  * changes have been done:
43  * a) all ClassDefs and ClassImps have been put into #ifdef __ROOT__ statements
44  * b) unnecessary includes of StMaker.h have been removed
45  * c) the subdirectory AliFemtoMaker/doc/Make has been created including everything
46  * needed for the stand alone version
47  *
48  * II. To reduce the amount of compiler warning
49  * a) some variables have been type casted
50  * b) some destructors have been declared as virtual
51  *
52  * Revision 1.3  1999/10/15 01:57:05  lisa
53  * Important enhancement of AliFemtoMaker - implement Franks CutMonitors
54  * ----------------------------------------------------------
55  * This means 3 new files in Infrastructure area (CutMonitor),
56  * several specific CutMonitor classes in the Cut area
57  * and a new base class in the Base area (AliFemtoCutMonitor).
58  * This means also changing all Cut Base class header files from .h to .h
59  * so we have access to CutMonitor methods from Cint command line.
60  * This last means
61  * 1) files which include these header files are slightly modified
62  * 2) a side benefit: the TrackCuts and V0Cuts no longer need
63  * a SetMass() implementation in each Cut class, which was stupid.
64  * Also:
65  * -----
66  * Include Franks AliFemtoAssociationReader
67  * ** None of these changes should affect any user **
68  *
69  * Revision 1.2  1999/07/06 22:33:21  lisa
70  * Adjusted all to work in pro and new - dev itself is broken
71  *
72  * Revision 1.1.1.1  1999/06/29 16:02:56  lisa
73  * Installation of AliFemtoMaker
74  *
75  **************************************************************************/
76
77
78 #ifndef ALIFEMTODUMMYPAIRCUT_H
79 #define ALIFEMTODUMMYPAIRCUT_H
80
81 // do I need these lines ?
82 //#ifndef StMaker_H
83 //#include "StMaker.h"
84 //#endif
85
86 #include "AliFemtoPairCut.h"
87
88 class AliFemtoDummyPairCut : public AliFemtoPairCut{
89 public:
90   AliFemtoDummyPairCut();
91   AliFemtoDummyPairCut(const AliFemtoDummyPairCut&);
92   virtual ~AliFemtoDummyPairCut();
93
94   virtual bool Pass(const AliFemtoPair*);
95   virtual AliFemtoString Report();
96   virtual TList *ListSettings();
97   AliFemtoDummyPairCut* Clone();
98
99 private:
100   long fNPairsPassed;  // number of pairs analyzed by this cut that passed
101   long fNPairsFailed;  // number of pairs analyzed by this cut that failed
102
103 #ifdef __ROOT__
104   ClassDef(AliFemtoDummyPairCut, 1)
105 #endif
106 };
107
108 inline AliFemtoDummyPairCut::AliFemtoDummyPairCut(const AliFemtoDummyPairCut& c) : AliFemtoPairCut(c), fNPairsPassed(0), fNPairsFailed(0) { /* no-op */ }
109 inline AliFemtoDummyPairCut* AliFemtoDummyPairCut::Clone() { AliFemtoDummyPairCut* c = new AliFemtoDummyPairCut(*this); return c;}
110
111 #endif