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
adamsTrackCut.h
1
/***************************************************************************
2
*
3
*
4
*
5
* Author: Frank Laue, Ohio State, laue@mps.ohio-state.edu
6
***************************************************************************
7
*
8
* Description: part of STAR HBT Framework: StHbtMaker package
9
* a particle cut that uses NSigma cut below certain P threshhold
10
# and a PID probability above it
11
*
12
***************************************************************************
13
*
14
*
15
*
16
**************************************************************************/
17
18
#ifndef adamsTrackCut_hh
19
#define adamsTrackCut_hh
20
21
22
//#ifndef StMaker_H
23
//#include "StMaker.h"
24
//#endif
25
26
#include "
Stsstream.h
"
27
#include "StHbtMaker/Base/StHbtTrackCut.h"
28
#include "StHbtMaker/Cut/franksTrackCut.h"
29
30
class
adamsTrackCut
:
public
franksTrackCut
31
{
32
33
public
:
34
35
adamsTrackCut
();
36
adamsTrackCut
(
adamsTrackCut
& );
37
~
adamsTrackCut
();
38
39
virtual
bool
Pass(
const
StHbtTrack
*);
40
41
virtual
StHbtString Report();
42
43
void
SetPIDPThreshold(
const
float
&);
44
45
adamsTrackCut
* Clone();
46
47
std::ostringstream* finalReport()
const
;
48
49
private
:
// here are the quantities I want to cut on...
50
float
mPIDPThreshold;
51
52
protected
:
53
long
mNTracksPassed;
54
long
mNTracksFailed;
55
56
#ifdef __ROOT__
57
ClassDef(
adamsTrackCut
, 1)
58
#endif
59
};
60
61
inline
void
adamsTrackCut::SetPIDPThreshold(
const
float
& pidpt){mPIDPThreshold = pidpt;}
62
inline
adamsTrackCut
* adamsTrackCut::Clone() {
adamsTrackCut
* c =
new
adamsTrackCut
(*
this
);
return
c;}
63
64
#endif
StHbtTrack
Definition:
StHbtTrack.hh:136
Stsstream.h
franksTrackCut
Definition:
franksTrackCut.h:28
adamsTrackCut
Definition:
adamsTrackCut.h:30
Generated by
1.8.5