CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 { class ParameterSet; class Event; class EventSetup; }
11 
12 class MuonServiceProxy;
15 class SimTrack;
16 //class TH1F;
17 
18 //
19 // generate seeds corresponding to L2 muons
20 //
21 
23 
24  public:
25 
27  virtual ~FastTSGFromL2Muon();
28  virtual void beginRun(edm::Run const& run, edm::EventSetup const& es) override;
29  virtual void produce(edm::Event& ev, const edm::EventSetup& es) override;
30 
31  private:
32 
33  bool clean(reco::TrackRef muRef,
35  const BasicTrajectorySeed* aSeed,
36  const SimTrack& theSimTrack);
37 
38  private:
39 
43  std::vector<edm::InputTag> theSeedCollectionLabels;
44 
45  // bool useTFileService_;
46 
48  double thePtCut;
50 
51  // TH1F* h_nSeedPerTrack;
52  // TH1F* h_nGoodSeedPerTrack;
53  // TH1F* h_nGoodSeedPerEvent;
54 
55 };
56 #endif
virtual ~FastTSGFromL2Muon()
MuonServiceProxy * theService
std::vector< edm::InputTag > theSeedCollectionLabels
virtual void produce(edm::Event &ev, const edm::EventSetup &es) override
edm::InputTag theSimTrackCollectionLabel
MuonTrackingRegionBuilder * theRegionBuilder
edm::ParameterSet theConfig
bool clean(reco::TrackRef muRef, RectangularEtaPhiTrackingRegion *region, const BasicTrajectorySeed *aSeed, const SimTrack &theSimTrack)
FastTSGFromL2Muon(const edm::ParameterSet &cfg)
edm::InputTag theL2CollectionLabel
virtual void beginRun(edm::Run const &run, edm::EventSetup const &es) override
Definition: Run.h:36