Go to the documentation of this file.00001 #ifndef RecoTracker_TrackProducer_ClusterRemovalRefSetter_h
00002 #define RecoTracker_TrackProducer_ClusterRemovalRefSetter_h
00003
00004 #include "DataFormats/Common/interface/Handle.h"
00005 #include "DataFormats/Common/interface/DetSetVectorNew.h"
00006 #include "DataFormats/Common/interface/Ref.h"
00007 #include "DataFormats/SiStripCluster/interface/SiStripCluster.h"
00008 #include "DataFormats/SiPixelCluster/interface/SiPixelCluster.h"
00009
00010 #include "DataFormats/TrackerRecHit2D/interface/ClusterRemovalInfo.h"
00011 #include "DataFormats/TrackerRecHit2D/interface/ProjectedSiStripRecHit2D.h"
00012 #include "DataFormats/TrackerRecHit2D/interface/SiPixelRecHit.h"
00013 #include "DataFormats/TrackerRecHit2D/interface/SiStripMatchedRecHit2D.h"
00014 #include "DataFormats/TrackerRecHit2D/interface/SiStripRecHit2D.h"
00015 #include "DataFormats/TrackerRecHit2D/interface/SiStripRecHit1D.h"
00016
00017 #include "FWCore/Framework/interface/Event.h"
00018 #include "FWCore/Utilities/interface/InputTag.h"
00019
00020 class ClusterRemovalRefSetter {
00021 public:
00022 ClusterRemovalRefSetter(const edm::Event &iEvent, const edm::InputTag tag) ;
00023 void reKey(TrackingRecHit *hit) const ;
00024 void reKey(SiStripRecHit2D *hit, uint32_t detid) const ;
00025 void reKey(SiStripRecHit1D *hit, uint32_t detid) const ;
00026 void reKey(SiPixelRecHit *hit, uint32_t detid) const ;
00027 private:
00028 const reco::ClusterRemovalInfo *cri_;
00029 };
00030
00031 #endif