CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
TrackerSeedCleaner.h
Go to the documentation of this file.
1 #ifndef RecoMuon_TrackerSeedCleaner_H
2 #define RecoMuon_TrackerSeedCleaner_H
3 
13 
24 
25 class MuonServiceProxy;
26 class TSGFromL2Muon;
28 
29 namespace edm {class ParameterSet; class Event; class EventSetup;}
30 
31 // ---------------------
32 // -- Class Interface --
33 // ---------------------
34 
36 
37 public:
38 
39  typedef std::vector<TrajectorySeed> tkSeeds;
42  builderName_ = pset.getParameter<std::string>("TTRHBuilder");
43  theBeamSpotTag = pset.getParameter<edm::InputTag>("beamSpot");
44  useDirection_Cleaner = pset.getParameter<bool>("directionCleaner");
45  usePt_Cleaner = pset.getParameter<bool>("ptCleaner");
46  cleanBySharedHits = pset.getParameter<bool>("cleanerFromSharedHits");
47  }
48 
50  virtual void init(const MuonServiceProxy *service);
51 
53  virtual ~TrackerSeedCleaner() {}
55  virtual void clean(const reco::TrackRef& , const RectangularEtaPhiTrackingRegion& region, tkSeeds&);
57  virtual void setEvent(const edm::Event&);
58 
59 private:
60 
63 
66 
68 
72 };
73 
74 #endif
75 
T getParameter(std::string const &) const
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)
constructor
virtual ~TrackerSeedCleaner()
destructor
edm::ESHandle< TransientTrackingRecHitBuilder > theTTRHBuilder
virtual void init(const MuonServiceProxy *service)
intizialization
virtual void clean(const reco::TrackRef &, const RectangularEtaPhiTrackingRegion &region, tkSeeds &)
the cleaner