CMS 3D CMS Logo

L1RetrieveL1Extra.h
Go to the documentation of this file.
1 #ifndef L1Trigger_GlobalTriggerAnalyzer_L1RetrieveL1Extra_h
2 #define L1Trigger_GlobalTriggerAnalyzer_L1RetrieveL1Extra_h
3 
18 // system include files
19 #include <iosfwd>
20 #include <memory>
21 #include <vector>
22 #include <string>
23 
24 // user include files
25 // base classes
26 
27 //
30 
34 
37 
38 // L1Extra objects
51 
52 // forward declarations
53 
54 
55 // class declaration
57 
58 public:
59 
60  // constructor(s)
62 
63  // destructor
64  virtual ~L1RetrieveL1Extra();
65 
66 public:
67 
69 
70  inline const bool validL1ExtraMuon() const {
71  return m_validL1ExtraMuon;
72  }
73 
74  //
75  inline const bool validL1ExtraIsoEG() const {
76  return m_validL1ExtraIsoEG;
77  }
78 
79  inline const bool validL1ExtraNoIsoEG() const {
80  return m_validL1ExtraNoIsoEG;
81  }
82 
83  //
84  inline const bool validL1ExtraCenJet() const {
85  return m_validL1ExtraCenJet;
86  }
87 
88  inline const bool validL1ExtraForJet() const {
89  return m_validL1ExtraForJet;
90  }
91 
92  inline const bool validL1ExtraTauJet() const {
93  return m_validL1ExtraTauJet;
94  }
95 
96  //
97  inline const bool validL1ExtraETT() const {
98  return m_validL1ExtraETT;
99  }
100 
101  inline const bool validL1ExtraETM() const {
102  return m_validL1ExtraETM;
103  }
104 
105  inline const bool validL1ExtraHTT() const {
106  return m_validL1ExtraHTT;
107  }
108 
109  inline const bool validL1ExtraHTM() const {
110  return m_validL1ExtraHTM;
111  }
112 
113  //
114  inline const bool validL1ExtraHfBitCounts() const {
116  }
117 
118  inline const bool validL1ExtraHfRingEtSums() const {
120  }
121 
122  const bool validL1ExtraColl(const L1GtObject&) const;
123 
125  const edm::InputTag inputTagL1ExtraColl(const L1GtObject&) const;
126 
128 
130  return m_l1ExtraMuon;
131  }
132 
134  return m_l1ExtraIsoEG;
135  }
137  return m_l1ExtraNoIsoEG;
138  }
139 
141  return m_l1ExtraCenJet;
142  }
144  return m_l1ExtraForJet;
145  }
147  return m_l1ExtraTauJet;
148  }
149 
151  return m_l1ExtraETT;
152  }
154  return m_l1ExtraETM;
155  }
157  return m_l1ExtraHTT;
158  }
160  return m_l1ExtraHTM;
161  }
162 
164  return m_l1ExtraHfBitCounts;
165  }
167  return m_l1ExtraHfRingEtSums;
168  }
169 
173 
176 
182  void printL1Extra(std::ostream& oStr, const L1GtObject& gtObject,
183  const bool checkBxInEvent, const int bxInEvent,
184  const bool checkObjIndexInColl, const int objIndexInColl) const;
185 
187  void printL1Extra(std::ostream&, const L1GtObject&, const int bxInEvent) const;
188 
190  void printL1Extra(std::ostream&, const L1GtObject&) const;
191 
193  void printL1Extra(std::ostream&, const int bxInEvent) const;
194 
196  void printL1Extra(std::ostream&) const;
197 
198 private:
199 
201 
203 
205 
208 
212 
215 
217 
220 
222 
224 
227 
231 
236 
239 
241 
243 
246 
250 
255 
258 
268 };
269 
270 #endif
edm::InputTag m_tagL1ExtraNoIsoEG
const l1extra::L1JetParticleCollection * m_l1ExtraForJet
const l1extra::L1MuonParticleCollection * l1ExtraMuon() const
return retrieved L1Extra collections
const l1extra::L1EtMissParticleCollection * m_l1ExtraETT
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_tagL1ExtraTauJetTok
edm::InputTag m_tagL1ExtraIsoEG
const bool validL1ExtraHTM() const
const bool validL1ExtraForJet() const
std::vector< L1JetParticle > L1JetParticleCollection
edm::EDGetTokenT< l1extra::L1EtMissParticleCollection > m_tagL1ExtraEtMissMETTok
edm::InputTag m_tagL1ExtraMuon
input parameters
const l1extra::L1EtMissParticleCollection * m_l1ExtraHTM
const bool validL1ExtraHTT() const
virtual ~L1RetrieveL1Extra()
edm::EDGetTokenT< l1extra::L1EtMissParticleCollection > m_tagL1ExtraEtMissHTMTok
const l1extra::L1EmParticleCollection * l1ExtraNoIsoEG() const
const bool validL1ExtraMuon() const
validity for retrieval of L1Extra products (false: product not found)
edm::EDGetTokenT< l1extra::L1HFRingsCollection > m_tagL1ExtraHFRingsTok
const l1extra::L1JetParticleCollection * m_l1ExtraCenJet
void printL1Extra(std::ostream &oStr, const L1GtObject &gtObject, const bool checkBxInEvent, const int bxInEvent, const bool checkObjIndexInColl, const int objIndexInColl) const
const bool validL1ExtraIsoEG() const
edm::InputTag m_tagL1ExtraCenJet
const bool validL1ExtraETT() const
bool m_validL1ExtraMuon
validity for retrieval of L1Extra products (false: product not found)
edm::EDGetTokenT< l1extra::L1EmParticleCollection > m_tagL1ExtraNoIsoEGTok
L1RetrieveL1Extra(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
edm::EDGetTokenT< l1extra::L1EmParticleCollection > m_tagL1ExtraIsoEGTok
const l1extra::L1EmParticleCollection * l1ExtraIsoEG() const
const bool validL1ExtraHfBitCounts() const
const bool validL1ExtraCenJet() const
const bool validL1ExtraTauJet() const
const l1extra::L1EmParticleCollection * m_l1ExtraIsoEG
const l1extra::L1JetParticleCollection * m_l1ExtraTauJet
edm::InputTag m_tagL1ExtraEtMissHTM
edm::InputTag m_tagL1ExtraForJet
const l1extra::L1HFRingsCollection * l1ExtraHfRingEtSums() const
edm::InputTag m_tagL1ExtraTauJet
const l1extra::L1EtMissParticleCollection * l1ExtraHTM() const
const l1extra::L1EtMissParticleCollection * m_l1ExtraETM
const l1extra::L1JetParticleCollection * l1ExtraTauJet() const
edm::EDGetTokenT< l1extra::L1MuonParticleCollection > m_tagL1ExtraMuonTok
const l1extra::L1JetParticleCollection * l1ExtraCenJet() const
const l1extra::L1EtMissParticleCollection * m_l1ExtraHTT
edm::InputTag m_tagL1ExtraEtMissMET
const l1extra::L1EtMissParticleCollection * l1ExtraETM() const
const edm::InputTag inputTagL1ExtraColl(const L1GtObject &) const
input tag for a given collection
const l1extra::L1JetParticleCollection * l1ExtraForJet() const
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_tagL1ExtraCenJetTok
const bool validL1ExtraHfRingEtSums() const
const l1extra::L1HFRingsCollection * m_l1ExtraHfRingEtSums
const bool validL1ExtraNoIsoEG() const
const l1extra::L1EtMissParticleCollection * l1ExtraETT() const
const l1extra::L1EmParticleCollection * m_l1ExtraNoIsoEG
const l1extra::L1EtMissParticleCollection * l1ExtraHTT() const
std::vector< L1EtMissParticle > L1EtMissParticleCollection
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_tagL1ExtraForJetTok
const bool validL1ExtraColl(const L1GtObject &) const
std::vector< L1EmParticle > L1EmParticleCollection
const bool validL1ExtraETM() const
std::vector< L1MuonParticle > L1MuonParticleCollection
const l1extra::L1MuonParticleCollection * m_l1ExtraMuon
retrieved L1Extra collections
std::vector< L1HFRings > L1HFRingsCollection
Definition: L1HFRingsFwd.h:30
edm::InputTag m_tagL1ExtraHFRings
void retrieveL1ExtraObjects(const edm::Event &, const edm::EventSetup &)
const l1extra::L1HFRingsCollection * l1ExtraHfBitCounts() const
const l1extra::L1HFRingsCollection * m_l1ExtraHfBitCounts