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 // class declaration
56 public:
57  // constructor(s)
59 
60  // destructor
61  virtual ~L1RetrieveL1Extra();
62 
63 public:
65 
66  inline const bool validL1ExtraMuon() const { return m_validL1ExtraMuon; }
67 
68  //
69  inline const bool validL1ExtraIsoEG() const { return m_validL1ExtraIsoEG; }
70 
71  inline const bool validL1ExtraNoIsoEG() const { return m_validL1ExtraNoIsoEG; }
72 
73  //
74  inline const bool validL1ExtraCenJet() const { return m_validL1ExtraCenJet; }
75 
76  inline const bool validL1ExtraForJet() const { return m_validL1ExtraForJet; }
77 
78  inline const bool validL1ExtraTauJet() const { return m_validL1ExtraTauJet; }
79 
80  //
81  inline const bool validL1ExtraETT() const { return m_validL1ExtraETT; }
82 
83  inline const bool validL1ExtraETM() const { return m_validL1ExtraETM; }
84 
85  inline const bool validL1ExtraHTT() const { return m_validL1ExtraHTT; }
86 
87  inline const bool validL1ExtraHTM() const { return m_validL1ExtraHTM; }
88 
89  //
90  inline const bool validL1ExtraHfBitCounts() const { return m_validL1ExtraHfBitCounts; }
91 
92  inline const bool validL1ExtraHfRingEtSums() const { return m_validL1ExtraHfRingEtSums; }
93 
94  const bool validL1ExtraColl(const L1GtObject&) const;
95 
97  const edm::InputTag inputTagL1ExtraColl(const L1GtObject&) const;
98 
100 
102 
105 
109 
114 
117 
121 
124 
130  void printL1Extra(std::ostream& oStr,
131  const L1GtObject& gtObject,
132  const bool checkBxInEvent,
133  const int bxInEvent,
134  const bool checkObjIndexInColl,
135  const int objIndexInColl) const;
136 
138  void printL1Extra(std::ostream&, const L1GtObject&, const int bxInEvent) const;
139 
141  void printL1Extra(std::ostream&, const L1GtObject&) const;
142 
144  void printL1Extra(std::ostream&, const int bxInEvent) const;
145 
147  void printL1Extra(std::ostream&) const;
148 
149 private:
151 
153 
155 
158 
162 
165 
167 
170 
172 
174 
177 
181 
186 
189 
191 
193 
196 
200 
205 
208 
218 };
219 
220 #endif
edm::InputTag m_tagL1ExtraNoIsoEG
const bool validL1ExtraIsoEG() const
const l1extra::L1JetParticleCollection * m_l1ExtraForJet
const l1extra::L1EtMissParticleCollection * m_l1ExtraETT
const bool validL1ExtraNoIsoEG() const
const bool validL1ExtraTauJet() const
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_tagL1ExtraTauJetTok
edm::InputTag m_tagL1ExtraIsoEG
const bool validL1ExtraHTM() const
edm::EDGetTokenT< l1extra::L1EtMissParticleCollection > m_tagL1ExtraEtMissMETTok
const l1extra::L1EmParticleCollection * l1ExtraIsoEG() const
edm::InputTag m_tagL1ExtraMuon
input parameters
const l1extra::L1EtMissParticleCollection * m_l1ExtraHTM
virtual ~L1RetrieveL1Extra()
const l1extra::L1JetParticleCollection * l1ExtraCenJet() const
const l1extra::L1EtMissParticleCollection * l1ExtraHTM() const
edm::EDGetTokenT< l1extra::L1EtMissParticleCollection > m_tagL1ExtraEtMissHTMTok
edm::EDGetTokenT< l1extra::L1HFRingsCollection > m_tagL1ExtraHFRingsTok
const l1extra::L1JetParticleCollection * m_l1ExtraCenJet
const bool validL1ExtraForJet() const
edm::InputTag m_tagL1ExtraCenJet
std::vector< L1HFRings > L1HFRingsCollection
Definition: L1HFRingsFwd.h:29
const l1extra::L1MuonParticleCollection * l1ExtraMuon() const
return retrieved L1Extra collections
const bool validL1ExtraETT() const
const l1extra::L1HFRingsCollection * l1ExtraHfBitCounts() const
const bool validL1ExtraHTT() const
const bool validL1ExtraETM() const
bool m_validL1ExtraMuon
validity for retrieval of L1Extra products (false: product not found)
const edm::InputTag inputTagL1ExtraColl(const L1GtObject &) const
input tag for a given collection
edm::EDGetTokenT< l1extra::L1EmParticleCollection > m_tagL1ExtraNoIsoEGTok
L1RetrieveL1Extra(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
edm::EDGetTokenT< l1extra::L1EmParticleCollection > m_tagL1ExtraIsoEGTok
const l1extra::L1EtMissParticleCollection * l1ExtraETT() const
const bool validL1ExtraColl(const L1GtObject &) const
const l1extra::L1EmParticleCollection * m_l1ExtraIsoEG
std::vector< L1MuonParticle > L1MuonParticleCollection
const l1extra::L1JetParticleCollection * m_l1ExtraTauJet
const l1extra::L1JetParticleCollection * l1ExtraTauJet() const
std::vector< L1JetParticle > L1JetParticleCollection
edm::InputTag m_tagL1ExtraEtMissHTM
edm::InputTag m_tagL1ExtraForJet
const bool validL1ExtraCenJet() const
edm::InputTag m_tagL1ExtraTauJet
const l1extra::L1EtMissParticleCollection * m_l1ExtraETM
const bool validL1ExtraHfBitCounts() const
std::vector< L1EmParticle > L1EmParticleCollection
edm::EDGetTokenT< l1extra::L1MuonParticleCollection > m_tagL1ExtraMuonTok
const l1extra::L1JetParticleCollection * l1ExtraForJet() const
const l1extra::L1EtMissParticleCollection * m_l1ExtraHTT
edm::InputTag m_tagL1ExtraEtMissMET
const l1extra::L1EtMissParticleCollection * l1ExtraHTT() const
void printL1Extra(std::ostream &oStr, const L1GtObject &gtObject, const bool checkBxInEvent, const int bxInEvent, const bool checkObjIndexInColl, const int objIndexInColl) const
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_tagL1ExtraCenJetTok
const bool validL1ExtraHfRingEtSums() const
std::vector< L1EtMissParticle > L1EtMissParticleCollection
const l1extra::L1HFRingsCollection * m_l1ExtraHfRingEtSums
const l1extra::L1EmParticleCollection * m_l1ExtraNoIsoEG
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_tagL1ExtraForJetTok
const l1extra::L1HFRingsCollection * l1ExtraHfRingEtSums() const
const l1extra::L1EmParticleCollection * l1ExtraNoIsoEG() const
const bool validL1ExtraMuon() const
validity for retrieval of L1Extra products (false: product not found)
const l1extra::L1MuonParticleCollection * m_l1ExtraMuon
retrieved L1Extra collections
const l1extra::L1EtMissParticleCollection * l1ExtraETM() const
edm::InputTag m_tagL1ExtraHFRings
void retrieveL1ExtraObjects(const edm::Event &, const edm::EventSetup &)
const l1extra::L1HFRingsCollection * m_l1ExtraHfBitCounts