67427ff7 |
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/03/07 10:14:49 mchojnacki |
15 | * First version on CVS |
16 | * |
17 | * Revision 1.5 2000/03/23 22:57:28 laue |
18 | * Clone() function implemented |
19 | * |
20 | * Revision 1.4 2000/01/25 17:35:03 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.3 1999/10/15 01:57:05 lisa |
33 | * Important enhancement of AliFemtoMaker - implement Franks CutMonitors |
34 | * ---------------------------------------------------------- |
35 | * This means 3 new files in Infrastructure area (CutMonitor), |
36 | * several specific CutMonitor classes in the Cut area |
37 | * and a new base class in the Base area (AliFemtoCutMonitor). |
38 | * This means also changing all Cut Base class header files from .h to .h |
39 | * so we have access to CutMonitor methods from Cint command line. |
40 | * This last means |
41 | * 1) files which include these header files are slightly modified |
42 | * 2) a side benefit: the TrackCuts and V0Cuts no longer need |
43 | * a SetMass() implementation in each Cut class, which was stupid. |
44 | * Also: |
45 | * ----- |
46 | * Include Franks AliFemtoAssociationReader |
47 | * ** None of these changes should affect any user ** |
48 | * |
49 | * Revision 1.2 1999/07/06 22:33:21 lisa |
50 | * Adjusted all to work in pro and new - dev itself is broken |
51 | * |
52 | * Revision 1.1.1.1 1999/06/29 16:02:56 lisa |
53 | * Installation of AliFemtoMaker |
54 | * |
55 | **************************************************************************/ |
56 | |
57 | |
58 | #ifndef AliFemtoDummyPairCut_hh |
59 | #define AliFemtoDummyPairCut_hh |
60 | |
61 | // do I need these lines ? |
62 | //#ifndef StMaker_H |
63 | //#include "StMaker.h" |
64 | //#endif |
65 | |
66 | #include "Base/AliFemtoPairCut.h" |
67 | |
68 | class AliFemtoDummyPairCut : public AliFemtoPairCut{ |
69 | public: |
70 | AliFemtoDummyPairCut(); |
71 | AliFemtoDummyPairCut(const AliFemtoDummyPairCut&); |
72 | //~AliFemtoDummyPairCut(); |
73 | |
74 | virtual bool Pass(const AliFemtoPair*); |
75 | virtual AliFemtoString Report(); |
76 | AliFemtoDummyPairCut* Clone(); |
77 | |
78 | |
79 | private: |
80 | long fNPairsPassed; |
81 | long fNPairsFailed; |
82 | |
83 | #ifdef __ROOT__ |
84 | ClassDef(AliFemtoDummyPairCut, 1) |
85 | #endif |
86 | }; |
87 | |
88 | inline AliFemtoDummyPairCut::AliFemtoDummyPairCut(const AliFemtoDummyPairCut& c) : AliFemtoPairCut(c) { |
89 | fNPairsPassed = 0; |
90 | fNPairsFailed = 0; |
91 | |
92 | } |
93 | inline AliFemtoDummyPairCut* AliFemtoDummyPairCut::Clone() { AliFemtoDummyPairCut* c = new AliFemtoDummyPairCut(*this); return c;} |
94 | |
95 | #endif |