RecoMuon
CosmicMuonProducer
src
CosmicMuonProducer.h
Go to the documentation of this file.
1
#ifndef RecoMuon_CosmicMuonProducer_CosmicMuonProducer_H
2
#define RecoMuon_CosmicMuonProducer_CosmicMuonProducer_H
3
9
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
10
#include "
DataFormats/TrajectorySeed/interface/TrajectorySeedCollection.h
"
11
#include <memory>
12
13
class
MuonTrackFinder
;
14
class
MuonServiceProxy
;
15
16
class
CosmicMuonProducer
:
public
edm::stream::EDProducer
<> {
17
public
:
18
explicit
CosmicMuonProducer
(
const
edm::ParameterSet
&);
19
20
~CosmicMuonProducer
()
override
;
21
22
void
produce
(
edm::Event
&,
const
edm::EventSetup
&)
override
;
23
24
private
:
25
std::unique_ptr<MuonTrackFinder>
theTrackFinder
;
26
28
std::unique_ptr<MuonServiceProxy>
theService
;
29
edm::EDGetTokenT<edm::View<TrajectorySeed>
>
theSeedCollectionToken
;
30
};
31
32
#endif
CosmicMuonProducer::theSeedCollectionToken
edm::EDGetTokenT< edm::View< TrajectorySeed > > theSeedCollectionToken
Definition:
CosmicMuonProducer.h:29
edm::EDGetTokenT
Definition:
EDGetToken.h:33
EDProducer.h
CosmicMuonProducer::produce
void produce(edm::Event &, const edm::EventSetup &) override
Definition:
CosmicMuonProducer.cc:74
CosmicMuonProducer::theService
std::unique_ptr< MuonServiceProxy > theService
the event setup proxy, it takes care the services update
Definition:
CosmicMuonProducer.h:28
CosmicMuonProducer::theTrackFinder
std::unique_ptr< MuonTrackFinder > theTrackFinder
Definition:
CosmicMuonProducer.h:25
edm::ParameterSet
Definition:
ParameterSet.h:47
CosmicMuonProducer::~CosmicMuonProducer
~CosmicMuonProducer() override
Definition:
CosmicMuonProducer.cc:71
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:58
TrajectorySeedCollection.h
CosmicMuonProducer
Definition:
CosmicMuonProducer.h:16
CosmicMuonProducer::CosmicMuonProducer
CosmicMuonProducer(const edm::ParameterSet &)
Definition:
CosmicMuonProducer.cc:42
MuonTrackFinder
Definition:
MuonTrackFinder.h:26
MuonServiceProxy
Definition:
MuonServiceProxy.h:38
edm::Event
Definition:
Event.h:73
Generated for CMSSW Reference Manual by
1.8.16