CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
HLTLevel1GTSeed.h
Go to the documentation of this file.
1 #ifndef HLTfilters_HLTLevel1GTSeed_h
2 #define HLTfilters_HLTLevel1GTSeed_h
3 
22 // system include files
23 #include <string>
24 #include <vector>
25 
26 // user include files
27 
28 // base class
30 
32 
36 
38 
39 // forward declarations
40 class L1GtTriggerMenu;
41 class L1GtTriggerMask;
43 
44 // class declaration
45 class HLTLevel1GTSeed : public HLTFilter
46 {
47 
48 public:
49 
51  explicit HLTLevel1GTSeed(const edm::ParameterSet&);
52 
54  virtual ~HLTLevel1GTSeed();
55 
57  virtual bool hltFilter(edm::Event&, const edm::EventSetup&, trigger::TriggerFilterObjectWithRefs & filterproduct);
58 
59 private:
60 
62  const std::vector<L1GtObject>* objectTypeVec(const int chipNumber, const std::string& cndName);
63 
67 
70  void updateAlgoLogicParser(const std::vector<bool>& gtWord,
71  const std::vector<unsigned int>& triggerMask, const int physicsDaqPartition);
72 
76 
79  void debugPrint(bool);
80 
83  edm::Event &,
86  const int physicsDaqPartition);
87 
94 
97 
98 
99 private:
100 
101  // cached stuff
102 
105  unsigned long long m_l1GtMenuCacheID;
106 
109  unsigned long long m_l1GtTmAlgoCacheID;
110 
112  unsigned long long m_l1GtTmTechCacheID;
113 
114  std::vector<unsigned int> m_triggerMaskAlgoTrig;
115  std::vector<unsigned int> m_triggerMaskTechTrig;
116 
117  //
118 
121 
123  std::vector<L1GtLogicParser::OperandToken> m_l1AlgoSeeds;
124 
126  std::vector< const std::vector<L1GtLogicParser::TokenRPN>* > m_l1AlgoSeedsRpn;
127 
129  std::vector< std::vector< const std::vector<L1GtObject>* > > m_l1AlgoSeedsObjType;
130 
131 
132 private:
133 
143 
147 
150 
153 
157 
160 
163 
166 
169 
180 
183 
186 };
187 
188 #endif // HLTfilters_HLTLevel1GTSeed_h
bool m_l1UseL1TriggerObjectMaps
const L1GtTriggerMenu * m_l1GtMenu
trigger menu
void dumpTriggerFilterObjectWithRefs(trigger::TriggerFilterObjectWithRefs &)
detailed print of filter content
const L1GtTriggerMask * m_l1GtTmAlgo
trigger masks
edm::InputTag m_l1EtMissMHT
std::map< std::string, L1GtAlgorithm > AlgorithmMap
map containing the algorithms
void debugPrint(bool)
std::vector< L1GtLogicParser::OperandToken > m_l1AlgoSeeds
list of required algorithms for seeding
bool m_l1UseAliasesForSeeding
seeding uses algorithm aliases instead of algorithm names, if value is &quot;true&quot;
bool seedsL1Extra(edm::Event &, trigger::TriggerFilterObjectWithRefs &)
edm::InputTag m_l1ExtraTag
std::vector< unsigned int > m_triggerMaskTechTrig
bool m_l1TechTriggerSeeding
seeding done via technical trigger bits, if value is &quot;true&quot;
edm::InputTag m_l1GtObjectMapTag
InputTag for L1 Global Trigger object maps.
std::vector< std::vector< const std::vector< L1GtObject > * > > m_l1AlgoSeedsObjType
vector of object-type vectors for each condition in the required algorithms for seeding ...
edm::InputTag m_l1CollectionsTag
InputTag for L1 particle collections (except muon)
edm::InputTag m_l1MuonCollectionTag
InputTag for L1 muon collection.
void updateAlgoLogicParser(const L1GtTriggerMenu *, const AlgorithmMap &)
std::string m_l1SeedsLogicalExpression
edm::InputTag m_l1IsoEGTag
unsigned long long m_l1GtMenuCacheID
edm::InputTag m_l1ForJetTag
bool m_isDebugEnabled
cache edm::isDebugEnabled()
edm::InputTag m_l1CenJetTag
std::vector< const std::vector< L1GtLogicParser::TokenRPN > * > m_l1AlgoSeedsRpn
vector of Rpn vectors for the required algorithms for seeding
edm::InputTag m_l1NoIsoEGTag
void convertStringToBitNumber()
unsigned long long m_l1GtTmTechCacheID
unsigned long long m_l1GtTmAlgoCacheID
bool seedsL1TriggerObjectMaps(edm::Event &, trigger::TriggerFilterObjectWithRefs &, const L1GlobalTriggerReadoutRecord *, const int physicsDaqPartition)
seeding is done via L1 trigger object maps, considering the objects which fired in L1 ...
edm::InputTag m_l1GtReadoutRecordTag
InputTag for the L1 Global Trigger DAQ readout record.
bool m_l1GlobalDecision
replace string &quot;L1GlobalDecision&quot; with bool to speed up the &quot;if&quot;
const std::vector< L1GtObject > * objectTypeVec(const int chipNumber, const std::string &cndName)
get the vector of object types for a condition cndName on the GTL chip chipNumber ...
std::vector< unsigned int > m_triggerMaskAlgoTrig
HLTLevel1GTSeed(const edm::ParameterSet &)
constructor
virtual ~HLTLevel1GTSeed()
destructor
edm::InputTag m_l1EtMissMET
edm::InputTag m_l1MuonTag
cached InputTags
L1GtLogicParser m_l1AlgoLogicParser
logic parser for m_l1SeedsLogicalExpression
edm::InputTag m_l1TauJetTag
const L1GtTriggerMask * m_l1GtTmTech
virtual bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct)
filter the event