RecoLocalMuon
GEMRecHit
plugins
ME0RecHitProducer.h
Go to the documentation of this file.
1
#ifndef RecoLocalMuon_ME0RecHitProducer_h
2
#define RecoLocalMuon_ME0RecHitProducer_h
3
12
#include <memory>
13
#include <fstream>
14
#include <iostream>
15
#include <cstdint>
16
#include <cstdlib>
17
#include <bitset>
18
#include <map>
19
20
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
21
#include "
FWCore/Utilities/interface/InputTag.h
"
22
#include "
DataFormats/MuonDetId/interface/ME0DetId.h
"
23
#include "
FWCore/Framework/interface/Event.h
"
24
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
25
#include "
FWCore/Framework/interface/ESHandle.h
"
26
27
#include "
DataFormats/GEMDigi/interface/ME0DigiPreRecoCollection.h
"
28
29
#include "
Geometry/GEMGeometry/interface/ME0EtaPartition.h
"
30
#include "
Geometry/GEMGeometry/interface/ME0Geometry.h
"
31
#include "
Geometry/Records/interface/MuonGeometryRecord.h
"
32
#include "
DataFormats/MuonDetId/interface/ME0DetId.h
"
33
#include "
DataFormats/GEMRecHit/interface/ME0RecHit.h
"
34
35
#include "
RecoLocalMuon/GEMRecHit/interface/ME0RecHitBaseAlgo.h
"
36
#include "
RecoLocalMuon/GEMRecHit/interface/ME0RecHitAlgoFactory.h
"
37
#include "
DataFormats/GEMRecHit/interface/ME0RecHitCollection.h
"
38
39
#include <string>
40
41
class
ME0RecHitBaseAlgo
;
42
43
class
ME0RecHitProducer
:
public
edm::stream::EDProducer
<> {
44
public
:
46
ME0RecHitProducer
(
const
edm::ParameterSet
&
config
);
47
49
~ME0RecHitProducer
()
override
;
50
52
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
&
setup
)
override
;
53
54
private
:
55
// The label to be used to retrieve ME0 digis from the event
56
57
edm::EDGetTokenT<ME0DigiPreRecoCollection>
m_token
;
58
59
// The reconstruction algorithm
60
std::unique_ptr<ME0RecHitBaseAlgo>
theAlgo
;
61
};
62
63
#endif
ME0RecHit.h
ME0RecHitProducer::ME0RecHitProducer
ME0RecHitProducer(const edm::ParameterSet &config)
Constructor.
Definition:
ME0RecHitProducer.cc:10
ME0RecHitCollection.h
ESHandle.h
edm::EDGetTokenT< ME0DigiPreRecoCollection >
ME0RecHitProducer::theAlgo
std::unique_ptr< ME0RecHitBaseAlgo > theAlgo
Definition:
ME0RecHitProducer.h:60
ME0DetId.h
ME0RecHitProducer
Definition:
ME0RecHitProducer.h:43
EDProducer.h
ME0RecHitProducer::produce
void produce(edm::Event &event, const edm::EventSetup &setup) override
The method which produces the rechits.
Definition:
ME0RecHitProducer.cc:21
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
ME0RecHitBaseAlgo.h
config
Definition:
config.py:1
edm::ParameterSet
Definition:
ParameterSet.h:36
ME0RecHitProducer::m_token
edm::EDGetTokenT< ME0DigiPreRecoCollection > m_token
Definition:
ME0RecHitProducer.h:57
Event.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:57
InputTag.h
ME0RecHitBaseAlgo
Definition:
ME0RecHitBaseAlgo.h:27
ME0Geometry.h
ME0DigiPreRecoCollection.h
ME0EtaPartition.h
ParameterSet.h
MuonGeometryRecord.h
event
Definition:
event.py:1
edm::Event
Definition:
Event.h:73
ME0RecHitProducer::~ME0RecHitProducer
~ME0RecHitProducer() override
Destructor.
ME0RecHitAlgoFactory.h
Generated for CMSSW Reference Manual by
1.8.16