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
Measurement.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file Measurement.h
1
7
#ifndef PHGENFIT_MEASUREMENT_H
8
#define PHGENFIT_MEASUREMENT_H
9
10
#include <GenFit/AbsMeasurement.h>
11
#include <
trackbase/TrkrDefs.h
>
12
13
#include <climits>
14
15
namespace
PHGenFit
16
{
17
class
Measurement
18
{
19
public
:
21
Measurement
()
22
:
_measurement
(NULL)
23
,
_clusterID
(UINT_MAX){};
24
26
~Measurement
() {}
27
29
genfit::AbsMeasurement
*
getMeasurement
()
30
{
31
return
_measurement
;
32
}
33
34
// old tracking
35
unsigned
int
get_cluster_ID
()
const
36
{
37
return
_clusterID
;
38
}
39
void
set_cluster_ID
(
unsigned
int
clusterId)
40
{
41
_clusterID
= clusterId;
42
}
43
44
// new tracking
45
TrkrDefs::cluskey
get_cluster_key
()
const
46
{
47
return
_clusterkey
;
48
}
49
void
set_cluster_key
(
TrkrDefs::cluskey
clusterkey)
50
{
51
_clusterkey
= clusterkey;
52
}
53
54
protected
:
55
genfit::AbsMeasurement
*
_measurement
;
56
unsigned
int
_clusterID
;
57
TrkrDefs::cluskey
_clusterkey
;
58
59
};
60
}
// namespace PHGenFit
61
62
#endif
fun4all_coresoftware
blob
master
offline
packages
PHGenFitPkg
PHGenFit
Measurement.h
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:45
using
1.8.2 with
EIC GitHub integration