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 beginRun(edm::Run const& run, edm::EventSetup const& es) override;
31  void produce(edm::Event& ev, const edm::EventSetup& es) override;
32 
33 private:
34  bool clean(reco::TrackRef muRef,
36  const BasicTrajectorySeed* aSeed,
37  const SimTrack& theSimTrack);
38 
39 private:
40  const double thePtCut;
42  const std::vector<edm::InputTag> theSeedCollectionLabels;
44 
47  std::vector<edm::EDGetTokenT<edm::View<TrajectorySeed> > > seedToken_;
48 
50  std::unique_ptr<MuonTrackingRegionBuilder> theRegionBuilder;
51 };
52 #endif
MuonServiceProxy * theService
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.
void beginRun(edm::Run const &run, edm::EventSetup const &es) override
const edm::InputTag theSimTrackCollectionLabel
Definition: Run.h:45