00001 /*************************************************************************** 00002 * 00003 * $Id: mikesPairCut.h,v 1.5 2000/03/23 22:57:28 laue Exp $ 00004 * 00005 * Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu 00006 *************************************************************************** 00007 * 00008 * Description: part of STAR HBT Framework: StHbtMaker package 00009 * a do-nothing pair cut that simply says "true" to every pair 00010 * 00011 *************************************************************************** 00012 * 00013 * $Log: mikesPairCut.h,v $ 00014 * Revision 1.5 2000/03/23 22:57:28 laue 00015 * Clone() function implemented 00016 * 00017 * Revision 1.4 2000/01/25 17:35:03 laue 00018 * I. In order to run the stand alone version of the StHbtMaker the following 00019 * changes have been done: 00020 * a) all ClassDefs and ClassImps have been put into #ifdef __ROOT__ statements 00021 * b) unnecessary includes of StMaker.h have been removed 00022 * c) the subdirectory StHbtMaker/doc/Make has been created including everything 00023 * needed for the stand alone version 00024 * 00025 * II. To reduce the amount of compiler warning 00026 * a) some variables have been type casted 00027 * b) some destructors have been declared as virtual 00028 * 00029 * Revision 1.3 1999/10/15 01:57:05 lisa 00030 * Important enhancement of StHbtMaker - implement Franks CutMonitors 00031 * ---------------------------------------------------------- 00032 * This means 3 new files in Infrastructure area (CutMonitor), 00033 * several specific CutMonitor classes in the Cut area 00034 * and a new base class in the Base area (StHbtCutMonitor). 00035 * This means also changing all Cut Base class header files from .hh to .h 00036 * so we have access to CutMonitor methods from Cint command line. 00037 * This last means 00038 * 1) files which include these header files are slightly modified 00039 * 2) a side benefit: the TrackCuts and V0Cuts no longer need 00040 * a SetMass() implementation in each Cut class, which was stupid. 00041 * Also: 00042 * ----- 00043 * Include Franks StHbtAssociationReader 00044 * ** None of these changes should affect any user ** 00045 * 00046 * Revision 1.2 1999/07/06 22:33:21 lisa 00047 * Adjusted all to work in pro and new - dev itself is broken 00048 * 00049 * Revision 1.1.1.1 1999/06/29 16:02:56 lisa 00050 * Installation of StHbtMaker 00051 * 00052 **************************************************************************/ 00053 00054 00055 #ifndef mikesPairCut_hh 00056 #define mikesPairCut_hh 00057 00058 // do I need these lines ? 00059 //#ifndef StMaker_H 00060 //#include "StMaker.h" 00061 //#endif 00062 00063 #include "StHbtMaker/Base/StHbtPairCut.h" 00064 00065 class mikesPairCut : public StHbtPairCut{ 00066 public: 00067 mikesPairCut(); 00068 mikesPairCut(const mikesPairCut&); 00069 //~mikesPairCut(); 00070 00071 virtual bool Pass(const StHbtPair*); 00072 virtual StHbtString Report(); 00073 mikesPairCut* Clone(); 00074 00075 00076 private: 00077 long mNPairsPassed; 00078 long mNPairsFailed; 00079 00080 #ifdef __ROOT__ 00081 ClassDef(mikesPairCut, 1) 00082 #endif 00083 }; 00084 00085 inline mikesPairCut::mikesPairCut(const mikesPairCut& c) : StHbtPairCut(c) { 00086 mNPairsPassed = 0; 00087 mNPairsFailed = 0; 00088 00089 } 00090 inline mikesPairCut* mikesPairCut::Clone() { mikesPairCut* c = new mikesPairCut(*this); return c;} 00091 00092 #endif
1.5.9