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 
10 #include <vector>
11 namespace edm { class ParameterSet; class Event; class EventSetup; }
12 
13 class MuonServiceProxy;
16 class SimTrack;
17 //class TH1F;
18 
19 //
20 // generate seeds corresponding to L2 muons
21 //
22 
24 
25  public:
26 
28  virtual ~FastTSGFromL2Muon();
29  virtual void beginRun(edm::Run const& run, edm::EventSetup const& es) override;
30  virtual void produce(edm::Event& ev, const edm::EventSetup& es) override;
31 
32  private:
33 
34  bool clean(reco::TrackRef muRef,
36  const BasicTrajectorySeed* aSeed,
37  const SimTrack& theSimTrack);
38 
39  private:
40 
44  std::vector<edm::InputTag> theSeedCollectionLabels;
45 
46  // bool useTFileService_;
47 
49  double thePtCut;
51 
52  // TH1F* h_nSeedPerTrack;
53  // TH1F* h_nGoodSeedPerTrack;
54  // TH1F* h_nGoodSeedPerEvent;
55 
56 };
57 #endif
virtual ~FastTSGFromL2Muon()
MuonServiceProxy * theService
tuple cfg
Definition: looper.py:293
std::vector< edm::InputTag > theSeedCollectionLabels
virtual void produce(edm::Event &ev, const edm::EventSetup &es) override
edm::InputTag theSimTrackCollectionLabel
bool ev
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:43