RecoMuon
L2MuonProducer
src
L2MuonProducer.h
Go to the documentation of this file.
1
#ifndef RecoMuon_L2MuonProducer_L2MuonProducer_H
2
#define RecoMuon_L2MuonProducer_L2MuonProducer_H
3
4
//-------------------------------------------------
5
//
19
//
20
//--------------------------------------------------
21
22
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
23
#include "
FWCore/Utilities/interface/InputTag.h
"
24
#include "
DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h
"
25
#include "
FWCore/ParameterSet/interface/ParameterSetDescription.h
"
26
#include "
FWCore/ParameterSet/interface/ConfigurationDescriptions.h
"
27
28
#include <memory>
29
namespace
edm
{
30
class
ParameterSet
;
31
class
Event
;
32
class
EventSetup
;
33
}
// namespace edm
34
35
class
MuonTrackFinder
;
36
class
MuonServiceProxy
;
37
38
class
L2MuonProducer
:
public
edm::stream::EDProducer
<> {
39
public
:
41
L2MuonProducer
(
const
edm::ParameterSet
&);
42
44
~L2MuonProducer
()
override
;
45
47
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
48
static
void
fillDescriptions
(
edm::ConfigurationDescriptions
& descriptions);
49
50
private
:
51
// MuonSeed Collection Label
52
edm::InputTag
theSeedCollectionLabel
;
53
55
std::unique_ptr<MuonTrackFinder>
theTrackFinder
;
//It isn't the same as in ORCA
56
58
std::unique_ptr<MuonServiceProxy>
theService
;
59
60
edm::EDGetTokenT<edm::View<TrajectorySeed>
>
seedsToken
;
61
};
62
63
#endif
ConfigurationDescriptions.h
edm::EDGetTokenT
Definition:
EDGetToken.h:33
edm
HLT enums.
Definition:
AlignableModifier.h:19
EDProducer.h
L2MuonProducer::theService
std::unique_ptr< MuonServiceProxy > theService
the event setup proxy, it takes care the services update
Definition:
L2MuonProducer.h:58
Event
L2MuonProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
reconstruct muons
Definition:
L2MuonProducer.cc:111
L2MuonProducer::fillDescriptions
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
Definition:
L2MuonProducer.cc:134
ParameterSetDescription.h
edm::ConfigurationDescriptions
Definition:
ConfigurationDescriptions.h:28
edm::ParameterSet
Definition:
ParameterSet.h:36
ParameterSet
Definition:
Functions.h:16
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
L2MuonProducer::~L2MuonProducer
~L2MuonProducer() override
destructor
Definition:
L2MuonProducer.cc:106
TrajectorySeedCollection.h
InputTag.h
L2MuonProducer::theTrackFinder
std::unique_ptr< MuonTrackFinder > theTrackFinder
the track finder
Definition:
L2MuonProducer.h:55
L2MuonProducer::seedsToken
edm::EDGetTokenT< edm::View< TrajectorySeed > > seedsToken
Definition:
L2MuonProducer.h:60
L2MuonProducer::L2MuonProducer
L2MuonProducer(const edm::ParameterSet &)
constructor with config
Definition:
L2MuonProducer.cc:50
L2MuonProducer::theSeedCollectionLabel
edm::InputTag theSeedCollectionLabel
Definition:
L2MuonProducer.h:52
MuonTrackFinder
Definition:
MuonTrackFinder.h:31
EventSetup
MuonServiceProxy
Definition:
MuonServiceProxy.h:38
edm::Event
Definition:
Event.h:73
edm::InputTag
Definition:
InputTag.h:15
L2MuonProducer
Definition:
L2MuonProducer.h:38
Generated for CMSSW Reference Manual by
1.8.16