Main Page
Namespaces
Classes
Package Documentation
RecoLocalMuon
GEMRecHit
src
GEMRecHitProducer.h
Go to the documentation of this file.
1
#ifndef RecoLocalMuon_GEMRecHit_GEMRecHitProducer_h
2
#define RecoLocalMuon_GEMRecHit_GEMRecHitProducer_h
3
11
#include <memory>
12
#include <fstream>
13
#include <iostream>
14
#include <cstdint>
15
#include <cstdlib>
16
#include <bitset>
17
#include <map>
18
19
#include "
FWCore/Framework/interface/stream/EDProducer.h
"
20
#include "
FWCore/Utilities/interface/InputTag.h
"
21
#include "
DataFormats/MuonDetId/interface/GEMDetId.h
"
22
#include "
DataFormats/GEMDigi/interface/GEMDigiCollection.h
"
23
24
// #include "CondFormats/GEMObjects/interface/GEMMaskedStrips.h"
25
// #include "CondFormats/DataRecord/interface/GEMMaskedStripsRcd.h"
26
// #include "CondFormats/GEMObjects/interface/GEMDeadStrips.h"
27
// #include "CondFormats/DataRecord/interface/GEMDeadStripsRcd.h"
28
29
#include "
GEMEtaPartitionMask.h
"
30
31
32
namespace
edm
{
33
class
ParameterSet
;
34
class
Event
;
35
class
EventSetup
;
36
}
37
38
class
GEMRecHitBaseAlgo
;
39
40
class
GEMRecHitProducer
:
public
edm::stream::EDProducer
<> {
41
42
public
:
44
GEMRecHitProducer
(
const
edm::ParameterSet
&
config
);
45
47
~
GEMRecHitProducer
()
override
;
48
49
// Method that access the EventSetup for each run
50
void
beginRun(
const
edm::Run
&,
const
edm::EventSetup
& )
override
;
51
53
void
produce(
edm::Event
&
event
,
const
edm::EventSetup
&
setup
)
override
;
54
55
private
:
56
57
// The token to be used to retrieve GEM digis from the event
58
edm::EDGetTokenT<GEMDigiCollection>
theGEMDigiToken
;
59
60
// The reconstruction algorithm
61
GEMRecHitBaseAlgo
*
theAlgo
;
62
// static std::string theAlgoName;
63
64
// GEMMaskedStrips* GEMMaskedStripsObj;
65
// Object with mask-strips-vector for all the GEM Detectors
66
67
// GEMDeadStrips* GEMDeadStripsObj;
68
// Object with dead-strips-vector for all the GEM Detectors
69
70
// std::string maskSource;
71
// std::string deadSource;
72
73
// std::vector<GEMMaskedStrips::MaskItem> MaskVec;
74
// std::vector<GEMDeadStrips::DeadItem> DeadVec;
75
76
};
77
78
#endif
79
GEMRecHitBaseAlgo
Definition:
GEMRecHitBaseAlgo.h:32
ParameterSet
Definition:
Functions.h:16
GEMEtaPartitionMask.h
GEMRecHitProducer
Definition:
GEMRecHitProducer.h:40
GeneralSetup.setup
def setup(process, global_tag, zero_tesla=False)
Definition:
GeneralSetup.py:2
config
Definition:
config.py:1
edm::EDGetTokenT< GEMDigiCollection >
EDProducer.h
EventSetup
edm::EventSetup
Definition:
EventSetup.h:51
GEMDetId.h
edm::stream::EDProducer
Definition:
EDProducer.h:38
Event
edm
HLT enums.
Definition:
AlignableModifier.h:17
InputTag.h
GEMRecHitProducer::theAlgo
GEMRecHitBaseAlgo * theAlgo
Definition:
GEMRecHitProducer.h:61
edm::ParameterSet
Definition:
ParameterSet.h:36
GEMDigiCollection.h
edm::Event
Definition:
Event.h:70
event
Definition:
event.py:1
edm::Run
Definition:
Run.h:44
GEMRecHitProducer::theGEMDigiToken
edm::EDGetTokenT< GEMDigiCollection > theGEMDigiToken
Definition:
GEMRecHitProducer.h:58
Generated for CMSSW Reference Manual by
1.8.11