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 {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");
46  beamspotToken_ = iC.consumes<reco::BeamSpot>(theBeamSpotTag);
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 
71  bool useDirection_Cleaner,usePt_Cleaner,cleanBySharedHits;
72 };
73 
74 #endif
75 
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
T getParameter(std::string const &) const
int init
Definition: HydjetWrapper.h:67
#define nullptr
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
std::vector< T * > clean
Definition: MVATrainer.cc:156
edm::ESHandle< TransientTrackingRecHitBuilder > theTTRHBuilder
HLT enums.
edm::EDGetTokenT< reco::BeamSpot > beamspotToken_