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
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.
OMTFinput processRPC(const RPCDigiCollection *rpcDigis, unsigned int iProcessor, l1t::tftype type, int bx)
void initialize(const edm::EventSetup &, const OMTFConfiguration *)
const OMTFConfiguration * myOmtfConfig
int getFlag() const
OMTFinput processCSC(const CSCCorrelatedLCTDigiCollection *cscDigis, unsigned int iProcessor, l1t::tftype type, int bx)
void setFlag(int aFlag)
bool acceptDigi(uint32_t rawId, unsigned int iProcessor, l1t::tftype type)
std::unique_ptr< AngleConverter > myAngleConverter
unsigned int getInputNumber(unsigned int rawId, unsigned int iProcessor, l1t::tftype type)
OMTFinput processDT(const L1MuDTChambPhContainer *dtPhDigis, const L1MuDTChambThContainer *dtThDigis, unsigned int iProcessor, l1t::tftype type, int bx)
OMTFinputMaker(edm::ConsumesCollector &, bool getDuringEvent=true)