RecoTracker
MkFit
interface
MkFitHitWrapper.h
Go to the documentation of this file.
1
#ifndef RecoTracker_MkFit_MkFitHitWrapper_h
2
#define RecoTracker_MkFit_MkFitHitWrapper_h
3
4
#include "
DataFormats/Provenance/interface/ProductID.h
"
5
6
#include <memory>
7
#include <vector>
8
9
namespace
mkfit
{
10
class
Hit
;
11
using
HitVec
= std::vector<Hit>;
12
}
// namespace mkfit
13
14
class
MkFitHitWrapper
{
15
public
:
16
MkFitHitWrapper
();
17
~MkFitHitWrapper
();
18
19
MkFitHitWrapper
(
MkFitHitWrapper
const
&) =
delete
;
20
MkFitHitWrapper
&
operator=
(
MkFitHitWrapper
const
&) =
delete
;
21
MkFitHitWrapper
(
MkFitHitWrapper
&&);
22
MkFitHitWrapper
&
operator=
(
MkFitHitWrapper
&&);
23
24
void
setClustersID
(
edm::ProductID
id
) {
clustersID_
=
id
; }
25
edm::ProductID
clustersID
()
const
{
return
clustersID_
; }
26
27
mkfit::HitVec
&
hits
() {
return
hits_
; }
28
mkfit::HitVec
const
&
hits
()
const
{
return
hits_
; }
29
30
private
:
31
// Vector is indexed by the cluster index
32
mkfit::HitVec
hits_
;
33
edm::ProductID
clustersID_
;
34
};
35
36
#endif
Hit
Definition:
HitCollection.h:12
MkFitHitWrapper::operator=
MkFitHitWrapper & operator=(MkFitHitWrapper const &)=delete
MkFitHitWrapper::setClustersID
void setClustersID(edm::ProductID id)
Definition:
MkFitHitWrapper.h:24
mkfit
Definition:
MkFitEventOfHits.h:6
MkFitHitWrapper::hits_
mkfit::HitVec hits_
Definition:
MkFitHitWrapper.h:32
MkFitHitWrapper::MkFitHitWrapper
MkFitHitWrapper()
MkFitHitWrapper
Definition:
MkFitHitWrapper.h:14
MkFitHitWrapper::hits
mkfit::HitVec const & hits() const
Definition:
MkFitHitWrapper.h:28
ProductID.h
MkFitHitWrapper::clustersID
edm::ProductID clustersID() const
Definition:
MkFitHitWrapper.h:25
MkFitHitWrapper::~MkFitHitWrapper
~MkFitHitWrapper()
MkFitHitWrapper::clustersID_
edm::ProductID clustersID_
Definition:
MkFitHitWrapper.h:33
MkFitHitWrapper::hits
mkfit::HitVec & hits()
Definition:
MkFitHitWrapper.h:27
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:29
mkfit::HitVec
std::vector< Hit > HitVec
Definition:
MkFitHitWrapper.h:11
edm::ProductID
Definition:
ProductID.h:27
Generated for CMSSW Reference Manual by
1.8.16