CbmRoot
CbmRichRingFinderData.h
Go to the documentation of this file.
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 "
CbmRichRingLight.h
"
10
11
#include <functional>
12
21
class
CbmRichHoughHit
{
22
public
:
26
CbmRichHoughHit
() :
fHit
(),
fX2plusY2
(0.
f
),
fTime
(0.),
fIsUsed
(false) {}
27
28
virtual
~CbmRichHoughHit
() {}
29
30
CbmRichHitLight
fHit
;
31
float
fX2plusY2
;
32
double
fTime
;
33
bool
fIsUsed
;
34
};
35
44
class
CbmRichHoughHitCmpUp
:
45
public
std::
46
binary_function<const CbmRichHoughHit, const CbmRichHoughHit, bool> {
47
public
:
48
virtual
~CbmRichHoughHitCmpUp
() {}
49
50
bool
operator()
(
const
CbmRichHoughHit
& m1,
const
CbmRichHoughHit
& m2)
const
{
51
return
m1.
fHit
.
fX
< m2.
fHit
.
fX
;
52
}
53
};
54
55
64
class
CbmRichRingComparatorMore
:
65
public
std::
66
binary_function<const CbmRichRingLight*, const CbmRichRingLight*, bool> {
67
public
:
68
virtual
~CbmRichRingComparatorMore
() {}
69
70
bool
operator()
(
const
CbmRichRingLight
* ring1,
71
const
CbmRichRingLight
* ring2)
const
{
72
return
ring1->
GetSelectionNN
() > ring2->
GetSelectionNN
();
73
}
74
};
75
76
77
#endif
/* CBM_RICH_RING_FINDER_DATA_H_ */
f
float f
Definition:
L1/vectors/P4_F32vec4.h:24
CbmRichHoughHit::CbmRichHoughHit
CbmRichHoughHit()
Standard constructor.
Definition:
CbmRichRingFinderData.h:26
CbmRichHoughHitCmpUp
CbmRichHoughHit comparator for hits sorting by X coordinate.
Definition:
CbmRichRingFinderData.h:46
CbmRichHoughHit::fX2plusY2
float fX2plusY2
Definition:
CbmRichRingFinderData.h:31
CbmRichHoughHit
Implementation of RICH hit for ring finder algorithm.
Definition:
CbmRichRingFinderData.h:21
CbmRichHoughHitCmpUp::operator()
bool operator()(const CbmRichHoughHit &m1, const CbmRichHoughHit &m2) const
Definition:
CbmRichRingFinderData.h:50
CbmRichHitLight::fX
float fX
Definition:
CbmRichRingLight.h:34
CbmRichHoughHitCmpUp::~CbmRichHoughHitCmpUp
virtual ~CbmRichHoughHitCmpUp()
Definition:
CbmRichRingFinderData.h:48
CbmRichRingLight.h
CbmRichHoughHit::~CbmRichHoughHit
virtual ~CbmRichHoughHit()
Definition:
CbmRichRingFinderData.h:28
CbmRichHitLight
Definition:
CbmRichRingLight.h:14
CbmRichRingComparatorMore::~CbmRichRingComparatorMore
virtual ~CbmRichRingComparatorMore()
Definition:
CbmRichRingFinderData.h:68
CbmRichRingComparatorMore
CbmRichRingLight comparator based on the selection ANN criterion.
Definition:
CbmRichRingFinderData.h:66
CbmRichRingLight::GetSelectionNN
float GetSelectionNN() const
Definition:
CbmRichRingLight.h:241
CbmRichHoughHit::fIsUsed
bool fIsUsed
Definition:
CbmRichRingFinderData.h:33
CbmRichHoughHit::fTime
double fTime
Definition:
CbmRichRingFinderData.h:32
CbmRichRingComparatorMore::operator()
bool operator()(const CbmRichRingLight *ring1, const CbmRichRingLight *ring2) const
Definition:
CbmRichRingFinderData.h:70
CbmRichRingLight
Definition:
CbmRichRingLight.h:39
CbmRichHoughHit::fHit
CbmRichHitLight fHit
Definition:
CbmRichRingFinderData.h:30
reco
detectors
rich
finder
CbmRichRingFinderData.h
Generated on Wed Oct 28 2020 15:11:44 for CbmRoot by
1.8.18