test
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 
11 
23 
24 class MuonServiceProxy;
25 class TSGFromL2Muon;
27 
28 namespace edm {class ParameterSet; class Event; class EventSetup;}
29 
30 // ---------------------
31 // -- Class Interface --
32 // ---------------------
33 
35 
36 public:
37 
38  typedef std::vector<TrajectorySeed> tkSeeds;
41  builderName_ = pset.getParameter<std::string>("TTRHBuilder");
42  theBeamSpotTag = pset.getParameter<edm::InputTag>("beamSpot");
43  useDirection_Cleaner = pset.getParameter<bool>("directionCleaner");
44  usePt_Cleaner = pset.getParameter<bool>("ptCleaner");
45  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 
68 
72 };
73 
74 #endif
75 
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
virtual void setEvent(const edm::Event &)
setEvent
RedundantSeedCleaner * theRedundantCleaner
Definition: Event.h:16
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
edm::EDGetTokenT< reco::BeamSpot > beamspotToken_
virtual void init(const MuonServiceProxy *service)
intizialization
virtual void clean(const reco::TrackRef &, const RectangularEtaPhiTrackingRegion &region, tkSeeds &)
the cleaner