EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
CbmRichRingFinderData.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file CbmRichRingFinderData.h
1
/*
2
* CbmRichRingFinderData.h
3
*
4
*/
5
6
#ifndef CBM_RICH_RING_FINDER_DATA_H_
7
#define CBM_RICH_RING_FINDER_DATA_H_
8
9
#include <functional>
10
11
20
class
CbmRichHoughHit
{
21
public
:
25
CbmRichHoughHit
():
26
fHit
(),
27
fX2plusY2
(0.f),
28
fId
(0),
29
fIsUsed
(
false
)
30
{ }
31
32
virtual
~CbmRichHoughHit
(){}
33
34
CbmRichHitLight
fHit
;
35
float
fX2plusY2
;
36
unsigned
short
fId
;
37
bool
fIsUsed
;
38
};
39
48
class
CbmRichHoughHitCmpUp
:
49
public
std::binary_function<
50
const CbmRichHoughHit,
51
const CbmRichHoughHit,
52
bool>
53
{
54
public
:
55
56
virtual
~CbmRichHoughHitCmpUp
(){}
57
58
bool
operator()
(
59
const
CbmRichHoughHit
&m1,
60
const
CbmRichHoughHit
&
m2
)
const
61
{
62
return
m1.
fHit
.
fX
< m2.
fHit
.
fX
;
63
}
64
};
65
66
75
class
CbmRichRingComparatorMore
:
76
public
std::binary_function<
77
const CbmRichRingLight*,
78
const CbmRichRingLight*,
79
bool>
80
{
81
public
:
82
83
virtual
~CbmRichRingComparatorMore
(){}
84
85
bool
operator()
(
86
const
CbmRichRingLight
* ring1,
87
const
CbmRichRingLight
* ring2)
const
88
{
89
return
ring1->
GetSelectionNN
() > ring2->
GetSelectionNN
();
90
}
91
};
92
93
94
#endif
/* CBM_RICH_RING_FINDER_DATA_H_ */
EicRoot
blob
master
rich
finder
CbmRichRingFinderData.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:37
using
1.8.2 with
EIC GitHub integration