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 
14 
15 class OMTFConfiguration;
16 
17 namespace edm {
18  class EventSetup;
19 }
20 
22 public:
24 
25  ~OMTFinputMaker();
26 
27  void initialize(const edm::EventSetup &es, const OMTFConfiguration *);
28 
30  OMTFinput buildInputForProcessor(const L1MuDTChambPhContainer *dtPhDigis,
31  const L1MuDTChambThContainer *dtThDigis,
32  const CSCCorrelatedLCTDigiCollection *cscDigis,
33  const RPCDigiCollection *rpcDigis,
34  unsigned int iProcessor,
36  int bx = 0);
37 
38  void setFlag(int aFlag) { flag = aFlag; }
39  int getFlag() const { return flag; }
40 
41 private:
45  OMTFinput processDT(const L1MuDTChambPhContainer *dtPhDigis,
46  const L1MuDTChambThContainer *dtThDigis,
47  unsigned int iProcessor,
49  int bx);
50 
54  OMTFinput processCSC(const CSCCorrelatedLCTDigiCollection *cscDigis,
55  unsigned int iProcessor,
56  l1t::tftype type,
57  int bx);
58 
62  OMTFinput processRPC(const RPCDigiCollection *rpcDigis, unsigned int iProcessor, l1t::tftype type, int bx);
63 
66  bool acceptDigi(uint32_t rawId, unsigned int iProcessor, l1t::tftype type);
67 
71  unsigned int getInputNumber(unsigned int rawId, unsigned int iProcessor, l1t::tftype type);
72 
74 
76 
77  int flag;
78 };
79 
80 #endif
type
Definition: HCALResponse.h:21
static AlgebraicMatrix initialize()
const OMTFConfiguration * myOmtfConfig
AngleConverter myAngleConverter
int getFlag() const
void setFlag(int aFlag)
HLT enums.