CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
FastTSGFromL2Muon.h
Go to the documentation of this file.
1 #ifndef FastSimulation_Muons_FastTSGFromL2Muon_H
2 #define FastSimulation_Muons_FastTSGFromL2Muon_H
3 
8 
9 #include <vector>
10 namespace edm {
11  class ParameterSet;
12  class Event;
13  class EventSetup;
14 } // namespace edm
15 
16 class MuonServiceProxy;
19 class SimTrack;
20 //class TH1F;
21 
22 //
23 // generate seeds corresponding to L2 muons
24 //
25 
27 public:
29  ~FastTSGFromL2Muon() override;
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:
42  std::vector<edm::InputTag> theSeedCollectionLabels;
43 
44  // bool useTFileService_;
45 
47  double thePtCut;
48  std::unique_ptr<MuonTrackingRegionBuilder> theRegionBuilder;
49 
50  // TH1F* h_nSeedPerTrack;
51  // TH1F* h_nGoodSeedPerTrack;
52  // TH1F* h_nGoodSeedPerEvent;
53 };
54 #endif
MuonServiceProxy * theService
tuple cfg
Definition: looper.py:296
std::vector< edm::InputTag > theSeedCollectionLabels
void produce(edm::Event &ev, const edm::EventSetup &es) override
edm::InputTag theSimTrackCollectionLabel
~FastTSGFromL2Muon() override
std::unique_ptr< MuonTrackingRegionBuilder > theRegionBuilder
bool clean(reco::TrackRef muRef, RectangularEtaPhiTrackingRegion *region, const BasicTrajectorySeed *aSeed, const SimTrack &theSimTrack)
FastTSGFromL2Muon(const edm::ParameterSet &cfg)
edm::InputTag theL2CollectionLabel
void beginRun(edm::Run const &run, edm::EventSetup const &es) override
Definition: Run.h:45