Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
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 <stdint.h>
6
#include <memory>
7
8
#include "
DataFormats/L1DTTrackFinder/interface/L1MuDTChambPhContainer.h
"
9
#include "
DataFormats/L1DTTrackFinder/interface/L1MuDTChambThContainer.h
"
10
#include "
DataFormats/CSCDigi/interface/CSCCorrelatedLCTDigiCollection.h
"
11
#include "
DataFormats/RPCDigi/interface/RPCDigiCollection.h
"
12
#include "
L1Trigger/L1TMuonOverlap/interface/AngleConverter.h
"
13
#include "
L1Trigger/L1TMuonOverlap/interface/OMTFinput.h
"
14
15
16
class
OMTFConfiguration
;
17
18
namespace
edm {
19
class
EventSetup
;
20
}
21
22
class
OMTFinputMaker
{
23
24
public
:
25
26
OMTFinputMaker
();
27
28
~OMTFinputMaker
();
29
30
void
initialize
(
const
edm::EventSetup
& es,
const
OMTFConfiguration
*);
31
33
OMTFinput
buildInputForProcessor
(
const
L1MuDTChambPhContainer
*dtPhDigis,
34
const
L1MuDTChambThContainer
*dtThDigis,
35
const
CSCCorrelatedLCTDigiCollection
*cscDigis,
36
const
RPCDigiCollection
*rpcDigis,
37
unsigned
int
iProcessor,
38
l1t::tftype
type
=
l1t::tftype::omtf_pos
);
39
40
41
void
setFlag
(
int
aFlag) {
flag
= aFlag; }
42
int
getFlag
()
const
{
return
flag
;}
43
44
private
:
45
49
OMTFinput
processDT
(
const
L1MuDTChambPhContainer
*dtPhDigis,
50
const
L1MuDTChambThContainer
*dtThDigis,
51
unsigned
int
iProcessor,
52
l1t::tftype
type
);
53
57
OMTFinput
processCSC
(
const
CSCCorrelatedLCTDigiCollection
*cscDigis,
58
unsigned
int
iProcessor,
59
l1t::tftype
type
);
60
64
OMTFinput
processRPC
(
const
RPCDigiCollection
*rpcDigis,
65
unsigned
int
iProcessor,
66
l1t::tftype
type
);
67
70
bool
acceptDigi
(uint32_t rawId,
71
unsigned
int
iProcessor,
72
l1t::tftype
type
);
73
77
unsigned
int
getInputNumber
(
unsigned
int
rawId,
78
unsigned
int
iProcessor,
79
l1t::tftype
type
);
80
81
AngleConverter
myAngleConverter
;
82
83
const
OMTFConfiguration
*
myOmtfConfig
;
84
85
int
flag
;
86
87
};
88
89
#endif
type
type
Definition:
HCALResponse.h:21
OMTFinputMaker
Definition:
OMTFinputMaker.h:22
OMTFinputMaker::processCSC
OMTFinput processCSC(const CSCCorrelatedLCTDigiCollection *cscDigis, unsigned int iProcessor, l1t::tftype type)
Definition:
OMTFinputMaker.cc:259
OMTFinputMaker::processRPC
OMTFinput processRPC(const RPCDigiCollection *rpcDigis, unsigned int iProcessor, l1t::tftype type)
Definition:
OMTFinputMaker.cc:304
OMTFinputMaker::initialize
void initialize(const edm::EventSetup &es, const OMTFConfiguration *)
Definition:
OMTFinputMaker.cc:24
AngleConverter.h
L1MuDTChambPhContainer.h
OMTFinputMaker::OMTFinputMaker
OMTFinputMaker()
Definition:
OMTFinputMaker.cc:21
OMTFinputMaker::myOmtfConfig
const OMTFConfiguration * myOmtfConfig
Definition:
OMTFinputMaker.h:83
CSCCorrelatedLCTDigiCollection
EventSetup
l1t::tftype
tftype
Definition:
RegionalMuonCandFwd.h:7
OMTFinputMaker::processDT
OMTFinput processDT(const L1MuDTChambPhContainer *dtPhDigis, const L1MuDTChambThContainer *dtThDigis, unsigned int iProcessor, l1t::tftype type)
Definition:
OMTFinputMaker.cc:217
OMTFinputMaker::flag
int flag
Definition:
OMTFinputMaker.h:85
OMTFinputMaker::myAngleConverter
AngleConverter myAngleConverter
Definition:
OMTFinputMaker.h:81
edm::EventSetup
Definition:
EventSetup.h:45
OMTFinputMaker::getFlag
int getFlag() const
Definition:
OMTFinputMaker.h:42
CSCCorrelatedLCTDigiCollection.h
OMTFinput.h
OMTFinputMaker::setFlag
void setFlag(int aFlag)
Definition:
OMTFinputMaker.h:41
RPCDigiCollection
l1t::omtf_pos
Definition:
RegionalMuonCandFwd.h:8
OMTFinputMaker::acceptDigi
bool acceptDigi(uint32_t rawId, unsigned int iProcessor, l1t::tftype type)
Definition:
OMTFinputMaker.cc:36
L1MuDTChambThContainer
Definition:
L1MuDTChambThContainer.h:34
OMTFinputMaker::getInputNumber
unsigned int getInputNumber(unsigned int rawId, unsigned int iProcessor, l1t::tftype type)
Definition:
OMTFinputMaker.cc:138
OMTFConfiguration
Definition:
OMTFConfiguration.h:49
L1MuDTChambPhContainer
Definition:
L1MuDTChambPhContainer.h:34
OMTFinput
Definition:
OMTFinput.h:11
L1MuDTChambThContainer.h
AngleConverter
Definition:
AngleConverter.h:27
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)
Method translating trigger digis into input matrix with global phi coordinates.
Definition:
OMTFinputMaker.cc:372
RPCDigiCollection.h
OMTFinputMaker::~OMTFinputMaker
~OMTFinputMaker()
Definition:
OMTFinputMaker.cc:33
Generated for CMSSW Reference Manual by
1.8.5