Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
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
virtual
~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
coresoftware
blob
master
offline
packages
PHGenFitPkg
PHGenFit
Measurement.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:08
using
1.8.2 with
sPHENIX GitHub integration