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
L1RetrieveL1Extra::m_l1ExtraNoIsoEG
const l1extra::L1EmParticleCollection * m_l1ExtraNoIsoEG
Definition: L1RetrieveL1Extra.h:195
L1RetrieveL1Extra::retrieveL1ExtraObjects
void retrieveL1ExtraObjects(const edm::Event &, const edm::EventSetup &)
Definition: L1RetrieveL1Extra.cc:91
L1RetrieveL1Extra::m_l1ExtraHfBitCounts
const l1extra::L1HFRingsCollection * m_l1ExtraHfBitCounts
Definition: L1RetrieveL1Extra.h:206
L1RetrieveL1Extra::m_tagL1ExtraTauJetTok
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_tagL1ExtraTauJetTok
Definition: L1RetrieveL1Extra.h:214
L1HFRingsFwd.h
L1RetrieveL1Extra::m_l1ExtraForJet
const l1extra::L1JetParticleCollection * m_l1ExtraForJet
Definition: L1RetrieveL1Extra.h:198
L1MuonParticleFwd.h
L1RetrieveL1Extra::validL1ExtraNoIsoEG
const bool validL1ExtraNoIsoEG() const
Definition: L1RetrieveL1Extra.h:71
L1RetrieveL1Extra::l1ExtraETM
const l1extra::L1EtMissParticleCollection * l1ExtraETM() const
Definition: L1RetrieveL1Extra.h:111
L1GlobalTriggerReadoutSetupFwd.h
L1RetrieveL1Extra::m_validL1ExtraETT
bool m_validL1ExtraETT
Definition: L1RetrieveL1Extra.h:182
edm::EDGetTokenT< l1extra::L1MuonParticleCollection >
L1RetrieveL1Extra::m_tagL1ExtraEtMissMETTok
edm::EDGetTokenT< l1extra::L1EtMissParticleCollection > m_tagL1ExtraEtMissMETTok
Definition: L1RetrieveL1Extra.h:215
L1RetrieveL1Extra::m_tagL1ExtraHFRingsTok
edm::EDGetTokenT< l1extra::L1HFRingsCollection > m_tagL1ExtraHFRingsTok
Definition: L1RetrieveL1Extra.h:217
L1RetrieveL1Extra::m_nrBxInEventGct
int m_nrBxInEventGct
Definition: L1RetrieveL1Extra.h:169
L1RetrieveL1Extra::validL1ExtraIsoEG
const bool validL1ExtraIsoEG() const
Definition: L1RetrieveL1Extra.h:69
L1RetrieveL1Extra::m_l1ExtraHTM
const l1extra::L1EtMissParticleCollection * m_l1ExtraHTM
Definition: L1RetrieveL1Extra.h:204
L1RetrieveL1Extra::m_l1ExtraETT
const l1extra::L1EtMissParticleCollection * m_l1ExtraETT
Definition: L1RetrieveL1Extra.h:201
L1HFRings.h
L1RetrieveL1Extra::l1ExtraIsoEG
const l1extra::L1EmParticleCollection * l1ExtraIsoEG() const
Definition: L1RetrieveL1Extra.h:103
L1RetrieveL1Extra::validL1ExtraETT
const bool validL1ExtraETT() const
Definition: L1RetrieveL1Extra.h:81
L1RetrieveL1Extra::validL1ExtraHTM
const bool validL1ExtraHTM() const
Definition: L1RetrieveL1Extra.h:87
L1RetrieveL1Extra::m_validL1ExtraHfBitCounts
bool m_validL1ExtraHfBitCounts
Definition: L1RetrieveL1Extra.h:187
L1RetrieveL1Extra::inputTagL1ExtraColl
const edm::InputTag inputTagL1ExtraColl(const L1GtObject &) const
input tag for a given collection
Definition: L1RetrieveL1Extra.cc:246
L1RetrieveL1Extra::m_tagL1ExtraCenJet
edm::InputTag m_tagL1ExtraCenJet
Definition: L1RetrieveL1Extra.h:159
L1RetrieveL1Extra::m_validL1ExtraIsoEG
bool m_validL1ExtraIsoEG
Definition: L1RetrieveL1Extra.h:175
L1RetrieveL1Extra::l1ExtraHTM
const l1extra::L1EtMissParticleCollection * l1ExtraHTM() const
Definition: L1RetrieveL1Extra.h:113
L1RetrieveL1Extra::l1ExtraMuon
const l1extra::L1MuonParticleCollection * l1ExtraMuon() const
return retrieved L1Extra collections
Definition: L1RetrieveL1Extra.h:101
L1RetrieveL1Extra::m_l1ExtraCenJet
const l1extra::L1JetParticleCollection * m_l1ExtraCenJet
Definition: L1RetrieveL1Extra.h:197
L1RetrieveL1Extra::m_tagL1ExtraMuon
edm::InputTag m_tagL1ExtraMuon
input parameters
Definition: L1RetrieveL1Extra.h:154
L1RetrieveL1Extra::validL1ExtraForJet
const bool validL1ExtraForJet() const
Definition: L1RetrieveL1Extra.h:76
Service.h
L1RetrieveL1Extra::~L1RetrieveL1Extra
virtual ~L1RetrieveL1Extra()
Definition: L1RetrieveL1Extra.cc:87
L1RetrieveL1Extra::m_nrBxInEventGmt
int m_nrBxInEventGmt
Definition: L1RetrieveL1Extra.h:168
L1RetrieveL1Extra::m_validL1ExtraCenJet
bool m_validL1ExtraCenJet
Definition: L1RetrieveL1Extra.h:178
L1RetrieveL1Extra::m_validL1ExtraHTT
bool m_validL1ExtraHTT
Definition: L1RetrieveL1Extra.h:184
Run.h
L1RetrieveL1Extra::l1ExtraCenJet
const l1extra::L1JetParticleCollection * l1ExtraCenJet() const
Definition: L1RetrieveL1Extra.h:106
L1RetrieveL1Extra::m_tagL1ExtraEtMissHTMTok
edm::EDGetTokenT< l1extra::L1EtMissParticleCollection > m_tagL1ExtraEtMissHTMTok
Definition: L1RetrieveL1Extra.h:216
l1extra::L1JetParticleCollection
std::vector< L1JetParticle > L1JetParticleCollection
Definition: L1JetParticleFwd.h:28
l1extra::L1HFRingsCollection
std::vector< L1HFRings > L1HFRingsCollection
Definition: L1HFRingsFwd.h:29
L1RetrieveL1Extra::validL1ExtraHTT
const bool validL1ExtraHTT() const
Definition: L1RetrieveL1Extra.h:85
L1RetrieveL1Extra::validL1ExtraETM
const bool validL1ExtraETM() const
Definition: L1RetrieveL1Extra.h:83
L1RetrieveL1Extra::m_validL1ExtraForJet
bool m_validL1ExtraForJet
Definition: L1RetrieveL1Extra.h:179
L1EmParticleFwd.h
L1RetrieveL1Extra::m_l1ExtraHTT
const l1extra::L1EtMissParticleCollection * m_l1ExtraHTT
Definition: L1RetrieveL1Extra.h:203
L1RetrieveL1Extra::m_l1ExtraTauJet
const l1extra::L1JetParticleCollection * m_l1ExtraTauJet
Definition: L1RetrieveL1Extra.h:199
L1RetrieveL1Extra::l1ExtraTauJet
const l1extra::L1JetParticleCollection * l1ExtraTauJet() const
Definition: L1RetrieveL1Extra.h:108
L1JetParticleFwd.h
edm::ParameterSet
Definition: ParameterSet.h:36
L1EtMissParticleFwd.h
L1RetrieveL1Extra
Definition: L1RetrieveL1Extra.h:55
Event.h
L1RetrieveL1Extra::validL1ExtraCenJet
const bool validL1ExtraCenJet() const
Definition: L1RetrieveL1Extra.h:74
L1RetrieveL1Extra::l1ExtraHfBitCounts
const l1extra::L1HFRingsCollection * l1ExtraHfBitCounts() const
Definition: L1RetrieveL1Extra.h:115
L1RetrieveL1Extra::m_tagL1ExtraCenJetTok
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_tagL1ExtraCenJetTok
Definition: L1RetrieveL1Extra.h:212
L1RetrieveL1Extra::m_validL1ExtraMuon
bool m_validL1ExtraMuon
validity for retrieval of L1Extra products (false: product not found)
Definition: L1RetrieveL1Extra.h:173
L1RetrieveL1Extra::l1ExtraForJet
const l1extra::L1JetParticleCollection * l1ExtraForJet() const
Definition: L1RetrieveL1Extra.h:107
l1extra::L1EtMissParticleCollection
std::vector< L1EtMissParticle > L1EtMissParticleCollection
Definition: L1EtMissParticleFwd.h:32
L1RetrieveL1Extra::m_validL1ExtraTauJet
bool m_validL1ExtraTauJet
Definition: L1RetrieveL1Extra.h:180
L1RetrieveL1Extra::m_l1ExtraIsoEG
const l1extra::L1EmParticleCollection * m_l1ExtraIsoEG
Definition: L1RetrieveL1Extra.h:194
L1RetrieveL1Extra::m_tagL1ExtraEtMissMET
edm::InputTag m_tagL1ExtraEtMissMET
Definition: L1RetrieveL1Extra.h:163
L1RetrieveL1Extra::m_tagL1ExtraNoIsoEGTok
edm::EDGetTokenT< l1extra::L1EmParticleCollection > m_tagL1ExtraNoIsoEGTok
Definition: L1RetrieveL1Extra.h:211
L1RetrieveL1Extra::m_tagL1ExtraEtMissHTM
edm::InputTag m_tagL1ExtraEtMissHTM
Definition: L1RetrieveL1Extra.h:164
L1RetrieveL1Extra::L1RetrieveL1Extra
L1RetrieveL1Extra(const edm::ParameterSet &, edm::ConsumesCollector &&iC)
Definition: L1RetrieveL1Extra.cc:31
edm::EventSetup
Definition: EventSetup.h:57
L1EmParticle.h
L1RetrieveL1Extra::m_tagL1ExtraIsoEGTok
edm::EDGetTokenT< l1extra::L1EmParticleCollection > m_tagL1ExtraIsoEGTok
Definition: L1RetrieveL1Extra.h:210
L1RetrieveL1Extra::l1ExtraHTT
const l1extra::L1EtMissParticleCollection * l1ExtraHTT() const
Definition: L1RetrieveL1Extra.h:112
L1RetrieveL1Extra::m_tagL1ExtraTauJet
edm::InputTag m_tagL1ExtraTauJet
Definition: L1RetrieveL1Extra.h:161
L1RetrieveL1Extra::printL1Extra
void printL1Extra(std::ostream &oStr, const L1GtObject &gtObject, const bool checkBxInEvent, const int bxInEvent, const bool checkObjIndexInColl, const int objIndexInColl) const
Definition: L1RetrieveL1Extra.cc:411
InputTag.h
L1RetrieveL1Extra::l1ExtraETT
const l1extra::L1EtMissParticleCollection * l1ExtraETT() const
Definition: L1RetrieveL1Extra.h:110
L1RetrieveL1Extra::validL1ExtraColl
const bool validL1ExtraColl(const L1GtObject &) const
Definition: L1RetrieveL1Extra.cc:325
l1extra::L1MuonParticleCollection
std::vector< L1MuonParticle > L1MuonParticleCollection
Definition: L1MuonParticleFwd.h:28
L1RetrieveL1Extra::m_l1ExtraHfRingEtSums
const l1extra::L1HFRingsCollection * m_l1ExtraHfRingEtSums
Definition: L1RetrieveL1Extra.h:207
L1RetrieveL1Extra::m_tagL1ExtraForJet
edm::InputTag m_tagL1ExtraForJet
Definition: L1RetrieveL1Extra.h:160
L1MuonParticle.h
Frameworkfwd.h
L1RetrieveL1Extra::m_l1ExtraETM
const l1extra::L1EtMissParticleCollection * m_l1ExtraETM
Definition: L1RetrieveL1Extra.h:202
L1RetrieveL1Extra::m_tagL1ExtraHFRings
edm::InputTag m_tagL1ExtraHFRings
Definition: L1RetrieveL1Extra.h:166
L1RetrieveL1Extra::validL1ExtraHfBitCounts
const bool validL1ExtraHfBitCounts() const
Definition: L1RetrieveL1Extra.h:90
l1extra::L1EmParticleCollection
std::vector< L1EmParticle > L1EmParticleCollection
Definition: L1EmParticleFwd.h:28
L1RetrieveL1Extra::m_validL1ExtraHfRingEtSums
bool m_validL1ExtraHfRingEtSums
Definition: L1RetrieveL1Extra.h:188
L1RetrieveL1Extra::validL1ExtraHfRingEtSums
const bool validL1ExtraHfRingEtSums() const
Definition: L1RetrieveL1Extra.h:92
L1RetrieveL1Extra::m_tagL1ExtraMuonTok
edm::EDGetTokenT< l1extra::L1MuonParticleCollection > m_tagL1ExtraMuonTok
Definition: L1RetrieveL1Extra.h:209
EventSetup.h
L1RetrieveL1Extra::l1ExtraHfRingEtSums
const l1extra::L1HFRingsCollection * l1ExtraHfRingEtSums() const
Definition: L1RetrieveL1Extra.h:116
L1RetrieveL1Extra::m_validL1ExtraETM
bool m_validL1ExtraETM
Definition: L1RetrieveL1Extra.h:183
ConsumesCollector.h
L1RetrieveL1Extra::l1ExtraNoIsoEG
const l1extra::L1EmParticleCollection * l1ExtraNoIsoEG() const
Definition: L1RetrieveL1Extra.h:104
L1RetrieveL1Extra::validL1ExtraMuon
const bool validL1ExtraMuon() const
validity for retrieval of L1Extra products (false: product not found)
Definition: L1RetrieveL1Extra.h:66
L1EtMissParticle.h
ParameterSet.h
L1RetrieveL1Extra::m_validL1ExtraNoIsoEG
bool m_validL1ExtraNoIsoEG
Definition: L1RetrieveL1Extra.h:176
L1RetrieveL1Extra::validL1ExtraTauJet
const bool validL1ExtraTauJet() const
Definition: L1RetrieveL1Extra.h:78
edm::Event
Definition: Event.h:73
L1RetrieveL1Extra::m_validL1ExtraHTM
bool m_validL1ExtraHTM
Definition: L1RetrieveL1Extra.h:185
L1RetrieveL1Extra::m_tagL1ExtraForJetTok
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_tagL1ExtraForJetTok
Definition: L1RetrieveL1Extra.h:213
L1JetParticle.h
edm::InputTag
Definition: InputTag.h:15
L1RetrieveL1Extra::m_tagL1ExtraNoIsoEG
edm::InputTag m_tagL1ExtraNoIsoEG
Definition: L1RetrieveL1Extra.h:157
edm::ConsumesCollector
Definition: ConsumesCollector.h:39
L1RetrieveL1Extra::m_tagL1ExtraIsoEG
edm::InputTag m_tagL1ExtraIsoEG
Definition: L1RetrieveL1Extra.h:156
L1GtObject
L1RetrieveL1Extra::m_l1ExtraMuon
const l1extra::L1MuonParticleCollection * m_l1ExtraMuon
retrieved L1Extra collections
Definition: L1RetrieveL1Extra.h:192