CMS 3D CMS Logo

HLTL1TSeed.h
Go to the documentation of this file.
1 #ifndef HLTfilters_HLTL1TSeed_h
2 #define HLTfilters_HLTL1TSeed_h
3 
17 // system include files
18 #include <string>
19 #include <vector>
20 
21 // user include files
22 
23 // base class
26 
32 
34 
35 // forward declarations
36 class L1GtTriggerMenu;
37 class L1GtTriggerMask;
39 
41 namespace edm {
43 }
44 
45 // class declaration
47 {
48 
49 public:
50 
52  explicit HLTL1TSeed(const edm::ParameterSet&);
53 
55  ~HLTL1TSeed() override;
56 
58  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
59 
61  bool hltFilter(edm::Event&, const edm::EventSetup&, trigger::TriggerFilterObjectWithRefs & filterproduct) override;
62 
63 private:
64 
67  void inline updateAlgoLogicParser(const L1GtTriggerMenu*, const AlgorithmMap&) { };
68 
71  void inline updateAlgoLogicParser(const std::vector<bool>& gtWord,
72  const std::vector<unsigned int>& triggerMask, const int physicsDaqPartition) { };
73 
75  bool seedsL1TriggerObjectMaps( edm::Event &, trigger::TriggerFilterObjectWithRefs &);
76 
77 
79  void dumpTriggerFilterObjectWithRefs(trigger::TriggerFilterObjectWithRefs &) const;
80 
81 private:
82 
85 
87  std::vector<GlobalLogicParser::OperandToken> m_l1AlgoSeeds;
88 
90  std::vector< const std::vector<GlobalLogicParser::TokenRPN>* > m_l1AlgoSeedsRpn;
91 
93  std::vector< std::vector< const std::vector<l1t::GlobalObject>* > > m_l1AlgoSeedsObjType;
94 
95 
96 private:
97 
101 
105 
109 
113 
114  //edm::InputTag dummyTag;
119 
124 
129 
134 
139 
142 
145 };
146 
147 #endif // HLTfilters_HLTL1TSeed_h
std::string m_l1SeedsLogicalExpression
Definition: HLTL1TSeed.h:104
edm::EDGetTokenT< l1t::EtSumBxCollection > m_l1EtSumToken
Definition: HLTL1TSeed.h:138
std::vector< std::vector< const std::vector< l1t::GlobalObject > * > > m_l1AlgoSeedsObjType
vector of object-type vectors for each condition in the required algorithms for seeding ...
Definition: HLTL1TSeed.h:93
edm::InputTag m_l1MuonTag
Definition: HLTL1TSeed.h:117
void updateAlgoLogicParser(const L1GtTriggerMenu *, const AlgorithmMap &)
Definition: HLTL1TSeed.h:67
edm::InputTag m_l1EGammaCollectionsTag
Meta InputTag for L1 Egamma collection.
Definition: HLTL1TSeed.h:121
std::map< std::string, L1GtAlgorithm > AlgorithmMap
map containing the algorithms
edm::InputTag m_l1JetCollectionsTag
Meta InputTag for L1 Egamma collection.
Definition: HLTL1TSeed.h:126
edm::InputTag m_l1JetTag
Definition: HLTL1TSeed.h:127
edm::InputTag m_l1GtObjectMapTag
InputTag for L1 Global Trigger object maps. This is done per menu. Should be part of Run...
Definition: HLTL1TSeed.h:107
edm::EDGetTokenT< l1t::JetBxCollection > m_l1JetToken
Definition: HLTL1TSeed.h:128
GlobalLogicParser m_l1AlgoLogicParser
logic parser for m_l1SeedsLogicalExpression
Definition: HLTL1TSeed.h:84
edm::EDGetTokenT< l1t::EGammaBxCollection > m_l1EGammaToken
Definition: HLTL1TSeed.h:123
edm::InputTag m_l1EtSumTag
Definition: HLTL1TSeed.h:137
std::vector< const std::vector< GlobalLogicParser::TokenRPN > * > m_l1AlgoSeedsRpn
vector of Rpn vectors for the required algorithms for seeding
Definition: HLTL1TSeed.h:90
edm::InputTag m_l1TauTag
Definition: HLTL1TSeed.h:132
edm::InputTag m_l1EtSumCollectionsTag
Meta InputTag for L1 Egamma collection.
Definition: HLTL1TSeed.h:136
int m_l1NrBxInEvent
Definition: HLTL1TSeed.h:100
edm::InputTag m_l1TauCollectionsTag
Meta InputTag for L1 Egamma collection.
Definition: HLTL1TSeed.h:131
bool m_isDebugEnabled
cache edm::isDebugEnabled()
Definition: HLTL1TSeed.h:144
std::vector< GlobalLogicParser::OperandToken > m_l1AlgoSeeds
list of required algorithms for seeding
Definition: HLTL1TSeed.h:87
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void updateAlgoLogicParser(const std::vector< bool > &gtWord, const std::vector< unsigned int > &triggerMask, const int physicsDaqPartition)
Definition: HLTL1TSeed.h:71
edm::InputTag m_l1EGammaTag
Definition: HLTL1TSeed.h:122
edm::InputTag m_l1GlobalTag
InputTag for L1 Global Trigger.
Definition: HLTL1TSeed.h:111
edm::EDGetTokenT< GlobalAlgBlkBxCollection > m_l1GlobalToken
Definition: HLTL1TSeed.h:112
HLT enums.
edm::InputTag m_l1MuonCollectionsTag
Meta InputTag for L1 Muon collection.
Definition: HLTL1TSeed.h:116
bool m_l1GlobalDecision
flag to pass if L1TGlobal accept
Definition: HLTL1TSeed.h:141
edm::EDGetTokenT< l1t::MuonBxCollection > m_l1MuonToken
Definition: HLTL1TSeed.h:118
edm::EDGetTokenT< l1t::TauBxCollection > m_l1TauToken
Definition: HLTL1TSeed.h:133
edm::EDGetTokenT< GlobalObjectMapRecord > m_l1GtObjectMapToken
Definition: HLTL1TSeed.h:108