CMS 3D CMS Logo

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 
15 
16 class AngleConverter;
17 class OMTFConfiguration;
18 
20 public:
21  OMTFinputMaker(edm::ConsumesCollector &, bool getDuringEvent = true);
22 
24 
25  void initialize(const edm::EventSetup &, const OMTFConfiguration *);
26 
29  const L1MuDTChambThContainer *dtThDigis,
30  const CSCCorrelatedLCTDigiCollection *cscDigis,
31  const RPCDigiCollection *rpcDigis,
32  unsigned int iProcessor,
34  int bx = 0);
35 
36  void setFlag(int aFlag) { flag = aFlag; }
37  int getFlag() const { return flag; }
38 
39 private:
44  const L1MuDTChambThContainer *dtThDigis,
45  unsigned int iProcessor,
47  int bx);
48 
53  unsigned int iProcessor,
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 
74 
75  int flag;
76 };
77 
78 #endif
OMTFinputMaker::processDT
OMTFinput processDT(const L1MuDTChambPhContainer *dtPhDigis, const L1MuDTChambThContainer *dtThDigis, unsigned int iProcessor, l1t::tftype type, int bx)
Definition: OMTFinputMaker.cc:211
CSCCorrelatedLCTDigiCollection.h
OMTFinputMaker::processRPC
OMTFinput processRPC(const RPCDigiCollection *rpcDigis, unsigned int iProcessor, l1t::tftype type, int bx)
Definition: OMTFinputMaker.cc:310
l1t::omtf_pos
Definition: RegionalMuonCandFwd.h:8
l1t::tftype
tftype
Definition: RegionalMuonCandFwd.h:8
l1GtPatternGenerator_cfi.bx
bx
Definition: l1GtPatternGenerator_cfi.py:18
OMTFinputMaker::myOmtfConfig
const OMTFConfiguration * myOmtfConfig
Definition: OMTFinputMaker.h:73
OMTFConfiguration
Definition: OMTFConfiguration.h:44
L1MuDTChambThContainer.h
OMTFinputMaker::OMTFinputMaker
OMTFinputMaker(edm::ConsumesCollector &, bool getDuringEvent=true)
Definition: OMTFinputMaker.cc:20
L1MuDTChambPhContainer
Definition: L1MuDTChambPhContainer.h:33
RPCDigiCollection
OMTFinputMaker::getFlag
int getFlag() const
Definition: OMTFinputMaker.h:37
AngleConverter
Definition: AngleConverter.h:26
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
FrameworkfwdMostUsed.h
OMTFinputMaker::flag
int flag
Definition: OMTFinputMaker.h:75
OMTFinputMaker::myAngleConverter
std::unique_ptr< AngleConverter > myAngleConverter
Definition: OMTFinputMaker.h:71
OMTFinputMaker
Definition: OMTFinputMaker.h:19
edm::EventSetup
Definition: EventSetup.h:58
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
CSCCorrelatedLCTDigiCollection
OMTFinputMaker::setFlag
void setFlag(int aFlag)
Definition: OMTFinputMaker.h:36
L1MuDTChambPhContainer.h
OMTFinputMaker::acceptDigi
bool acceptDigi(uint32_t rawId, unsigned int iProcessor, l1t::tftype type)
Definition: OMTFinputMaker.cc:34
OMTFinputMaker::getInputNumber
unsigned int getInputNumber(unsigned int rawId, unsigned int iProcessor, l1t::tftype type)
Definition: OMTFinputMaker.cc:128
OMTFinputMaker::processCSC
OMTFinput processCSC(const CSCCorrelatedLCTDigiCollection *cscDigis, unsigned int iProcessor, l1t::tftype type, int bx)
Definition: OMTFinputMaker.cc:263
OMTFinputMaker::initialize
void initialize(const edm::EventSetup &, const OMTFConfiguration *)
Definition: OMTFinputMaker.cc:24
RPCDigiCollection.h
OMTFinputMaker::~OMTFinputMaker
~OMTFinputMaker()
Definition: OMTFinputMaker.cc:31
RegionalMuonCandFwd.h
OMTFinput.h
OMTFinput
Definition: OMTFinput.h:11
L1MuDTChambThContainer
Definition: L1MuDTChambThContainer.h:33
edm::ConsumesCollector
Definition: ConsumesCollector.h:45