Analysis Software
Documentation for sPHENIX simulation software
 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 {
18 {
19  public:
22  : _measurement(NULL)
23  , _clusterID(UINT_MAX){};
24 
26  virtual ~Measurement() {}
27 
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
46  {
47  return _clusterkey;
48  }
50  {
51  _clusterkey = clusterkey;
52  }
53 
54  protected:
56  unsigned int _clusterID;
58 
59 };
60 } // namespace PHGenFit
61 
62 #endif