Main Page
Namespaces
Classes
Package Documentation
RecoLocalMuon
GEMRecHit
plugins
ME0RecHitProducer.h
Go to the documentation of this file.
1
#ifndef RecoLocalMuon_ME0RecHitProducer_h
2
#define RecoLocalMuon_ME0RecHitProducer_h
3
13
#include <memory>
14
#include <fstream>
15
#include <iostream>
16
#include <cstdint>
17
#include <cstdlib>
18
#include <bitset>
19
#include <map>
20
21
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
22
#include "
FWCore/Utilities/interface/InputTag.h
"
23
#include "
DataFormats/MuonDetId/interface/ME0DetId.h
"
24
#include "
FWCore/Framework/interface/Event.h
"
25
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
26
#include "
FWCore/Framework/interface/ESHandle.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
46
public
:
48
ME0RecHitProducer
(
const
edm::ParameterSet
&
config
);
49
51
~ME0RecHitProducer
()
override
;
52
54
void
produce
(
edm::Event
&
event
,
const
edm::EventSetup
&
setup
)
override
;
55
56
private
:
57
58
// The label to be used to retrieve ME0 digis from the event
59
60
edm::EDGetTokenT<ME0DigiPreRecoCollection>
m_token
;
61
62
// The reconstruction algorithm
63
std::unique_ptr<ME0RecHitBaseAlgo>
theAlgo
;
64
};
65
66
#endif
67
ME0RecHitProducer
Definition:
ME0RecHitProducer.h:44
MuonGeometryRecord.h
ME0RecHitBaseAlgo.h
Event.h
ME0RecHitBaseAlgo
Definition:
ME0RecHitBaseAlgo.h:29
GeneralSetup.setup
def setup(process, global_tag, zero_tesla=False)
Definition:
GeneralSetup.py:2
config
Definition:
config.py:1
ME0RecHitProducer::m_token
edm::EDGetTokenT< ME0DigiPreRecoCollection > m_token
Definition:
ME0RecHitProducer.h:60
edm::EDGetTokenT< ME0DigiPreRecoCollection >
ME0RecHit.h
ParameterSet.h
EDProducer.h
ME0RecHitProducer::theAlgo
std::unique_ptr< ME0RecHitBaseAlgo > theAlgo
Definition:
ME0RecHitProducer.h:63
ME0RecHitProducer::produce
void produce(edm::Event &event, const edm::EventSetup &setup) override
The method which produces the rechits.
Definition:
ME0RecHitProducer.cc:23
ESHandle.h
edm::EventSetup
Definition:
EventSetup.h:57
ME0EtaPartition.h
ME0Geometry.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
ME0RecHitAlgoFactory.h
ME0RecHitProducer::~ME0RecHitProducer
~ME0RecHitProducer() override
Destructor.
ME0DetId.h
InputTag.h
edm::ParameterSet
Definition:
ParameterSet.h:36
ME0RecHitProducer::ME0RecHitProducer
ME0RecHitProducer(const edm::ParameterSet &config)
Constructor.
Definition:
ME0RecHitProducer.cc:11
edm::Event
Definition:
Event.h:71
ME0RecHitCollection.h
ME0DigiPreRecoCollection.h
event
Definition:
event.py:1
Generated for CMSSW Reference Manual by
1.8.11