TrackingTools
PatternTools
interface
ClusterRemovalRefSetter.h
Go to the documentation of this file.
1
#ifndef TrackingTools_PatternTools_ClusterRemovalRefSetter_h
2
#define TrackingTools_PatternTools_ClusterRemovalRefSetter_h
3
4
#include "
DataFormats/Common/interface/Handle.h
"
5
#include "
DataFormats/Common/interface/DetSetVectorNew.h
"
6
#include "
DataFormats/Common/interface/Ref.h
"
7
#include "
DataFormats/SiStripCluster/interface/SiStripCluster.h
"
8
#include "
DataFormats/SiPixelCluster/interface/SiPixelCluster.h
"
9
10
#include "
DataFormats/TrackerRecHit2D/interface/ClusterRemovalInfo.h
"
11
#include "
DataFormats/TrackerRecHit2D/interface/ProjectedSiStripRecHit2D.h
"
12
#include "
DataFormats/TrackerRecHit2D/interface/SiPixelRecHit.h
"
13
#include "
DataFormats/TrackerRecHit2D/interface/SiStripMatchedRecHit2D.h
"
14
#include "
DataFormats/TrackerRecHit2D/interface/SiStripRecHit2D.h
"
15
#include "
DataFormats/TrackerRecHit2D/interface/SiStripRecHit1D.h
"
16
#include "
FWCore/Framework/interface/ConsumesCollector.h
"
17
18
#include "
FWCore/Framework/interface/Event.h
"
19
#include "
FWCore/Utilities/interface/InputTag.h
"
20
21
class
ClusterRemovalRefSetter
{
22
public
:
23
inline
ClusterRemovalRefSetter
(
const
edm::Event
&
iEvent
,
const
edm::InputTag
&
tag
);
24
inline
ClusterRemovalRefSetter
(
const
edm::Event
&
iEvent
,
const
edm::EDGetTokenT<reco::ClusterRemovalInfo>
&
token
);
25
26
inline
void
reKey
(
TrackingRecHit
*
hit
)
const
;
27
28
private
:
29
typedef
OmniClusterRef::ClusterPixelRef
ClusterPixelRef
;
30
typedef
OmniClusterRef::ClusterStripRef
ClusterStripRef
;
31
32
inline
void
reKeyPixel
(
OmniClusterRef
& clusRef)
const
;
33
inline
void
reKeyStrip
(
OmniClusterRef
& clusRef)
const
;
34
35
private
:
36
const
reco::ClusterRemovalInfo
*
cri_
;
37
};
38
39
#include "ClusterRemovalRefSetter.icc"
40
#endif
ClusterRemovalInfo.h
Handle.h
ClusterRemovalRefSetter::reKeyPixel
void reKeyPixel(OmniClusterRef &clusRef) const
edm::EDGetTokenT< reco::ClusterRemovalInfo >
SiPixelCluster.h
ClusterRemovalRefSetter::ClusterRemovalRefSetter
ClusterRemovalRefSetter(const edm::Event &iEvent, const edm::InputTag &tag)
OmniClusterRef
Definition:
OmniClusterRef.h:12
edm::Ref
Definition:
AssociativeIterator.h:58
ClusterRemovalRefSetter
Definition:
ClusterRemovalRefSetter.h:21
SiPixelRecHit.h
SiStripCluster.h
Event.h
makeGlobalPositionRcd_cfg.tag
tag
Definition:
makeGlobalPositionRcd_cfg.py:6
iEvent
int iEvent
Definition:
GenABIO.cc:224
ClusterRemovalRefSetter::reKey
void reKey(TrackingRecHit *hit) const
ProjectedSiStripRecHit2D.h
InputTag.h
reco::ClusterRemovalInfo
Definition:
ClusterRemovalInfo.h:13
TrackingRecHit
Definition:
TrackingRecHit.h:21
SiStripRecHit1D.h
ClusterRemovalRefSetter::reKeyStrip
void reKeyStrip(OmniClusterRef &clusRef) const
Ref.h
ClusterRemovalRefSetter::cri_
const reco::ClusterRemovalInfo * cri_
Definition:
ClusterRemovalRefSetter.h:36
ClusterRemovalRefSetter::ClusterPixelRef
OmniClusterRef::ClusterPixelRef ClusterPixelRef
Definition:
ClusterRemovalRefSetter.h:29
ClusterRemovalRefSetter::ClusterStripRef
OmniClusterRef::ClusterStripRef ClusterStripRef
Definition:
ClusterRemovalRefSetter.h:30
ConsumesCollector.h
SiStripMatchedRecHit2D.h
edm::Event
Definition:
Event.h:73
SiStripRecHit2D.h
DetSetVectorNew.h
edm::InputTag
Definition:
InputTag.h:15
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
unpackBuffers-CaloStage2.token
token
Definition:
unpackBuffers-CaloStage2.py:316
Generated for CMSSW Reference Manual by
1.8.16