CMS 3D CMS Logo

FastTSGFromL2Muon.h
Go to the documentation of this file.
1 #ifndef FastSimulation_Muons_FastTSGFromL2Muon_H
2 #define FastSimulation_Muons_FastTSGFromL2Muon_H
3 
9 
10 #include <vector>
11 namespace edm {
12  class ParameterSet;
13  class Event;
14  class EventSetup;
15 } // namespace edm
16 
17 class MuonServiceProxy;
20 class SimTrack;
21 
22 //
23 // generate seeds corresponding to L2 muons
24 //
25 
27 public:
29  ~FastTSGFromL2Muon() override = default;
30  void produce(edm::Event& ev, const edm::EventSetup& es) override;
31 
32 private:
33  bool clean(reco::TrackRef muRef,
35  const BasicTrajectorySeed* aSeed,
36  const SimTrack& theSimTrack);
37 
38 private:
39  const double thePtCut;
41  const std::vector<edm::InputTag> theSeedCollectionLabels;
43 
46  std::vector<edm::EDGetTokenT<edm::View<TrajectorySeed> > > seedToken_;
47 
48  std::unique_ptr<MuonTrackingRegionBuilder> theRegionBuilder;
49 };
50 #endif
const double thePtCut
const edm::EDGetTokenT< edm::SimTrackContainer > simTrackToken_
void produce(edm::Event &ev, const edm::EventSetup &es) override
~FastTSGFromL2Muon() override=default
std::vector< edm::EDGetTokenT< edm::View< TrajectorySeed > > > seedToken_
const edm::InputTag theL2CollectionLabel
const edm::EDGetTokenT< reco::TrackCollection > l2TrackToken_
std::unique_ptr< MuonTrackingRegionBuilder > theRegionBuilder
bool clean(reco::TrackRef muRef, RectangularEtaPhiTrackingRegion *region, const BasicTrajectorySeed *aSeed, const SimTrack &theSimTrack)
FastTSGFromL2Muon(const edm::ParameterSet &cfg)
const std::vector< edm::InputTag > theSeedCollectionLabels
HLT enums.
const edm::InputTag theSimTrackCollectionLabel