StRoot
1
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Groups
Pages
StHbtMaker
Cut
mikesPairCut.h
1
/***************************************************************************
2
*
3
* $Id: mikesPairCut.h,v 1.5 2000/03/23 22:57:28 laue Exp $
4
*
5
* Author: Mike Lisa, Ohio State, lisa@mps.ohio-state.edu
6
***************************************************************************
7
*
8
* Description: part of STAR HBT Framework: StHbtMaker package
9
* a do-nothing pair cut that simply says "true" to every pair
10
*
11
***************************************************************************
12
*
13
* $Log: mikesPairCut.h,v $
14
* Revision 1.5 2000/03/23 22:57:28 laue
15
* Clone() function implemented
16
*
17
* Revision 1.4 2000/01/25 17:35:03 laue
18
* I. In order to run the stand alone version of the StHbtMaker the following
19
* changes have been done:
20
* a) all ClassDefs and ClassImps have been put into #ifdef __ROOT__ statements
21
* b) unnecessary includes of StMaker.h have been removed
22
* c) the subdirectory StHbtMaker/doc/Make has been created including everything
23
* needed for the stand alone version
24
*
25
* II. To reduce the amount of compiler warning
26
* a) some variables have been type casted
27
* b) some destructors have been declared as virtual
28
*
29
* Revision 1.3 1999/10/15 01:57:05 lisa
30
* Important enhancement of StHbtMaker - implement Franks CutMonitors
31
* ----------------------------------------------------------
32
* This means 3 new files in Infrastructure area (CutMonitor),
33
* several specific CutMonitor classes in the Cut area
34
* and a new base class in the Base area (StHbtCutMonitor).
35
* This means also changing all Cut Base class header files from .hh to .h
36
* so we have access to CutMonitor methods from Cint command line.
37
* This last means
38
* 1) files which include these header files are slightly modified
39
* 2) a side benefit: the TrackCuts and V0Cuts no longer need
40
* a SetMass() implementation in each Cut class, which was stupid.
41
* Also:
42
* -----
43
* Include Franks StHbtAssociationReader
44
* ** None of these changes should affect any user **
45
*
46
* Revision 1.2 1999/07/06 22:33:21 lisa
47
* Adjusted all to work in pro and new - dev itself is broken
48
*
49
* Revision 1.1.1.1 1999/06/29 16:02:56 lisa
50
* Installation of StHbtMaker
51
*
52
**************************************************************************/
53
54
55
#ifndef mikesPairCut_hh
56
#define mikesPairCut_hh
57
58
// do I need these lines ?
59
//#ifndef StMaker_H
60
//#include "StMaker.h"
61
//#endif
62
63
#include "StHbtMaker/Base/StHbtPairCut.h"
64
65
class
mikesPairCut
:
public
StHbtPairCut
{
66
public
:
67
mikesPairCut
();
68
mikesPairCut
(
const
mikesPairCut
&);
69
//~mikesPairCut();
70
71
virtual
bool
Pass(
const
StHbtPair
*);
72
virtual
StHbtString Report();
73
mikesPairCut
* Clone();
74
75
76
private
:
77
long
mNPairsPassed;
78
long
mNPairsFailed;
79
80
#ifdef __ROOT__
81
ClassDef(
mikesPairCut
, 1)
82
#endif
83
};
84
85
inline
mikesPairCut::mikesPairCut(
const
mikesPairCut
& c) :
StHbtPairCut
(c) {
86
mNPairsPassed = 0;
87
mNPairsFailed = 0;
88
89
}
90
inline
mikesPairCut
* mikesPairCut::Clone() {
mikesPairCut
* c =
new
mikesPairCut
(*
this
);
return
c;}
91
92
#endif
StHbtPair
Definition:
StHbtPair.hh:98
mikesPairCut
Definition:
mikesPairCut.h:65
StHbtPairCut
Definition:
StHbtPairCut.h:87
Generated by
1.8.5