src
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
ClusterRemovalRefSetter::ClusterStripRef
OmniClusterRef::ClusterStripRef ClusterStripRef
Definition:
ClusterRemovalRefSetter.h:30
SiStripRecHit1D.h
DetSetVectorNew.h
ProjectedSiStripRecHit2D.h
edm::Ref
Definition:
AssociativeIterator.h:58
reco::ClusterRemovalInfo
Definition:
ClusterRemovalInfo.h:13
SiPixelRecHit.h
Event.h
TrackingRecHit
Definition:
TrackingRecHit.h:21
SiStripRecHit2D.h
edm::EDGetTokenT< reco::ClusterRemovalInfo >
ClusterRemovalRefSetter::reKeyPixel
void reKeyPixel(OmniClusterRef &clusRef) const
SiStripMatchedRecHit2D.h
iEvent
int iEvent
Definition:
GenABIO.cc:224
ClusterRemovalRefSetter::ClusterRemovalRefSetter
ClusterRemovalRefSetter(const edm::Event &iEvent, const edm::InputTag &tag)
ClusterRemovalRefSetter
Definition:
ClusterRemovalRefSetter.h:21
makeGlobalPositionRcd_cfg.tag
tag
Definition:
makeGlobalPositionRcd_cfg.py:6
ClusterRemovalInfo.h
ClusterRemovalRefSetter::ClusterPixelRef
OmniClusterRef::ClusterPixelRef ClusterPixelRef
Definition:
ClusterRemovalRefSetter.h:29
Ref.h
OmniClusterRef
Definition:
OmniClusterRef.h:12
hit
Definition:
SiStripHitEffFromCalibTree.cc:88
ClusterRemovalRefSetter::reKey
void reKey(TrackingRecHit *hit) const
edm::InputTag
Definition:
InputTag.h:15
SiStripCluster.h
InputTag.h
ClusterRemovalRefSetter::reKeyStrip
void reKeyStrip(OmniClusterRef &clusRef) const
edm::Event
Definition:
Event.h:73
ClusterRemovalRefSetter::cri_
const reco::ClusterRemovalInfo * cri_
Definition:
ClusterRemovalRefSetter.h:36
SiPixelCluster.h
ConsumesCollector.h
unpackBuffers-CaloStage2.token
token
Definition:
unpackBuffers-CaloStage2.py:316
Handle.h
Generated for CMSSW Reference Manual by
1.8.14