CMS 3D CMS Logo

TrackerSeedCleaner.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackerSeedCleaner_H
2 #define RecoMuon_TrackerSeedCleaner_H
3 
11 
23 
24 class MuonServiceProxy;
25 class TSGFromL2Muon;
27 
28 namespace edm {
29  class ParameterSet;
30  class Event;
31  class EventSetup;
32 } // namespace edm
33 
34 // ---------------------
35 // -- Class Interface --
36 // ---------------------
37 
39 public:
40  typedef std::vector<TrajectorySeed> tkSeeds;
43  : theProxyService(nullptr), theEvent(nullptr) {
44  builderName_ = pset.getParameter<std::string>("TTRHBuilder");
45  theBeamSpotTag = pset.getParameter<edm::InputTag>("beamSpot");
46  useDirection_Cleaner = pset.getParameter<bool>("directionCleaner");
47  usePt_Cleaner = pset.getParameter<bool>("ptCleaner");
48  cleanBySharedHits = pset.getParameter<bool>("cleanerFromSharedHits");
50  }
51 
53  virtual void init(const MuonServiceProxy* service);
54 
56  virtual ~TrackerSeedCleaner() {}
58  virtual void clean(const reco::TrackRef&, const RectangularEtaPhiTrackingRegion& region, tkSeeds&);
60  virtual void setEvent(const edm::Event&);
61 
62 private:
65 
70 
74 };
75 
76 #endif
MuonTrackingRegionBuilder
Definition: MuonTrackingRegionBuilder.h:43
service
Definition: service.py:1
Handle.h
RectangularEtaPhiTrackingRegion
Definition: RectangularEtaPhiTrackingRegion.h:25
TrackerSeedCleaner::TrackerSeedCleaner
TrackerSeedCleaner(const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
constructor
Definition: TrackerSeedCleaner.h:42
ESHandle.h
edm::EDGetTokenT< reco::BeamSpot >
TrackerSeedCleaner::useDirection_Cleaner
bool useDirection_Cleaner
Definition: TrackerSeedCleaner.h:73
edm
HLT enums.
Definition: AlignableModifier.h:19
TrackerSeedCleaner::theTTRHBuilder
edm::ESHandle< TransientTrackingRecHitBuilder > theTTRHBuilder
Definition: TrackerSeedCleaner.h:72
edm::Handle< reco::BeamSpot >
TkTransientTrackingRecHitBuilder.h
edm::Ref< TrackCollection >
TrackerSeedCleaner::tkSeeds
std::vector< TrajectorySeed > tkSeeds
Definition: TrackerSeedCleaner.h:40
RedundantSeedCleaner.h
TrackerSeedCleaner::beamspotToken_
edm::EDGetTokenT< reco::BeamSpot > beamspotToken_
Definition: TrackerSeedCleaner.h:68
Track.h
TrackFwd.h
BeamSpot.h
TrackerSeedCleaner
Definition: TrackerSeedCleaner.h:38
TrackerSeedCleaner::usePt_Cleaner
bool usePt_Cleaner
Definition: TrackerSeedCleaner.h:73
reco::BeamSpot
Definition: BeamSpot.h:21
edm::ESHandle< TransientTrackingRecHitBuilder >
TSGFromL2Muon
Definition: TSGFromL2Muon.h:24
Event
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:55
TrackerSeedCleaner::init
virtual void init(const MuonServiceProxy *service)
intizialization
Definition: TrackerSeedCleaner.cc:43
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
TrackerSeedCleaner::clean
virtual void clean(const reco::TrackRef &, const RectangularEtaPhiTrackingRegion &region, tkSeeds &)
the cleaner
Definition: TrackerSeedCleaner.cc:57
edm::ParameterSet
Definition: ParameterSet.h:47
ParameterSet
Definition: Functions.h:16
TrackerSeedCleaner::theEvent
const edm::Event * theEvent
Definition: TrackerSeedCleaner.h:64
HLT_FULL_cff.region
region
Definition: HLT_FULL_cff.py:84949
RectangularEtaPhiTrackingRegion.h
TrajectorySeedCollection.h
TrackerSeedCleaner::~TrackerSeedCleaner
virtual ~TrackerSeedCleaner()
destructor
Definition: TrackerSeedCleaner.h:56
InputTag.h
TrackerSeedCleaner::theRedundantCleaner
RedundantSeedCleaner * theRedundantCleaner
Definition: TrackerSeedCleaner.h:69
TrackerSeedCleaner::setEvent
virtual void setEvent(const edm::Event &)
setEvent
Definition: TrackerSeedCleaner.cc:52
RedundantSeedCleaner
Definition: RedundantSeedCleaner.h:21
TrackerSeedCleaner::cleanBySharedHits
bool cleanBySharedHits
Definition: TrackerSeedCleaner.h:73
TransientTrackingRecHitBuilder.h
ConsumesCollector.h
TrackerSeedCleaner::builderName_
std::string builderName_
Definition: TrackerSeedCleaner.h:71
EventSetup
ParameterSet.h
MuonServiceProxy
Definition: MuonServiceProxy.h:38
TrackerSeedCleaner::bsHandle_
edm::Handle< reco::BeamSpot > bsHandle_
Definition: TrackerSeedCleaner.h:67
TrackerSeedCleaner::theProxyService
const MuonServiceProxy * theProxyService
Definition: TrackerSeedCleaner.h:63
TrackerSeedCleaner::theBeamSpotTag
edm::InputTag theBeamSpotTag
Definition: TrackerSeedCleaner.h:66
edm::Event
Definition: Event.h:73
edm::InputTag
Definition: InputTag.h:15
edm::ConsumesCollector
Definition: ConsumesCollector.h:45
muonDTDigis_cfi.pset
pset
Definition: muonDTDigis_cfi.py:27