src
L1Trigger
L1TMuonOverlap
interface
OMTFinputMaker.h
Go to the documentation of this file.
1
#ifndef OMTFinputMaker_H
2
#define OMTFinputMaker_H
3
4
#include <vector>
5
#include <cstdint>
6
#include <memory>
7
8
#include "
DataFormats/L1DTTrackFinder/interface/L1MuDTChambPhContainer.h
"
9
#include "
DataFormats/L1DTTrackFinder/interface/L1MuDTChambThContainer.h
"
10
#include "
DataFormats/L1TMuon/interface/RegionalMuonCandFwd.h
"
11
#include "
DataFormats/CSCDigi/interface/CSCCorrelatedLCTDigiCollection.h
"
12
#include "
DataFormats/RPCDigi/interface/RPCDigiCollection.h
"
13
#include "
FWCore/Framework/interface/FrameworkfwdMostUsed.h
"
14
#include "
L1Trigger/L1TMuonOverlap/interface/OMTFinput.h
"
15
16
class
AngleConverter
;
17
class
OMTFConfiguration
;
18
19
class
OMTFinputMaker
{
20
public
:
21
OMTFinputMaker
(
edm::ConsumesCollector
&,
bool
getDuringEvent =
true
);
22
23
~OMTFinputMaker
();
24
25
void
initialize
(
const
edm::EventSetup
&,
const
OMTFConfiguration
*);
26
28
OMTFinput
buildInputForProcessor
(
const
L1MuDTChambPhContainer
*dtPhDigis,
29
const
L1MuDTChambThContainer
*dtThDigis,
30
const
CSCCorrelatedLCTDigiCollection
*cscDigis,
31
const
RPCDigiCollection
*rpcDigis,
32
unsigned
int
iProcessor,
33
l1t::tftype
type
=
l1t::tftype::omtf_pos
,
34
int
bx
= 0);
35
36
void
setFlag
(
int
aFlag) {
flag
= aFlag; }
37
int
getFlag
()
const
{
return
flag
; }
38
39
private
:
43
OMTFinput
processDT
(
const
L1MuDTChambPhContainer
*dtPhDigis,
44
const
L1MuDTChambThContainer
*dtThDigis,
45
unsigned
int
iProcessor,
46
l1t::tftype
type
,
47
int
bx
);
48
52
OMTFinput
processCSC
(
const
CSCCorrelatedLCTDigiCollection
*cscDigis,
53
unsigned
int
iProcessor,
54
l1t::tftype
type
,
55
int
bx
);
56
60
OMTFinput
processRPC
(
const
RPCDigiCollection
*rpcDigis,
unsigned
int
iProcessor,
l1t::tftype
type
,
int
bx
);
61
64
bool
acceptDigi
(uint32_t rawId,
unsigned
int
iProcessor,
l1t::tftype
type
);
65
69
unsigned
int
getInputNumber
(
unsigned
int
rawId,
unsigned
int
iProcessor,
l1t::tftype
type
);
70
71
std::unique_ptr<AngleConverter>
myAngleConverter
;
72
73
const
OMTFConfiguration
*
myOmtfConfig
;
74
75
int
flag
;
76
};
77
78
#endif
OMTFinputMaker
Definition:
OMTFinputMaker.h:19
OMTFinputMaker::buildInputForProcessor
OMTFinput buildInputForProcessor(const L1MuDTChambPhContainer *dtPhDigis, const L1MuDTChambThContainer *dtThDigis, const CSCCorrelatedLCTDigiCollection *cscDigis, const RPCDigiCollection *rpcDigis, unsigned int iProcessor, l1t::tftype type=l1t::tftype::omtf_pos, int bx=0)
Method translating trigger digis into input matrix with global phi coordinates.
Definition:
OMTFinputMaker.cc:383
OMTFinputMaker::processRPC
OMTFinput processRPC(const RPCDigiCollection *rpcDigis, unsigned int iProcessor, l1t::tftype type, int bx)
Definition:
OMTFinputMaker.cc:310
L1MuDTChambPhContainer.h
OMTFinputMaker::initialize
void initialize(const edm::EventSetup &, const OMTFConfiguration *)
Definition:
OMTFinputMaker.cc:24
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
OMTFinputMaker::myOmtfConfig
const OMTFConfiguration * myOmtfConfig
Definition:
OMTFinputMaker.h:73
simKBmtfDigis_cfi.bx
bx
Definition:
simKBmtfDigis_cfi.py:55
OMTFinputMaker::getFlag
int getFlag() const
Definition:
OMTFinputMaker.h:37
CSCCorrelatedLCTDigiCollection
OMTFinputMaker::processCSC
OMTFinput processCSC(const CSCCorrelatedLCTDigiCollection *cscDigis, unsigned int iProcessor, l1t::tftype type, int bx)
Definition:
OMTFinputMaker.cc:263
l1t::tftype
tftype
Definition:
RegionalMuonCandFwd.h:8
FrameworkfwdMostUsed.h
OMTFinputMaker::flag
int flag
Definition:
OMTFinputMaker.h:75
OMTFinput.h
edm::EventSetup
Definition:
EventSetup.h:56
CSCCorrelatedLCTDigiCollection.h
RegionalMuonCandFwd.h
OMTFinputMaker::setFlag
void setFlag(int aFlag)
Definition:
OMTFinputMaker.h:36
RPCDigiCollection
l1t::omtf_pos
Definition:
RegionalMuonCandFwd.h:8
OMTFinputMaker::acceptDigi
bool acceptDigi(uint32_t rawId, unsigned int iProcessor, l1t::tftype type)
Definition:
OMTFinputMaker.cc:34
L1MuDTChambThContainer
Definition:
L1MuDTChambThContainer.h:33
OMTFinputMaker::myAngleConverter
std::unique_ptr< AngleConverter > myAngleConverter
Definition:
OMTFinputMaker.h:71
OMTFinputMaker::getInputNumber
unsigned int getInputNumber(unsigned int rawId, unsigned int iProcessor, l1t::tftype type)
Definition:
OMTFinputMaker.cc:128
OMTFConfiguration
Definition:
OMTFConfiguration.h:44
L1MuDTChambPhContainer
Definition:
L1MuDTChambPhContainer.h:33
OMTFinput
Definition:
OMTFinput.h:11
L1MuDTChambThContainer.h
AngleConverter
Definition:
AngleConverter.h:26
RPCDigiCollection.h
OMTFinputMaker::~OMTFinputMaker
~OMTFinputMaker()
Definition:
OMTFinputMaker.cc:31
OMTFinputMaker::processDT
OMTFinput processDT(const L1MuDTChambPhContainer *dtPhDigis, const L1MuDTChambThContainer *dtThDigis, unsigned int iProcessor, l1t::tftype type, int bx)
Definition:
OMTFinputMaker.cc:211
edm::ConsumesCollector
Definition:
ConsumesCollector.h:45
OMTFinputMaker::OMTFinputMaker
OMTFinputMaker(edm::ConsumesCollector &, bool getDuringEvent=true)
Definition:
OMTFinputMaker.cc:20
Generated for CMSSW Reference Manual by
1.8.14