CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
TrackerSeedCleaner.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackerSeedCleaner_H
2 #define RecoMuon_TrackerSeedCleaner_H
3 
11 
24 
25 class MuonServiceProxy;
26 class TSGFromL2Muon;
28 
29 namespace edm {
30  class ParameterSet;
31  class Event;
32  class EventSetup;
33 } // namespace edm
34 
35 // ---------------------
36 // -- Class Interface --
37 // ---------------------
38 
40 public:
41  typedef std::vector<TrajectorySeed> tkSeeds;
44  : theProxyService(nullptr), theEvent(nullptr) {
45  builderName_ = pset.getParameter<std::string>("TTRHBuilder");
46  theBeamSpotTag = pset.getParameter<edm::InputTag>("beamSpot");
47  useDirection_Cleaner = pset.getParameter<bool>("directionCleaner");
48  usePt_Cleaner = pset.getParameter<bool>("ptCleaner");
49  cleanBySharedHits = pset.getParameter<bool>("cleanerFromSharedHits");
52  }
53 
55  virtual void init(const MuonServiceProxy* service);
56 
58  virtual ~TrackerSeedCleaner() {}
60  virtual void clean(const reco::TrackRef&, const RectangularEtaPhiTrackingRegion& region, tkSeeds&);
62  virtual void setEvent(const edm::Event&);
63 
64 private:
67 
72 
77 };
78 
79 #endif
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
virtual void setEvent(const edm::Event &)
setEvent
RedundantSeedCleaner * theRedundantCleaner
edm::InputTag theBeamSpotTag
const edm::Event * theEvent
const MuonServiceProxy * theProxyService
std::vector< TrajectorySeed > tkSeeds
edm::Handle< reco::BeamSpot > bsHandle_
TrackerSeedCleaner(const edm::ParameterSet &pset, edm::ConsumesCollector &iC)
constructor
virtual ~TrackerSeedCleaner()
destructor
edm::ESHandle< TransientTrackingRecHitBuilder > theTTRHBuilder
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
edm::EDGetTokenT< reco::BeamSpot > beamspotToken_
virtual void init(const MuonServiceProxy *service)
intizialization
edm::ESGetToken< TransientTrackingRecHitBuilder, TransientRecHitRecord > theTTRHBuilderToken
virtual void clean(const reco::TrackRef &, const RectangularEtaPhiTrackingRegion &region, tkSeeds &)
the cleaner