L1Trigger
CSCTriggerPrimitives
interface
GEMCoPadProcessor.h
Go to the documentation of this file.
1
#ifndef L1Trigger_CSCTriggerPrimitives_GEMCoPadProcessor_h
2
#define L1Trigger_CSCTriggerPrimitives_GEMCoPadProcessor_h
3
10
#include "
FWCore/ParameterSet/interface/ParameterSet.h
"
11
#include "
DataFormats/GEMDigi/interface/GEMPadDigiCollection.h
"
12
#include "
DataFormats/GEMDigi/interface/GEMPadDigiClusterCollection.h
"
13
#include "
DataFormats/GEMDigi/interface/GEMCoPadDigi.h
"
14
15
#include <vector>
16
17
class
GEMCoPadProcessor
{
18
public
:
20
GEMCoPadProcessor
(
unsigned
region
,
unsigned
station
,
unsigned
chamber
,
const
edm::ParameterSet
& copad);
21
23
GEMCoPadProcessor
();
24
26
void
clear
();
27
30
std::vector<GEMCoPadDigi>
run
(
const
GEMPadDigiCollection
*);
31
34
std::vector<GEMCoPadDigi>
run
(
const
GEMPadDigiClusterCollection
*);
35
37
enum
{
MAX_CoPad_BINS
= 3 };
38
40
const
std::vector<GEMCoPadDigi>&
readoutCoPads
()
const
;
41
42
// declusterizes the clusters into single pad digis
43
void
declusterize
(
const
GEMPadDigiClusterCollection
*,
GEMPadDigiCollection
&)
const
;
44
45
private
:
47
const
int
theRegion
;
48
const
int
theStation
;
49
const
int
theChamber
;
50
55
unsigned
int
infoV
;
56
unsigned
int
maxDeltaPad_
;
57
unsigned
int
maxDeltaBX_
;
58
unsigned
int
maxDeltaRoll_
;
59
60
// output collection
61
std::vector<GEMCoPadDigi>
gemCoPadV
;
62
};
63
64
#endif
GEMCoPadProcessor
Definition:
GEMCoPadProcessor.h:17
GEMCoPadProcessor::maxDeltaPad_
unsigned int maxDeltaPad_
Definition:
GEMCoPadProcessor.h:56
relativeConstraints.station
station
Definition:
relativeConstraints.py:67
GEMCoPadProcessor::clear
void clear()
Definition:
GEMCoPadProcessor.cc:27
GEMCoPadDigi.h
GEMCoPadProcessor::theRegion
const int theRegion
Definition:
GEMCoPadProcessor.h:47
GEMCoPadProcessor::run
std::vector< GEMCoPadDigi > run(const GEMPadDigiCollection *)
Definition:
GEMCoPadProcessor.cc:29
GEMCoPadProcessor::declusterize
void declusterize(const GEMPadDigiClusterCollection *, GEMPadDigiCollection &) const
Definition:
GEMCoPadProcessor.cc:99
GEMPadDigiClusterCollection.h
GEMCoPadProcessor::theChamber
const int theChamber
Definition:
GEMCoPadProcessor.h:49
GEMCoPadProcessor::theStation
const int theStation
Definition:
GEMCoPadProcessor.h:48
GEMPadDigiCollection
GEMCoPadProcessor::gemCoPadV
std::vector< GEMCoPadDigi > gemCoPadV
Definition:
GEMCoPadProcessor.h:61
GEMCoPadProcessor::GEMCoPadProcessor
GEMCoPadProcessor()
Definition:
GEMCoPadProcessor.cc:20
GEMPadDigiClusterCollection
GEMCoPadProcessor::MAX_CoPad_BINS
Definition:
GEMCoPadProcessor.h:37
edm::ParameterSet
Definition:
ParameterSet.h:47
HLT_FULL_cff.region
region
Definition:
HLT_FULL_cff.py:88338
GEMCoPadProcessor::readoutCoPads
const std::vector< GEMCoPadDigi > & readoutCoPads() const
Definition:
GEMCoPadProcessor.cc:97
GEMCoPadProcessor::maxDeltaRoll_
unsigned int maxDeltaRoll_
Definition:
GEMCoPadProcessor.h:58
GEMPadDigiCollection.h
relativeConstraints.chamber
chamber
Definition:
relativeConstraints.py:53
GEMCoPadProcessor::maxDeltaBX_
unsigned int maxDeltaBX_
Definition:
GEMCoPadProcessor.h:57
ParameterSet.h
GEMCoPadProcessor::infoV
unsigned int infoV
Definition:
GEMCoPadProcessor.h:55
Generated for CMSSW Reference Manual by
1.8.16