RecoMuon
StandAloneMuonProducer
src
StandAloneMuonProducer.h
Go to the documentation of this file.
1
#ifndef RecoMuon_StandAloneMuonProducer_StandAloneMuonProducer_H
2
#define RecoMuon_StandAloneMuonProducer_StandAloneMuonProducer_H
3
16
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
17
#include "
FWCore/Utilities/interface/InputTag.h
"
18
#include "
DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h
"
19
#include <memory>
20
21
namespace
edm
{
22
class
ParameterSet
;
23
class
Event
;
24
class
EventSetup
;
25
}
// namespace edm
26
27
class
MuonTrackFinder
;
28
class
MuonServiceProxy
;
29
30
class
StandAloneMuonProducer
:
public
edm::stream::EDProducer
<> {
31
public
:
33
StandAloneMuonProducer
(
const
edm::ParameterSet
&);
34
36
~StandAloneMuonProducer
()
override
;
37
39
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
40
41
private
:
43
edm::InputTag
theSeedCollectionLabel
;
44
46
std::unique_ptr<MuonTrackFinder>
theTrackFinder
;
//It isn't the same as in ORCA
47
49
std::unique_ptr<MuonServiceProxy>
theService
;
50
51
edm::EDGetTokenT<edm::View<TrajectorySeed>
>
seedToken
;
52
53
std::string
theAlias
;
54
55
void
setAlias
(
std::string
alias
) {
56
alias
.erase(
alias
.size() - 1,
alias
.size());
57
theAlias
=
alias
;
58
}
59
};
60
61
#endif
edm::EDGetTokenT
Definition:
EDGetToken.h:33
edm
HLT enums.
Definition:
AlignableModifier.h:19
StandAloneMuonProducer::StandAloneMuonProducer
StandAloneMuonProducer(const edm::ParameterSet &)
constructor with config
Definition:
StandAloneMuonProducer.cc:45
EDProducer.h
StandAloneMuonProducer::setAlias
void setAlias(std::string alias)
Definition:
StandAloneMuonProducer.h:55
StandAloneMuonProducer::theSeedCollectionLabel
edm::InputTag theSeedCollectionLabel
MuonSeed Collection Label.
Definition:
StandAloneMuonProducer.h:43
Event
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition:
AlCaHLTBitMon_QueryRunRegistry.py:256
StandAloneMuonProducer::~StandAloneMuonProducer
~StandAloneMuonProducer() override
destructor
Definition:
StandAloneMuonProducer.cc:100
edm::ParameterSet
Definition:
ParameterSet.h:47
StandAloneMuonProducer::theTrackFinder
std::unique_ptr< MuonTrackFinder > theTrackFinder
the track finder
Definition:
StandAloneMuonProducer.h:46
ParameterSet
Definition:
Functions.h:16
StandAloneMuonProducer
Definition:
StandAloneMuonProducer.h:30
edm::stream::EDProducer
Definition:
EDProducer.h:38
StandAloneMuonProducer::seedToken
edm::EDGetTokenT< edm::View< TrajectorySeed > > seedToken
Definition:
StandAloneMuonProducer.h:51
StandAloneMuonProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
reconstruct muons
Definition:
StandAloneMuonProducer.cc:105
edm::EventSetup
Definition:
EventSetup.h:57
TrajectorySeedCollection.h
InputTag.h
SiStripOfflineCRack_cfg.alias
alias
Definition:
SiStripOfflineCRack_cfg.py:128
MuonTrackFinder
Definition:
MuonTrackFinder.h:26
EventSetup
MuonServiceProxy
Definition:
MuonServiceProxy.h:38
edm::Event
Definition:
Event.h:73
StandAloneMuonProducer::theService
std::unique_ptr< MuonServiceProxy > theService
the event setup proxy, it takes care the services update
Definition:
StandAloneMuonProducer.h:49
edm::InputTag
Definition:
InputTag.h:15
StandAloneMuonProducer::theAlias
std::string theAlias
Definition:
StandAloneMuonProducer.h:53
Generated for CMSSW Reference Manual by
1.8.16