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 
16 class OMTFConfiguration;
17 
18 namespace edm {
19  class EventSetup;
20 }
21 
23 
24  public:
25 
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,
39  int bx=0);
40 
41 
42  void setFlag(int aFlag) {flag = aFlag; }
43  int getFlag() const { return flag;}
44 
45  private:
46 
50  OMTFinput processDT(const L1MuDTChambPhContainer *dtPhDigis,
51  const L1MuDTChambThContainer *dtThDigis,
52  unsigned int iProcessor,
53  l1t::tftype type, int bx);
54 
58  OMTFinput processCSC(const CSCCorrelatedLCTDigiCollection *cscDigis,
59  unsigned int iProcessor,
60  l1t::tftype type, int bx);
61 
65  OMTFinput processRPC(const RPCDigiCollection *rpcDigis,
66  unsigned int iProcessor,
67  l1t::tftype type, int bx);
68 
71  bool acceptDigi(uint32_t rawId,
72  unsigned int iProcessor,
73  l1t::tftype type);
74 
78  unsigned int getInputNumber(unsigned int rawId,
79  unsigned int iProcessor,
80  l1t::tftype type);
81 
83 
85 
86  int flag;
87 
88 };
89 
90 #endif
type
Definition: HCALResponse.h:21
static AlgebraicMatrix initialize()
const OMTFConfiguration * myOmtfConfig
AngleConverter myAngleConverter
int getFlag() const
void setFlag(int aFlag)
HLT enums.