FastSimulation
Muons
plugins
FastTSGFromL2Muon.h
Go to the documentation of this file.
1
#ifndef FastSimulation_Muons_FastTSGFromL2Muon_H
2
#define FastSimulation_Muons_FastTSGFromL2Muon_H
3
4
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
5
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
6
#include "
DataFormats/TrackReco/interface/TrackFwd.h
"
7
#include "
DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h
"
8
9
#include <vector>
10
namespace
edm
{
11
class
ParameterSet
;
12
class
Event
;
13
class
EventSetup
;
14
}
// namespace edm
15
16
class
MuonServiceProxy
;
17
class
MuonTrackingRegionBuilder
;
18
class
RectangularEtaPhiTrackingRegion
;
19
class
SimTrack
;
20
//class TH1F;
21
22
//
23
// generate seeds corresponding to L2 muons
24
//
25
26
class
FastTSGFromL2Muon
:
public
edm::stream::EDProducer
<> {
27
public
:
28
FastTSGFromL2Muon
(
const
edm::ParameterSet
&
cfg
);
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,
35
RectangularEtaPhiTrackingRegion
*
region
,
36
const
BasicTrajectorySeed
* aSeed,
37
const
SimTrack
& theSimTrack);
38
39
private
:
40
edm::ParameterSet
theConfig
;
41
edm::InputTag
theSimTrackCollectionLabel
;
42
edm::InputTag
theL2CollectionLabel
;
43
std::vector<edm::InputTag>
theSeedCollectionLabels
;
44
45
// bool useTFileService_;
46
47
MuonServiceProxy
*
theService
;
48
double
thePtCut
;
49
MuonTrackingRegionBuilder
*
theRegionBuilder
;
50
51
// TH1F* h_nSeedPerTrack;
52
// TH1F* h_nGoodSeedPerTrack;
53
// TH1F* h_nGoodSeedPerEvent;
54
};
55
#endif
MuonTrackingRegionBuilder
Definition:
MuonTrackingRegionBuilder.h:43
FastTSGFromL2Muon::thePtCut
double thePtCut
Definition:
FastTSGFromL2Muon.h:48
FastTSGFromL2Muon
Definition:
FastTSGFromL2Muon.h:26
FastTSGFromL2Muon::theSimTrackCollectionLabel
edm::InputTag theSimTrackCollectionLabel
Definition:
FastTSGFromL2Muon.h:41
RectangularEtaPhiTrackingRegion
Definition:
RectangularEtaPhiTrackingRegion.h:25
edm::Run
Definition:
Run.h:45
FastTSGFromL2Muon::theRegionBuilder
MuonTrackingRegionBuilder * theRegionBuilder
Definition:
FastTSGFromL2Muon.h:49
edm
HLT enums.
Definition:
AlignableModifier.h:19
EDProducer.h
edm::Ref< TrackCollection >
TrackFwd.h
FastTSGFromL2Muon::FastTSGFromL2Muon
FastTSGFromL2Muon(const edm::ParameterSet &cfg)
Definition:
FastTSGFromL2Muon.cc:20
FastTSGFromL2Muon::theConfig
edm::ParameterSet theConfig
Definition:
FastTSGFromL2Muon.h:40
FastTSGFromL2Muon::clean
bool clean(reco::TrackRef muRef, RectangularEtaPhiTrackingRegion *region, const BasicTrajectorySeed *aSeed, const SimTrack &theSimTrack)
Definition:
FastTSGFromL2Muon.cc:148
Event
edm::ParameterSet
Definition:
ParameterSet.h:47
ParameterSet
Definition:
Functions.h:16
FastTSGFromL2Muon::~FastTSGFromL2Muon
~FastTSGFromL2Muon() override
Definition:
FastTSGFromL2Muon.cc:33
HLT_FULL_cff.region
region
Definition:
HLT_FULL_cff.py:88338
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
TrajectorySeedCollection.h
looper.cfg
cfg
Definition:
looper.py:297
FastTSGFromL2Muon::theL2CollectionLabel
edm::InputTag theL2CollectionLabel
Definition:
FastTSGFromL2Muon.h:42
writedatasetfile.run
run
Definition:
writedatasetfile.py:27
SimTrack
Definition:
SimTrack.h:6
ev
bool ev
Definition:
Hydjet2Hadronizer.cc:95
TrajectorySeed
Definition:
TrajectorySeed.h:18
EventSetup
ParameterSet.h
FastTSGFromL2Muon::theService
MuonServiceProxy * theService
Definition:
FastTSGFromL2Muon.h:47
MuonServiceProxy
Definition:
MuonServiceProxy.h:38
edm::Event
Definition:
Event.h:73
FastTSGFromL2Muon::theSeedCollectionLabels
std::vector< edm::InputTag > theSeedCollectionLabels
Definition:
FastTSGFromL2Muon.h:43
edm::InputTag
Definition:
InputTag.h:15
FastTSGFromL2Muon::beginRun
void beginRun(edm::Run const &run, edm::EventSetup const &es) override
Definition:
FastTSGFromL2Muon.cc:35
FastTSGFromL2Muon::produce
void produce(edm::Event &ev, const edm::EventSetup &es) override
Definition:
FastTSGFromL2Muon.cc:55
Generated for CMSSW Reference Manual by
1.8.16