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
#include "
FWCore/Utilities/interface/ESGetToken.h
"
27
28
#include "
DataFormats/GEMDigi/interface/ME0DigiPreRecoCollection.h
"
29
30
#include "
Geometry/GEMGeometry/interface/ME0EtaPartition.h
"
31
#include "
Geometry/GEMGeometry/interface/ME0Geometry.h
"
32
#include "
Geometry/Records/interface/MuonGeometryRecord.h
"
33
#include "
DataFormats/MuonDetId/interface/ME0DetId.h
"
34
#include "
DataFormats/GEMRecHit/interface/ME0RecHit.h
"
35
36
#include "
RecoLocalMuon/GEMRecHit/interface/ME0RecHitBaseAlgo.h
"
37
#include "
RecoLocalMuon/GEMRecHit/interface/ME0RecHitAlgoFactory.h
"
38
#include "
DataFormats/GEMRecHit/interface/ME0RecHitCollection.h
"
39
40
#include <string>
41
42
class
ME0RecHitBaseAlgo
;
43
44
class
ME0RecHitProducer
:
public
edm::stream::EDProducer
<> {
45
public
:
47
ME0RecHitProducer
(
const
edm::ParameterSet
&
config
);
48
50
~ME0RecHitProducer
()
override
;
51
53
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
&
setup
)
override
;
54
55
private
:
56
// The label to be used to retrieve ME0 digis from the event
57
58
edm::EDGetTokenT<ME0DigiPreRecoCollection>
m_token
;
59
60
// The reconstruction algorithm
61
std::unique_ptr<ME0RecHitBaseAlgo>
theAlgo
;
62
63
//EventSetup Token for ME0Geometry
64
edm::ESGetToken<ME0Geometry, MuonGeometryRecord>
m_me0GeomToken
;
65
};
66
67
#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:61
ME0DetId.h
ME0RecHitProducer
Definition:
ME0RecHitProducer.h:44
EDProducer.h
ESGetToken.h
ME0RecHitProducer::produce
void produce(edm::Event &event, const edm::EventSetup &setup) override
The method which produces the rechits.
Definition:
ME0RecHitProducer.cc:22
singleTopDQM_cfi.setup
setup
Definition:
singleTopDQM_cfi.py:37
ME0RecHitBaseAlgo.h
config
Definition:
config.py:1
edm::ParameterSet
Definition:
ParameterSet.h:47
ME0RecHitProducer::m_token
edm::EDGetTokenT< ME0DigiPreRecoCollection > m_token
Definition:
ME0RecHitProducer.h:58
Event.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
edm::EventSetup
Definition:
EventSetup.h:58
edm::ESGetToken< ME0Geometry, MuonGeometryRecord >
InputTag.h
ME0RecHitBaseAlgo
Definition:
ME0RecHitBaseAlgo.h:27
ME0Geometry.h
ME0DigiPreRecoCollection.h
ME0EtaPartition.h
ME0RecHitProducer::m_me0GeomToken
edm::ESGetToken< ME0Geometry, MuonGeometryRecord > m_me0GeomToken
Definition:
ME0RecHitProducer.h:64
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