CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
L1RetrieveL1Extra Class Reference

#include <L1RetrieveL1Extra.h>

Public Member Functions

const edm::InputTag inputTagL1ExtraColl (const L1GtObject &) const
 input tag for a given collection More...
 
const l1extra::L1JetParticleCollectionl1ExtraCenJet () const
 
const l1extra::L1EtMissParticleCollectionl1ExtraETM () const
 
const l1extra::L1EtMissParticleCollectionl1ExtraETT () const
 
const l1extra::L1JetParticleCollectionl1ExtraForJet () const
 
const l1extra::L1HFRingsCollectionl1ExtraHfBitCounts () const
 
const l1extra::L1HFRingsCollectionl1ExtraHfRingEtSums () const
 
const l1extra::L1EtMissParticleCollectionl1ExtraHTM () const
 
const l1extra::L1EtMissParticleCollectionl1ExtraHTT () const
 
const l1extra::L1EmParticleCollectionl1ExtraIsoEG () const
 
const l1extra::L1MuonParticleCollectionl1ExtraMuon () const
 return retrieved L1Extra collections More...
 
const l1extra::L1EmParticleCollectionl1ExtraNoIsoEG () const
 
const l1extra::L1JetParticleCollectionl1ExtraTauJet () const
 
 L1RetrieveL1Extra (const edm::ParameterSet &, edm::ConsumesCollector &&iC)
 
void printL1Extra (std::ostream &) const
 print all L1Extra collections from all BxInEvent More...
 
void printL1Extra (std::ostream &, const int bxInEvent) const
 print all L1Extra collections from a given BxInEvent More...
 
void printL1Extra (std::ostream &, const L1GtObject &) const
 print all L1GtObject objects from all bxInEvent More...
 
void printL1Extra (std::ostream &, const L1GtObject &, const int bxInEvent) const
 print all L1GtObject objects from bxInEvent More...
 
void printL1Extra (std::ostream &oStr, const L1GtObject &gtObject, const bool checkBxInEvent, const int bxInEvent, const bool checkObjIndexInColl, const int objIndexInColl) const
 
void retrieveL1ExtraObjects (const edm::Event &, const edm::EventSetup &)
 
const bool validL1ExtraCenJet () const
 
const bool validL1ExtraColl (const L1GtObject &) const
 
const bool validL1ExtraETM () const
 
const bool validL1ExtraETT () const
 
const bool validL1ExtraForJet () const
 
const bool validL1ExtraHfBitCounts () const
 
const bool validL1ExtraHfRingEtSums () const
 
const bool validL1ExtraHTM () const
 
const bool validL1ExtraHTT () const
 
const bool validL1ExtraIsoEG () const
 
const bool validL1ExtraMuon () const
 validity for retrieval of L1Extra products (false: product not found) More...
 
const bool validL1ExtraNoIsoEG () const
 
const bool validL1ExtraTauJet () const
 
virtual ~L1RetrieveL1Extra ()
 

Private Attributes

const l1extra::L1JetParticleCollectionm_l1ExtraCenJet
 
const l1extra::L1EtMissParticleCollectionm_l1ExtraETM
 
const l1extra::L1EtMissParticleCollectionm_l1ExtraETT
 
const l1extra::L1JetParticleCollectionm_l1ExtraForJet
 
const l1extra::L1HFRingsCollectionm_l1ExtraHfBitCounts
 
const l1extra::L1HFRingsCollectionm_l1ExtraHfRingEtSums
 
const l1extra::L1EtMissParticleCollectionm_l1ExtraHTM
 
const l1extra::L1EtMissParticleCollectionm_l1ExtraHTT
 
const l1extra::L1EmParticleCollectionm_l1ExtraIsoEG
 
const l1extra::L1MuonParticleCollectionm_l1ExtraMuon
 retrieved L1Extra collections More...
 
const l1extra::L1EmParticleCollectionm_l1ExtraNoIsoEG
 
const l1extra::L1JetParticleCollectionm_l1ExtraTauJet
 
int m_nrBxInEventGct
 
int m_nrBxInEventGmt
 
edm::InputTag m_tagL1ExtraCenJet
 
edm::EDGetTokenT< l1extra::L1JetParticleCollectionm_tagL1ExtraCenJetTok
 
edm::InputTag m_tagL1ExtraEtMissHTM
 
edm::EDGetTokenT< l1extra::L1EtMissParticleCollectionm_tagL1ExtraEtMissHTMTok
 
edm::InputTag m_tagL1ExtraEtMissMET
 
edm::EDGetTokenT< l1extra::L1EtMissParticleCollectionm_tagL1ExtraEtMissMETTok
 
edm::InputTag m_tagL1ExtraForJet
 
edm::EDGetTokenT< l1extra::L1JetParticleCollectionm_tagL1ExtraForJetTok
 
edm::InputTag m_tagL1ExtraHFRings
 
edm::EDGetTokenT< l1extra::L1HFRingsCollectionm_tagL1ExtraHFRingsTok
 
edm::InputTag m_tagL1ExtraIsoEG
 
edm::EDGetTokenT< l1extra::L1EmParticleCollectionm_tagL1ExtraIsoEGTok
 
edm::InputTag m_tagL1ExtraMuon
 input parameters More...
 
edm::EDGetTokenT< l1extra::L1MuonParticleCollectionm_tagL1ExtraMuonTok
 
edm::InputTag m_tagL1ExtraNoIsoEG
 
edm::EDGetTokenT< l1extra::L1EmParticleCollectionm_tagL1ExtraNoIsoEGTok
 
edm::InputTag m_tagL1ExtraTauJet
 
edm::EDGetTokenT< l1extra::L1JetParticleCollectionm_tagL1ExtraTauJetTok
 
bool m_validL1ExtraCenJet
 
bool m_validL1ExtraETM
 
bool m_validL1ExtraETT
 
bool m_validL1ExtraForJet
 
bool m_validL1ExtraHfBitCounts
 
bool m_validL1ExtraHfRingEtSums
 
bool m_validL1ExtraHTM
 
bool m_validL1ExtraHTT
 
bool m_validL1ExtraIsoEG
 
bool m_validL1ExtraMuon
 validity for retrieval of L1Extra products (false: product not found) More...
 
bool m_validL1ExtraNoIsoEG
 
bool m_validL1ExtraTauJet
 

Detailed Description

Description: retrieve L1Extra collection, return validity flag and pointer to collection.

Implementation: <TODO: enter implementation details>

Author
: Vasile Mihai Ghete - HEPHY Vienna

Definition at line 55 of file L1RetrieveL1Extra.h.

Constructor & Destructor Documentation

◆ L1RetrieveL1Extra()

L1RetrieveL1Extra::L1RetrieveL1Extra ( const edm::ParameterSet paramSet,
edm::ConsumesCollector &&  iC 
)
explicit

Definition at line 31 of file L1RetrieveL1Extra.cc.

32  : //
33  m_tagL1ExtraMuon(paramSet.getParameter<edm::InputTag>("TagL1ExtraMuon")),
34  m_tagL1ExtraIsoEG(paramSet.getParameter<edm::InputTag>("TagL1ExtraIsoEG")),
35  m_tagL1ExtraNoIsoEG(paramSet.getParameter<edm::InputTag>("TagL1ExtraNoIsoEG")),
36  m_tagL1ExtraCenJet(paramSet.getParameter<edm::InputTag>("TagL1ExtraCenJet")),
37  m_tagL1ExtraForJet(paramSet.getParameter<edm::InputTag>("TagL1ExtraForJet")),
38  m_tagL1ExtraTauJet(paramSet.getParameter<edm::InputTag>("TagL1ExtraTauJet")),
39  m_tagL1ExtraEtMissMET(paramSet.getParameter<edm::InputTag>("TagL1ExtraEtMissMET")),
40  m_tagL1ExtraEtMissHTM(paramSet.getParameter<edm::InputTag>("TagL1ExtraEtMissHTM")),
41  m_tagL1ExtraHFRings(paramSet.getParameter<edm::InputTag>("TagL1ExtraHFRings")),
42  //
43  //
44  m_validL1ExtraMuon(false),
45  m_validL1ExtraIsoEG(false),
46  m_validL1ExtraNoIsoEG(false),
47  m_validL1ExtraCenJet(false),
48  m_validL1ExtraForJet(false),
49  m_validL1ExtraTauJet(false),
50  m_validL1ExtraETT(false),
51  m_validL1ExtraETM(false),
52  m_validL1ExtraHTT(false),
53  m_validL1ExtraHTM(false),
56 
57  //
58  m_l1ExtraMuon(nullptr),
59  m_l1ExtraIsoEG(nullptr),
60  m_l1ExtraNoIsoEG(nullptr),
61  m_l1ExtraCenJet(nullptr),
62  m_l1ExtraForJet(nullptr),
63  m_l1ExtraTauJet(nullptr),
64  m_l1ExtraETT(nullptr),
65  m_l1ExtraETM(nullptr),
66  m_l1ExtraHTT(nullptr),
67  m_l1ExtraHTM(nullptr),
68  m_l1ExtraHfBitCounts(nullptr),
69  m_l1ExtraHfRingEtSums(nullptr)
70 //
71 
72 {
82 
83  // empty
84 }

References m_tagL1ExtraCenJet, m_tagL1ExtraCenJetTok, m_tagL1ExtraEtMissHTM, m_tagL1ExtraEtMissHTMTok, m_tagL1ExtraEtMissMET, m_tagL1ExtraEtMissMETTok, m_tagL1ExtraForJet, m_tagL1ExtraForJetTok, m_tagL1ExtraHFRings, m_tagL1ExtraHFRingsTok, m_tagL1ExtraIsoEG, m_tagL1ExtraIsoEGTok, m_tagL1ExtraMuon, m_tagL1ExtraMuonTok, m_tagL1ExtraNoIsoEG, m_tagL1ExtraNoIsoEGTok, m_tagL1ExtraTauJet, and m_tagL1ExtraTauJetTok.

◆ ~L1RetrieveL1Extra()

L1RetrieveL1Extra::~L1RetrieveL1Extra ( )
virtual

Definition at line 87 of file L1RetrieveL1Extra.cc.

87  {
88  // empty
89 }

Member Function Documentation

◆ inputTagL1ExtraColl()

const edm::InputTag L1RetrieveL1Extra::inputTagL1ExtraColl ( const L1GtObject gtObject) const

input tag for a given collection

Definition at line 246 of file L1RetrieveL1Extra.cc.

246  {
247  edm::InputTag emptyInputTag;
248 
249  switch (gtObject) {
250  case Mu: {
251  return m_tagL1ExtraMuon;
252  } break;
253 
254  case NoIsoEG: {
255  return m_tagL1ExtraNoIsoEG;
256  } break;
257 
258  case IsoEG: {
259  return m_tagL1ExtraIsoEG;
260  } break;
261 
262  case CenJet: {
263  return m_tagL1ExtraCenJet;
264  } break;
265 
266  case ForJet: {
267  return m_tagL1ExtraForJet;
268  } break;
269 
270  case TauJet: {
271  return m_tagL1ExtraTauJet;
272  } break;
273 
274  case ETM:
275  case ETT: {
276  return m_tagL1ExtraEtMissMET;
277  } break;
278 
279  case HTT:
280  case HTM: {
281  return m_tagL1ExtraEtMissHTM;
282  } break;
283 
284  case JetCounts: {
285  // TODO update when JetCounts will be available
286  return emptyInputTag;
287  } break;
288 
289  case HfBitCounts:
290  case HfRingEtSums: {
291  return m_tagL1ExtraHFRings;
292  } break;
293 
294  case TechTrig: {
295  return emptyInputTag;
296  } break;
297 
298  case Castor: {
299  return emptyInputTag;
300  } break;
301 
302  case BPTX: {
303  return emptyInputTag;
304  } break;
305 
306  case GtExternal: {
307  return emptyInputTag;
308  } break;
309 
310  case ObjNull: {
311  return emptyInputTag;
312  } break;
313 
314  default: {
315  edm::LogInfo("L1GtObject") << "\n '" << gtObject << "' is not a recognized L1GtObject. ";
316 
317  return emptyInputTag;
318 
319  } break;
320  }
321 
322  return emptyInputTag;
323 }

References BPTX, Castor, CenJet, ETM, ETT, ForJet, GtExternal, HfBitCounts, HfRingEtSums, HTM, HTT, IsoEG, JetCounts, m_tagL1ExtraCenJet, m_tagL1ExtraEtMissHTM, m_tagL1ExtraEtMissMET, m_tagL1ExtraForJet, m_tagL1ExtraHFRings, m_tagL1ExtraIsoEG, m_tagL1ExtraMuon, m_tagL1ExtraNoIsoEG, m_tagL1ExtraTauJet, Mu, NoIsoEG, ObjNull, TauJet, and TechTrig.

Referenced by printL1Extra().

◆ l1ExtraCenJet()

const l1extra::L1JetParticleCollection* L1RetrieveL1Extra::l1ExtraCenJet ( ) const
inline

Definition at line 106 of file L1RetrieveL1Extra.h.

106 { return m_l1ExtraCenJet; }

References m_l1ExtraCenJet.

Referenced by L1ExtraDQM::analyzeL1ExtraCenJet().

◆ l1ExtraETM()

const l1extra::L1EtMissParticleCollection* L1RetrieveL1Extra::l1ExtraETM ( ) const
inline

Definition at line 111 of file L1RetrieveL1Extra.h.

111 { return m_l1ExtraETM; }

References m_l1ExtraETM.

Referenced by L1ExtraDQM::analyzeL1ExtraETM().

◆ l1ExtraETT()

const l1extra::L1EtMissParticleCollection* L1RetrieveL1Extra::l1ExtraETT ( ) const
inline

Definition at line 110 of file L1RetrieveL1Extra.h.

110 { return m_l1ExtraETT; }

References m_l1ExtraETT.

Referenced by L1ExtraDQM::analyzeL1ExtraETT().

◆ l1ExtraForJet()

const l1extra::L1JetParticleCollection* L1RetrieveL1Extra::l1ExtraForJet ( ) const
inline

Definition at line 107 of file L1RetrieveL1Extra.h.

107 { return m_l1ExtraForJet; }

References m_l1ExtraForJet.

Referenced by L1ExtraDQM::analyzeL1ExtraForJet().

◆ l1ExtraHfBitCounts()

const l1extra::L1HFRingsCollection* L1RetrieveL1Extra::l1ExtraHfBitCounts ( ) const
inline

Definition at line 115 of file L1RetrieveL1Extra.h.

115 { return m_l1ExtraHfBitCounts; }

References m_l1ExtraHfBitCounts.

Referenced by L1ExtraDQM::analyzeL1ExtraHfBitCounts().

◆ l1ExtraHfRingEtSums()

const l1extra::L1HFRingsCollection* L1RetrieveL1Extra::l1ExtraHfRingEtSums ( ) const
inline

Definition at line 116 of file L1RetrieveL1Extra.h.

116 { return m_l1ExtraHfRingEtSums; }

References m_l1ExtraHfRingEtSums.

Referenced by L1ExtraDQM::analyzeL1ExtraHfRingEtSums().

◆ l1ExtraHTM()

const l1extra::L1EtMissParticleCollection* L1RetrieveL1Extra::l1ExtraHTM ( ) const
inline

Definition at line 113 of file L1RetrieveL1Extra.h.

113 { return m_l1ExtraHTM; }

References m_l1ExtraHTM.

Referenced by L1ExtraDQM::analyzeL1ExtraHTM().

◆ l1ExtraHTT()

const l1extra::L1EtMissParticleCollection* L1RetrieveL1Extra::l1ExtraHTT ( ) const
inline

Definition at line 112 of file L1RetrieveL1Extra.h.

112 { return m_l1ExtraHTT; }

References m_l1ExtraHTT.

Referenced by L1ExtraDQM::analyzeL1ExtraHTT().

◆ l1ExtraIsoEG()

const l1extra::L1EmParticleCollection* L1RetrieveL1Extra::l1ExtraIsoEG ( ) const
inline

Definition at line 103 of file L1RetrieveL1Extra.h.

103 { return m_l1ExtraIsoEG; }

References m_l1ExtraIsoEG.

Referenced by L1ExtraDQM::analyzeL1ExtraIsoEG().

◆ l1ExtraMuon()

const l1extra::L1MuonParticleCollection* L1RetrieveL1Extra::l1ExtraMuon ( ) const
inline

return retrieved L1Extra collections

Definition at line 101 of file L1RetrieveL1Extra.h.

101 { return m_l1ExtraMuon; }

References m_l1ExtraMuon.

Referenced by L1ExtraDQM::analyzeL1ExtraMuon().

◆ l1ExtraNoIsoEG()

const l1extra::L1EmParticleCollection* L1RetrieveL1Extra::l1ExtraNoIsoEG ( ) const
inline

Definition at line 104 of file L1RetrieveL1Extra.h.

104 { return m_l1ExtraNoIsoEG; }

References m_l1ExtraNoIsoEG.

Referenced by L1ExtraDQM::analyzeL1ExtraNoIsoEG().

◆ l1ExtraTauJet()

const l1extra::L1JetParticleCollection* L1RetrieveL1Extra::l1ExtraTauJet ( ) const
inline

Definition at line 108 of file L1RetrieveL1Extra.h.

108 { return m_l1ExtraTauJet; }

References m_l1ExtraTauJet.

Referenced by L1ExtraDQM::analyzeL1ExtraTauJet().

◆ printL1Extra() [1/5]

void L1RetrieveL1Extra::printL1Extra ( std::ostream &  oStr) const

print all L1Extra collections from all BxInEvent

Definition at line 941 of file L1RetrieveL1Extra.cc.

941  {
942  printL1Extra(oStr, Mu);
943  printL1Extra(oStr, NoIsoEG);
944  printL1Extra(oStr, IsoEG);
945  printL1Extra(oStr, CenJet);
946  printL1Extra(oStr, ForJet);
947  printL1Extra(oStr, TauJet);
948  printL1Extra(oStr, ETM);
949  printL1Extra(oStr, ETT);
950  printL1Extra(oStr, HTT);
951  printL1Extra(oStr, HTM);
952  // printL1Extra(oStr, JetCounts);
953  printL1Extra(oStr, HfBitCounts);
954  printL1Extra(oStr, HfRingEtSums);
955 }

References CenJet, ETM, ETT, ForJet, HfBitCounts, HfRingEtSums, HTM, HTT, IsoEG, Mu, NoIsoEG, printL1Extra(), and TauJet.

◆ printL1Extra() [2/5]

void L1RetrieveL1Extra::printL1Extra ( std::ostream &  oStr,
const int  bxInEvent 
) const

print all L1Extra collections from a given BxInEvent

Definition at line 925 of file L1RetrieveL1Extra.cc.

925  {
926  printL1Extra(oStr, Mu, iBxInEvent);
927  printL1Extra(oStr, NoIsoEG, iBxInEvent);
928  printL1Extra(oStr, IsoEG, iBxInEvent);
929  printL1Extra(oStr, CenJet, iBxInEvent);
930  printL1Extra(oStr, ForJet, iBxInEvent);
931  printL1Extra(oStr, TauJet, iBxInEvent);
932  printL1Extra(oStr, ETM, iBxInEvent);
933  printL1Extra(oStr, ETT, iBxInEvent);
934  printL1Extra(oStr, HTT, iBxInEvent);
935  printL1Extra(oStr, HTM, iBxInEvent);
936  // printL1Extra(oStr, JetCounts, iBxInEvent);
937  printL1Extra(oStr, HfBitCounts, iBxInEvent);
938  printL1Extra(oStr, HfRingEtSums, iBxInEvent);
939 }

References CenJet, ETM, ETT, ForJet, HfBitCounts, HfRingEtSums, HTM, HTT, IsoEG, Mu, NoIsoEG, printL1Extra(), and TauJet.

◆ printL1Extra() [3/5]

void L1RetrieveL1Extra::printL1Extra ( std::ostream &  oStr,
const L1GtObject gtObject 
) const

print all L1GtObject objects from all bxInEvent

Definition at line 916 of file L1RetrieveL1Extra.cc.

916  {
917  bool checkBxInEvent = false;
918  bool checkObjIndexInColl = false;
919  int bxInEvent = 999;
920  int objIndexInColl = -1;
921 
922  printL1Extra(oStr, gtObject, checkBxInEvent, bxInEvent, checkObjIndexInColl, objIndexInColl);
923 }

References printL1Extra().

◆ printL1Extra() [4/5]

void L1RetrieveL1Extra::printL1Extra ( std::ostream &  oStr,
const L1GtObject gtObject,
const int  bxInEvent 
) const

print all L1GtObject objects from bxInEvent

Definition at line 908 of file L1RetrieveL1Extra.cc.

908  {
909  bool checkBxInEvent = true;
910  bool checkObjIndexInColl = false;
911  int objIndexInColl = -1;
912 
913  printL1Extra(oStr, gtObject, checkBxInEvent, bxInEvent, checkObjIndexInColl, objIndexInColl);
914 }

References printL1Extra().

◆ printL1Extra() [5/5]

void L1RetrieveL1Extra::printL1Extra ( std::ostream &  oStr,
const L1GtObject gtObject,
const bool  checkBxInEvent,
const int  bxInEvent,
const bool  checkObjIndexInColl,
const int  objIndexInColl 
) const

user-friendly print of L1Extra TODO should have been defined in DataFormats for L1Extra collections... print L1GtObject object from bxInEvent, if checkBxInEvent is true, having the objIndexInColl order index in collection, if checkObjIndexInColl is true if checkBxInEvent and /or checkObjIndexInColl are false, print the objects without the bxInEvent and / or objIndexInColl check the combination checkBxInEvent = false, checkObjIndexInColl = true not supported

Definition at line 411 of file L1RetrieveL1Extra.cc.

416  {
417  if (!validL1ExtraColl(gtObject)) {
418  oStr << "\n L1Extra collection for L1 GT object " << l1GtObjectEnumToString(gtObject)
419  << " with collection input tag " << inputTagL1ExtraColl(gtObject) << " not valid." << std::endl;
420  }
421 
422  switch (gtObject) {
423  case Mu: {
424  oStr << "\n Mu collection\n" << std::endl;
425 
426  int indexInColl = -1;
427 
428  for (l1extra::L1MuonParticleCollection::const_iterator iterColl = m_l1ExtraMuon->begin();
429  iterColl != m_l1ExtraMuon->end();
430  ++iterColl) {
431  if (checkBxInEvent) {
432  if (iterColl->bx() != bxInEvent) {
433  continue;
434  oStr << "\n BxInEvent " << bxInEvent << ": collection not in the event" << std::endl;
435  } else {
436  indexInColl++;
437 
438  if (!checkObjIndexInColl) {
439  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent << " indexInColl = " << indexInColl
440  << " PT = " << std::right << std::setw(6) << (iterColl->pt()) << " GeV"
441  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
442  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
443  } else {
444  if (objIndexInColl == indexInColl) {
445  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent
446  << " indexInColl = " << indexInColl << " PT = " << std::right << std::setw(6) << (iterColl->pt())
447  << " GeV"
448  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
449  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
450  }
451  }
452  }
453  } else {
454  oStr << " bxInEvent = " << std::right << std::setw(2) << (iterColl->bx()) << " PT = " << std::right
455  << std::setw(6) << (iterColl->pt()) << " GeV"
456  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
457  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
458  }
459  }
460 
461  } break;
462 
463  case NoIsoEG: {
464  oStr << "\n NoIsoEG collection\n" << std::endl;
465 
466  int indexInColl = -1;
467 
468  for (l1extra::L1EmParticleCollection::const_iterator iterColl = m_l1ExtraNoIsoEG->begin();
469  iterColl != m_l1ExtraNoIsoEG->end();
470  ++iterColl) {
471  if (checkBxInEvent) {
472  if (iterColl->bx() != bxInEvent) {
473  continue;
474  oStr << "\n BxInEvent " << bxInEvent << ": collection not in the event" << std::endl;
475  } else {
476  indexInColl++;
477 
478  if (!checkObjIndexInColl) {
479  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent << " indexInColl = " << indexInColl
480  << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
481  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
482  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
483  } else {
484  if (objIndexInColl == indexInColl) {
485  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent
486  << " indexInColl = " << indexInColl << " ET = " << std::right << std::setw(6) << (iterColl->et())
487  << " GeV"
488  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
489  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
490  }
491  }
492  }
493  } else {
494  oStr << " bxInEvent = " << std::right << std::setw(2) << (iterColl->bx()) << " ET = " << std::right
495  << std::setw(6) << (iterColl->et()) << " GeV"
496  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
497  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
498  }
499  }
500  } break;
501 
502  case IsoEG: {
503  oStr << "\n IsoEG collection\n" << std::endl;
504 
505  int indexInColl = -1;
506 
507  for (l1extra::L1EmParticleCollection::const_iterator iterColl = m_l1ExtraIsoEG->begin();
508  iterColl != m_l1ExtraIsoEG->end();
509  ++iterColl) {
510  if (checkBxInEvent) {
511  if (iterColl->bx() != bxInEvent) {
512  continue;
513  oStr << "\n BxInEvent " << bxInEvent << ": collection not in the event" << std::endl;
514  } else {
515  indexInColl++;
516 
517  if (!checkObjIndexInColl) {
518  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent << " indexInColl = " << indexInColl
519  << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
520  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
521  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
522  } else {
523  if (objIndexInColl == indexInColl) {
524  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent
525  << " indexInColl = " << indexInColl << " ET = " << std::right << std::setw(6) << (iterColl->et())
526  << " GeV"
527  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
528  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
529  }
530  }
531  }
532  } else {
533  oStr << " bxInEvent = " << std::right << std::setw(2) << (iterColl->bx()) << " ET = " << std::right
534  << std::setw(6) << (iterColl->et()) << " GeV"
535  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
536  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
537  }
538  }
539  } break;
540 
541  case CenJet: {
542  oStr << "\n CenJet collection\n" << std::endl;
543 
544  int indexInColl = -1;
545 
546  for (l1extra::L1JetParticleCollection::const_iterator iterColl = m_l1ExtraCenJet->begin();
547  iterColl != m_l1ExtraCenJet->end();
548  ++iterColl) {
549  if (checkBxInEvent) {
550  if (iterColl->bx() != bxInEvent) {
551  continue;
552  oStr << "\n BxInEvent " << bxInEvent << ": collection not in the event" << std::endl;
553  } else {
554  indexInColl++;
555 
556  if (!checkObjIndexInColl) {
557  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent << " indexInColl = " << indexInColl
558  << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
559  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
560  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
561  } else {
562  if (objIndexInColl == indexInColl) {
563  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent
564  << " indexInColl = " << indexInColl << " ET = " << std::right << std::setw(6) << (iterColl->et())
565  << " GeV"
566  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
567  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
568  }
569  }
570  }
571  } else {
572  oStr << " bxInEvent = " << std::right << std::setw(2) << (iterColl->bx()) << " ET = " << std::right
573  << std::setw(6) << (iterColl->et()) << " GeV"
574  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
575  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
576  }
577  }
578  } break;
579 
580  case ForJet: {
581  oStr << "\n ForJet collection\n" << std::endl;
582 
583  int indexInColl = -1;
584 
585  for (l1extra::L1JetParticleCollection::const_iterator iterColl = m_l1ExtraForJet->begin();
586  iterColl != m_l1ExtraForJet->end();
587  ++iterColl) {
588  if (checkBxInEvent) {
589  if (iterColl->bx() != bxInEvent) {
590  continue;
591  oStr << "\n BxInEvent " << bxInEvent << ": collection not in the event" << std::endl;
592  } else {
593  indexInColl++;
594 
595  if (!checkObjIndexInColl) {
596  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent << " indexInColl = " << indexInColl
597  << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
598  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
599  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
600  } else {
601  if (objIndexInColl == indexInColl) {
602  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent
603  << " indexInColl = " << indexInColl << " ET = " << std::right << std::setw(6) << (iterColl->et())
604  << " GeV"
605  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
606  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
607  }
608  }
609  }
610  } else {
611  oStr << " bxInEvent = " << std::right << std::setw(2) << (iterColl->bx()) << " ET = " << std::right
612  << std::setw(6) << (iterColl->et()) << " GeV"
613  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
614  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
615  }
616  }
617  } break;
618 
619  case TauJet: {
620  oStr << "\n TauJet collection\n" << std::endl;
621 
622  int indexInColl = -1;
623 
624  for (l1extra::L1JetParticleCollection::const_iterator iterColl = m_l1ExtraTauJet->begin();
625  iterColl != m_l1ExtraTauJet->end();
626  ++iterColl) {
627  if (checkBxInEvent) {
628  if (iterColl->bx() != bxInEvent) {
629  continue;
630  oStr << "\n BxInEvent " << bxInEvent << ": collection not in the event" << std::endl;
631  } else {
632  indexInColl++;
633 
634  if (!checkObjIndexInColl) {
635  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent << " indexInColl = " << indexInColl
636  << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
637  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
638  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
639  } else {
640  if (objIndexInColl == indexInColl) {
641  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent
642  << " indexInColl = " << indexInColl << " ET = " << std::right << std::setw(6) << (iterColl->et())
643  << " GeV"
644  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
645  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
646  }
647  }
648  }
649  } else {
650  oStr << " bxInEvent = " << std::right << std::setw(2) << (iterColl->bx()) << " ET = " << std::right
651  << std::setw(6) << (iterColl->et()) << " GeV"
652  << " eta = " << std::right << std::setw(8) << (iterColl->eta()) << " phi = " << std::right
653  << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
654  }
655  }
656  } break;
657 
658  case ETM: {
659  oStr << "\n ETM collection\n" << std::endl;
660 
661  int indexInColl = -1;
662 
663  for (l1extra::L1EtMissParticleCollection::const_iterator iterColl = m_l1ExtraETM->begin();
664  iterColl != m_l1ExtraETM->end();
665  ++iterColl) {
666  if (checkBxInEvent) {
667  if (iterColl->bx() != bxInEvent) {
668  continue;
669  oStr << "\n BxInEvent " << bxInEvent << ": collection not in the event" << std::endl;
670  } else {
671  indexInColl++;
672 
673  if (!checkObjIndexInColl) {
674  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent << " indexInColl = " << indexInColl
675  << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
676  << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
677  } else {
678  if (objIndexInColl == indexInColl) {
679  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent
680  << " indexInColl = " << indexInColl << " ET = " << std::right << std::setw(6) << (iterColl->et())
681  << " GeV"
682  << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
683  }
684  }
685  }
686  } else {
687  oStr << " bxInEvent = " << std::right << std::setw(2) << (iterColl->bx()) << " ET = " << std::right
688  << std::setw(6) << (iterColl->et()) << " GeV"
689  << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
690  }
691  }
692  } break;
693 
694  case ETT: {
695  oStr << "\n ETT collection\n" << std::endl;
696 
697  int indexInColl = -1;
698 
699  for (l1extra::L1EtMissParticleCollection::const_iterator iterColl = m_l1ExtraETT->begin();
700  iterColl != m_l1ExtraETT->end();
701  ++iterColl) {
702  if (checkBxInEvent) {
703  if (iterColl->bx() != bxInEvent) {
704  continue;
705  oStr << "\n BxInEvent " << bxInEvent << ": collection not in the event" << std::endl;
706  } else {
707  indexInColl++;
708 
709  if (!checkObjIndexInColl) {
710  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent << " indexInColl = " << indexInColl
711  << " ET = " << std::right << std::setw(6) << (iterColl->etTotal()) << " GeV" << std::endl;
712  } else {
713  if (objIndexInColl == indexInColl) {
714  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent
715  << " indexInColl = " << indexInColl << " ET = " << std::right << std::setw(6)
716  << (iterColl->etTotal()) << " GeV" << std::endl;
717  }
718  }
719  }
720  } else {
721  oStr << " bxInEvent = " << std::right << std::setw(2) << (iterColl->bx()) << " ET = " << std::right
722  << std::setw(6) << (iterColl->etTotal()) << " GeV" << std::endl;
723  }
724  }
725  } break;
726 
727  case HTT: {
728  oStr << "\n HTT collection\n" << std::endl;
729 
730  int indexInColl = -1;
731 
732  for (l1extra::L1EtMissParticleCollection::const_iterator iterColl = m_l1ExtraHTT->begin();
733  iterColl != m_l1ExtraHTT->end();
734  ++iterColl) {
735  if (checkBxInEvent) {
736  if (iterColl->bx() != bxInEvent) {
737  continue;
738  oStr << "\n BxInEvent " << bxInEvent << ": collection not in the event" << std::endl;
739  } else {
740  indexInColl++;
741 
742  if (!checkObjIndexInColl) {
743  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent << " indexInColl = " << indexInColl
744  << " ET = " << std::right << std::setw(6) << (iterColl->etTotal()) << " GeV" << std::endl;
745  } else {
746  if (objIndexInColl == indexInColl) {
747  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent
748  << " indexInColl = " << indexInColl << " ET = " << std::right << std::setw(6)
749  << (iterColl->etTotal()) << " GeV" << std::endl;
750  }
751  }
752  }
753  } else {
754  oStr << " bxInEvent = " << std::right << std::setw(2) << (iterColl->bx()) << " ET = " << std::right
755  << std::setw(6) << (iterColl->etTotal()) << " GeV" << std::endl;
756  }
757  }
758  } break;
759 
760  case HTM: {
761  oStr << "\n HTM collection\n" << std::endl;
762 
763  int indexInColl = -1;
764 
765  for (l1extra::L1EtMissParticleCollection::const_iterator iterColl = m_l1ExtraHTM->begin();
766  iterColl != m_l1ExtraHTM->end();
767  ++iterColl) {
768  if (checkBxInEvent) {
769  if (iterColl->bx() != bxInEvent) {
770  continue;
771  oStr << "\n BxInEvent " << bxInEvent << ": collection not in the event" << std::endl;
772  } else {
773  indexInColl++;
774 
775  if (!checkObjIndexInColl) {
776  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent << " indexInColl = " << indexInColl
777  << " ET = " << std::right << std::setw(6) << (iterColl->et()) << " GeV"
778  << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
779  } else {
780  if (objIndexInColl == indexInColl) {
781  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent
782  << " indexInColl = " << indexInColl << " ET = " << std::right << std::setw(6) << (iterColl->et())
783  << " GeV"
784  << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
785  }
786  }
787  }
788  } else {
789  oStr << " bxInEvent = " << std::right << std::setw(2) << (iterColl->bx()) << " ET = " << std::right
790  << std::setw(6) << (iterColl->et()) << " GeV"
791  << " phi = " << std::right << std::setw(8) << (iterColl->phi()) << " rad" << std::endl;
792  }
793  }
794  } break;
795 
796  case JetCounts: {
797  // TODO print if and when JetCounts will be available
798  } break;
799 
800  case HfBitCounts: {
801  oStr << "\n HfBitCounts collection\n" << std::endl;
802 
803  for (l1extra::L1HFRingsCollection::const_iterator iterColl = m_l1ExtraHfBitCounts->begin();
804  iterColl != m_l1ExtraHfBitCounts->end();
805  ++iterColl) {
806  if (checkBxInEvent) {
807  if (iterColl->bx() != bxInEvent) {
808  continue;
809  oStr << "\n BxInEvent " << bxInEvent << ": collection not in the event" << std::endl;
810  } else {
811  if (!checkObjIndexInColl) {
812  for (int iCount = 0; iCount < l1extra::L1HFRings::kNumRings; ++iCount) {
813  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent << " count = " << iCount
814  << " HF counts = " << (iterColl->hfBitCount((l1extra::L1HFRings::HFRingLabels)iCount))
815  << std::endl;
816  }
817 
818  } else {
819  for (int iCount = 0; iCount < l1extra::L1HFRings::kNumRings; ++iCount) {
820  if (objIndexInColl == iCount) {
821  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent << " count = " << iCount
822  << " HF counts = " << (iterColl->hfBitCount((l1extra::L1HFRings::HFRingLabels)iCount))
823  << std::endl;
824  }
825  }
826  }
827  }
828  } else {
829  for (int iCount = 0; iCount < l1extra::L1HFRings::kNumRings; ++iCount) {
830  if (objIndexInColl == iCount) {
831  oStr << " bxInEvent = " << std::right << std::setw(2) << (iterColl->bx()) << " count = " << iCount
832  << " HF counts = " << (iterColl->hfBitCount((l1extra::L1HFRings::HFRingLabels)iCount)) << std::endl;
833  }
834  }
835  }
836  }
837  } break;
838 
839  case HfRingEtSums: {
840  oStr << "\n HfRingEtSums collection\n" << std::endl;
841 
842  for (l1extra::L1HFRingsCollection::const_iterator iterColl = m_l1ExtraHfRingEtSums->begin();
843  iterColl != m_l1ExtraHfRingEtSums->end();
844  ++iterColl) {
845  if (checkBxInEvent) {
846  if (iterColl->bx() != bxInEvent) {
847  continue;
848  oStr << "\n BxInEvent " << bxInEvent << ": collection not in the event" << std::endl;
849  } else {
850  if (!checkObjIndexInColl) {
851  for (int iCount = 0; iCount < l1extra::L1HFRings::kNumRings; ++iCount) {
852  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent << " count = " << iCount
853  << " HF ET sum = " << (iterColl->hfEtSum((l1extra::L1HFRings::HFRingLabels)iCount)) << " GeV"
854  << std::endl;
855  }
856 
857  } else {
858  for (int iCount = 0; iCount < l1extra::L1HFRings::kNumRings; ++iCount) {
859  if (objIndexInColl == iCount) {
860  oStr << " bxInEvent = " << std::right << std::setw(2) << bxInEvent << " count = " << iCount
861  << " HF ET sum = " << (iterColl->hfEtSum((l1extra::L1HFRings::HFRingLabels)iCount)) << " GeV"
862  << std::endl;
863  }
864  }
865  }
866  }
867  } else {
868  for (int iCount = 0; iCount < l1extra::L1HFRings::kNumRings; ++iCount) {
869  if (objIndexInColl == iCount) {
870  oStr << " bxInEvent = " << std::right << std::setw(2) << (iterColl->bx()) << " count = " << iCount
871  << " HF ET sum = " << (iterColl->hfEtSum((l1extra::L1HFRings::HFRingLabels)iCount)) << " GeV"
872  << std::endl;
873  }
874  }
875  }
876  }
877  } break;
878 
879  case TechTrig: {
880  // do nothing, not in L1Extra
881  } break;
882 
883  case Castor: {
884  // do nothing, not in L1Extra
885  } break;
886 
887  case BPTX: {
888  // do nothing, not in L1Extra
889  } break;
890 
891  case GtExternal: {
892  // do nothing, not in L1Extra
893  } break;
894 
895  case ObjNull: {
896  // do nothing, not in L1Extra
897  } break;
898 
899  default: {
900  edm::LogInfo("L1GtObject") << "\n '" << gtObject << "' is not a recognized L1GtObject. ";
901 
902  // do nothing
903 
904  } break;
905  }
906 }

References BPTX, Castor, CenJet, ETM, ETT, ForJet, GtExternal, HfBitCounts, HfRingEtSums, HTM, HTT, inputTagL1ExtraColl(), IsoEG, JetCounts, l1extra::L1HFRings::kNumRings, l1GtObjectEnumToString(), m_l1ExtraCenJet, m_l1ExtraETM, m_l1ExtraETT, m_l1ExtraForJet, m_l1ExtraHfBitCounts, m_l1ExtraHfRingEtSums, m_l1ExtraHTM, m_l1ExtraHTT, m_l1ExtraIsoEG, m_l1ExtraMuon, m_l1ExtraNoIsoEG, m_l1ExtraTauJet, Mu, NoIsoEG, ObjNull, TauJet, TechTrig, and validL1ExtraColl().

Referenced by L1GtAnalyzer::analyzeTrigger(), and printL1Extra().

◆ retrieveL1ExtraObjects()

void L1RetrieveL1Extra::retrieveL1ExtraObjects ( const edm::Event iEvent,
const edm::EventSetup evSetup 
)

retrieve L1Extra objects if a collection is not found, the corresponding m_valid(Object) is set to "false"

Definition at line 91 of file L1RetrieveL1Extra.cc.

91  {
92  //
94  iEvent.getByToken(m_tagL1ExtraMuonTok, collL1ExtraMuon);
95 
96  if (collL1ExtraMuon.isValid()) {
97  m_validL1ExtraMuon = true;
98  m_l1ExtraMuon = collL1ExtraMuon.product();
99  } else {
100  LogDebug("L1RetrieveL1Extra") << "\n l1extra::L1MuonParticleCollection with input tag \n " << m_tagL1ExtraMuon
101  << "\n not found in the event.\n"
102  << "\n Return pointer 0 and false validity tag." << std::endl;
103 
104  m_validL1ExtraMuon = false;
105  m_l1ExtraMuon = nullptr;
106  }
107 
108  //
110  iEvent.getByToken(m_tagL1ExtraIsoEGTok, collL1ExtraIsoEG);
111 
112  if (collL1ExtraIsoEG.isValid()) {
113  m_validL1ExtraIsoEG = true;
114  m_l1ExtraIsoEG = collL1ExtraIsoEG.product();
115  } else {
116  LogDebug("L1RetrieveL1Extra") << "\n l1extra::L1EmParticleCollection with input tag \n " << m_tagL1ExtraIsoEG
117  << "\n not found in the event.\n"
118  << "\n Return pointer 0 and false validity tag." << std::endl;
119 
120  m_validL1ExtraIsoEG = false;
121  m_l1ExtraIsoEG = nullptr;
122  }
123 
125  iEvent.getByToken(m_tagL1ExtraNoIsoEGTok, collL1ExtraNoIsoEG);
126 
127  if (collL1ExtraNoIsoEG.isValid()) {
128  m_validL1ExtraNoIsoEG = true;
129  m_l1ExtraNoIsoEG = collL1ExtraNoIsoEG.product();
130  } else {
131  LogDebug("L1RetrieveL1Extra") << "\n l1extra::L1EmParticleCollection with input tag \n " << m_tagL1ExtraNoIsoEG
132  << "\n not found in the event.\n"
133  << "\n Return pointer 0 and false validity tag." << std::endl;
134 
135  m_validL1ExtraNoIsoEG = false;
136  m_l1ExtraNoIsoEG = nullptr;
137  }
138 
139  //
141  iEvent.getByToken(m_tagL1ExtraCenJetTok, collL1ExtraCenJet);
142 
143  if (collL1ExtraCenJet.isValid()) {
144  m_validL1ExtraCenJet = true;
145  m_l1ExtraCenJet = collL1ExtraCenJet.product();
146  } else {
147  LogDebug("L1RetrieveL1Extra") << "\n l1extra::L1JetParticleCollection with input tag \n " << m_tagL1ExtraCenJet
148  << "\n not found in the event.\n"
149  << "\n Return pointer 0 and false validity tag." << std::endl;
150 
151  m_validL1ExtraCenJet = false;
152  m_l1ExtraCenJet = nullptr;
153  }
154 
156  iEvent.getByToken(m_tagL1ExtraForJetTok, collL1ExtraForJet);
157 
158  if (collL1ExtraForJet.isValid()) {
159  m_validL1ExtraForJet = true;
160  m_l1ExtraForJet = collL1ExtraForJet.product();
161  } else {
162  LogDebug("L1RetrieveL1Extra") << "\n l1extra::L1JetParticleCollection with input tag \n " << m_tagL1ExtraForJet
163  << "\n not found in the event.\n"
164  << "\n Return pointer 0 and false validity tag." << std::endl;
165 
166  m_validL1ExtraForJet = false;
167  m_l1ExtraForJet = nullptr;
168  }
169 
171  iEvent.getByToken(m_tagL1ExtraTauJetTok, collL1ExtraTauJet);
172 
173  if (collL1ExtraTauJet.isValid()) {
174  m_validL1ExtraTauJet = true;
175  m_l1ExtraTauJet = collL1ExtraTauJet.product();
176  } else {
177  LogDebug("L1RetrieveL1Extra") << "\n l1extra::L1JetParticleCollection with input tag \n " << m_tagL1ExtraTauJet
178  << "\n not found in the event.\n"
179  << "\n Return pointer 0 and false validity tag." << std::endl;
180 
181  m_validL1ExtraTauJet = false;
182  m_l1ExtraTauJet = nullptr;
183  }
184 
185  //
187  iEvent.getByToken(m_tagL1ExtraEtMissMETTok, collL1ExtraEtMissMET);
188 
189  if (collL1ExtraEtMissMET.isValid()) {
190  m_validL1ExtraETT = true;
191  m_validL1ExtraETM = true;
192  m_l1ExtraETT = collL1ExtraEtMissMET.product();
193  m_l1ExtraETM = collL1ExtraEtMissMET.product();
194  } else {
195  LogDebug("L1RetrieveL1Extra") << "\n l1extra::L1EtMissParticleCollection with input tag \n "
196  << m_tagL1ExtraEtMissMET << "\n not found in the event.\n"
197  << "\n Return pointer 0 and false validity tag." << std::endl;
198 
199  m_validL1ExtraETT = false;
200  m_validL1ExtraETM = false;
201  m_l1ExtraETT = nullptr;
202  m_l1ExtraETM = nullptr;
203  }
204 
206  iEvent.getByToken(m_tagL1ExtraEtMissHTMTok, collL1ExtraEtMissHTM);
207 
208  if (collL1ExtraEtMissHTM.isValid()) {
209  m_validL1ExtraHTT = true;
210  m_validL1ExtraHTM = true;
211  m_l1ExtraHTT = collL1ExtraEtMissHTM.product();
212  m_l1ExtraHTM = collL1ExtraEtMissHTM.product();
213  } else {
214  LogDebug("L1RetrieveL1Extra") << "\n l1extra::L1EtMissParticleCollection with input tag \n "
215  << m_tagL1ExtraEtMissHTM << "\n not found in the event.\n"
216  << "\n Return pointer 0 and false validity tag." << std::endl;
217 
218  m_validL1ExtraHTT = false;
219  m_validL1ExtraHTM = false;
220  m_l1ExtraHTT = nullptr;
221  m_l1ExtraHTM = nullptr;
222  }
223 
224  //
226  iEvent.getByToken(m_tagL1ExtraHFRingsTok, collL1ExtraHFRings);
227 
228  if (collL1ExtraHFRings.isValid()) {
231  m_l1ExtraHfBitCounts = collL1ExtraHFRings.product();
232  m_l1ExtraHfRingEtSums = collL1ExtraHFRings.product();
233  } else {
234  LogDebug("L1RetrieveL1Extra") << "\n l1extra::L1HFRingsCollection with input tag \n " << m_tagL1ExtraHFRings
235  << "\n not found in the event.\n"
236  << "\n Return pointer 0 and false validity tag." << std::endl;
237 
240  m_l1ExtraHfBitCounts = nullptr;
241  m_l1ExtraHfRingEtSums = nullptr;
242  }
243 }

References iEvent, edm::HandleBase::isValid(), LogDebug, m_l1ExtraCenJet, m_l1ExtraETM, m_l1ExtraETT, m_l1ExtraForJet, m_l1ExtraHfBitCounts, m_l1ExtraHfRingEtSums, m_l1ExtraHTM, m_l1ExtraHTT, m_l1ExtraIsoEG, m_l1ExtraMuon, m_l1ExtraNoIsoEG, m_l1ExtraTauJet, m_tagL1ExtraCenJet, m_tagL1ExtraCenJetTok, m_tagL1ExtraEtMissHTM, m_tagL1ExtraEtMissHTMTok, m_tagL1ExtraEtMissMET, m_tagL1ExtraEtMissMETTok, m_tagL1ExtraForJet, m_tagL1ExtraForJetTok, m_tagL1ExtraHFRings, m_tagL1ExtraHFRingsTok, m_tagL1ExtraIsoEG, m_tagL1ExtraIsoEGTok, m_tagL1ExtraMuon, m_tagL1ExtraMuonTok, m_tagL1ExtraNoIsoEG, m_tagL1ExtraNoIsoEGTok, m_tagL1ExtraTauJet, m_tagL1ExtraTauJetTok, m_validL1ExtraCenJet, m_validL1ExtraETM, m_validL1ExtraETT, m_validL1ExtraForJet, m_validL1ExtraHfBitCounts, m_validL1ExtraHfRingEtSums, m_validL1ExtraHTM, m_validL1ExtraHTT, m_validL1ExtraIsoEG, m_validL1ExtraMuon, m_validL1ExtraNoIsoEG, m_validL1ExtraTauJet, and edm::Handle< T >::product().

Referenced by L1ExtraDQM::analyze(), and L1GtAnalyzer::analyzeTrigger().

◆ validL1ExtraCenJet()

const bool L1RetrieveL1Extra::validL1ExtraCenJet ( ) const
inline

Definition at line 74 of file L1RetrieveL1Extra.h.

74 { return m_validL1ExtraCenJet; }

References m_validL1ExtraCenJet.

Referenced by L1ExtraDQM::analyzeL1ExtraCenJet().

◆ validL1ExtraColl()

const bool L1RetrieveL1Extra::validL1ExtraColl ( const L1GtObject gtObject) const

Definition at line 325 of file L1RetrieveL1Extra.cc.

325  {
326  switch (gtObject) {
327  case Mu: {
328  return m_validL1ExtraMuon;
329  } break;
330 
331  case NoIsoEG: {
332  return m_validL1ExtraNoIsoEG;
333  } break;
334 
335  case IsoEG: {
336  return m_validL1ExtraIsoEG;
337  } break;
338 
339  case CenJet: {
340  return m_validL1ExtraCenJet;
341  } break;
342 
343  case ForJet: {
344  return m_validL1ExtraForJet;
345  } break;
346 
347  case TauJet: {
348  return m_validL1ExtraTauJet;
349  } break;
350 
351  case ETM: {
352  return m_validL1ExtraETM;
353  } break;
354 
355  case ETT: {
356  return m_validL1ExtraETT;
357  } break;
358 
359  case HTT: {
360  return m_validL1ExtraHTT;
361  } break;
362 
363  case HTM: {
364  return m_validL1ExtraHTM;
365  } break;
366 
367  case JetCounts: {
368  // TODO update when JetCounts will be available
369  return false;
370  } break;
371 
372  case HfBitCounts: {
374  } break;
375 
376  case HfRingEtSums: {
378  } break;
379 
380  case TechTrig: {
381  return false;
382  } break;
383 
384  case Castor: {
385  return false;
386  } break;
387 
388  case BPTX: {
389  return false;
390  } break;
391 
392  case GtExternal: {
393  return false;
394  } break;
395 
396  case ObjNull: {
397  return false;
398  } break;
399 
400  default: {
401  edm::LogInfo("L1GtObject") << "\n '" << gtObject << "' is not a recognized L1GtObject. ";
402 
403  return false;
404 
405  } break;
406  }
407 
408  return false;
409 }

References BPTX, Castor, CenJet, ETM, ETT, ForJet, GtExternal, HfBitCounts, HfRingEtSums, HTM, HTT, IsoEG, JetCounts, m_validL1ExtraCenJet, m_validL1ExtraETM, m_validL1ExtraETT, m_validL1ExtraForJet, m_validL1ExtraHfBitCounts, m_validL1ExtraHfRingEtSums, m_validL1ExtraHTM, m_validL1ExtraHTT, m_validL1ExtraIsoEG, m_validL1ExtraMuon, m_validL1ExtraNoIsoEG, m_validL1ExtraTauJet, Mu, NoIsoEG, ObjNull, TauJet, and TechTrig.

Referenced by printL1Extra().

◆ validL1ExtraETM()

const bool L1RetrieveL1Extra::validL1ExtraETM ( ) const
inline

Definition at line 83 of file L1RetrieveL1Extra.h.

83 { return m_validL1ExtraETM; }

References m_validL1ExtraETM.

Referenced by L1ExtraDQM::analyzeL1ExtraETM().

◆ validL1ExtraETT()

const bool L1RetrieveL1Extra::validL1ExtraETT ( ) const
inline

Definition at line 81 of file L1RetrieveL1Extra.h.

81 { return m_validL1ExtraETT; }

References m_validL1ExtraETT.

Referenced by L1ExtraDQM::analyzeL1ExtraETT().

◆ validL1ExtraForJet()

const bool L1RetrieveL1Extra::validL1ExtraForJet ( ) const
inline

Definition at line 76 of file L1RetrieveL1Extra.h.

76 { return m_validL1ExtraForJet; }

References m_validL1ExtraForJet.

Referenced by L1ExtraDQM::analyzeL1ExtraForJet().

◆ validL1ExtraHfBitCounts()

const bool L1RetrieveL1Extra::validL1ExtraHfBitCounts ( ) const
inline

Definition at line 90 of file L1RetrieveL1Extra.h.

90 { return m_validL1ExtraHfBitCounts; }

References m_validL1ExtraHfBitCounts.

Referenced by L1ExtraDQM::analyzeL1ExtraHfBitCounts().

◆ validL1ExtraHfRingEtSums()

const bool L1RetrieveL1Extra::validL1ExtraHfRingEtSums ( ) const
inline

Definition at line 92 of file L1RetrieveL1Extra.h.

References m_validL1ExtraHfRingEtSums.

Referenced by L1ExtraDQM::analyzeL1ExtraHfRingEtSums().

◆ validL1ExtraHTM()

const bool L1RetrieveL1Extra::validL1ExtraHTM ( ) const
inline

Definition at line 87 of file L1RetrieveL1Extra.h.

87 { return m_validL1ExtraHTM; }

References m_validL1ExtraHTM.

Referenced by L1ExtraDQM::analyzeL1ExtraHTM().

◆ validL1ExtraHTT()

const bool L1RetrieveL1Extra::validL1ExtraHTT ( ) const
inline

Definition at line 85 of file L1RetrieveL1Extra.h.

85 { return m_validL1ExtraHTT; }

References m_validL1ExtraHTT.

Referenced by L1ExtraDQM::analyzeL1ExtraHTT().

◆ validL1ExtraIsoEG()

const bool L1RetrieveL1Extra::validL1ExtraIsoEG ( ) const
inline

Definition at line 69 of file L1RetrieveL1Extra.h.

69 { return m_validL1ExtraIsoEG; }

References m_validL1ExtraIsoEG.

Referenced by L1ExtraDQM::analyzeL1ExtraIsoEG().

◆ validL1ExtraMuon()

const bool L1RetrieveL1Extra::validL1ExtraMuon ( ) const
inline

validity for retrieval of L1Extra products (false: product not found)

Definition at line 66 of file L1RetrieveL1Extra.h.

66 { return m_validL1ExtraMuon; }

References m_validL1ExtraMuon.

Referenced by L1ExtraDQM::analyzeL1ExtraMuon().

◆ validL1ExtraNoIsoEG()

const bool L1RetrieveL1Extra::validL1ExtraNoIsoEG ( ) const
inline

Definition at line 71 of file L1RetrieveL1Extra.h.

71 { return m_validL1ExtraNoIsoEG; }

References m_validL1ExtraNoIsoEG.

Referenced by L1ExtraDQM::analyzeL1ExtraNoIsoEG().

◆ validL1ExtraTauJet()

const bool L1RetrieveL1Extra::validL1ExtraTauJet ( ) const
inline

Definition at line 78 of file L1RetrieveL1Extra.h.

78 { return m_validL1ExtraTauJet; }

References m_validL1ExtraTauJet.

Referenced by L1ExtraDQM::analyzeL1ExtraTauJet().

Member Data Documentation

◆ m_l1ExtraCenJet

const l1extra::L1JetParticleCollection* L1RetrieveL1Extra::m_l1ExtraCenJet
private

Definition at line 197 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraCenJet(), printL1Extra(), and retrieveL1ExtraObjects().

◆ m_l1ExtraETM

const l1extra::L1EtMissParticleCollection* L1RetrieveL1Extra::m_l1ExtraETM
private

Definition at line 202 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraETM(), printL1Extra(), and retrieveL1ExtraObjects().

◆ m_l1ExtraETT

const l1extra::L1EtMissParticleCollection* L1RetrieveL1Extra::m_l1ExtraETT
private

Definition at line 201 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraETT(), printL1Extra(), and retrieveL1ExtraObjects().

◆ m_l1ExtraForJet

const l1extra::L1JetParticleCollection* L1RetrieveL1Extra::m_l1ExtraForJet
private

Definition at line 198 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraForJet(), printL1Extra(), and retrieveL1ExtraObjects().

◆ m_l1ExtraHfBitCounts

const l1extra::L1HFRingsCollection* L1RetrieveL1Extra::m_l1ExtraHfBitCounts
private

Definition at line 206 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraHfBitCounts(), printL1Extra(), and retrieveL1ExtraObjects().

◆ m_l1ExtraHfRingEtSums

const l1extra::L1HFRingsCollection* L1RetrieveL1Extra::m_l1ExtraHfRingEtSums
private

Definition at line 207 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraHfRingEtSums(), printL1Extra(), and retrieveL1ExtraObjects().

◆ m_l1ExtraHTM

const l1extra::L1EtMissParticleCollection* L1RetrieveL1Extra::m_l1ExtraHTM
private

Definition at line 204 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraHTM(), printL1Extra(), and retrieveL1ExtraObjects().

◆ m_l1ExtraHTT

const l1extra::L1EtMissParticleCollection* L1RetrieveL1Extra::m_l1ExtraHTT
private

Definition at line 203 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraHTT(), printL1Extra(), and retrieveL1ExtraObjects().

◆ m_l1ExtraIsoEG

const l1extra::L1EmParticleCollection* L1RetrieveL1Extra::m_l1ExtraIsoEG
private

Definition at line 194 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraIsoEG(), printL1Extra(), and retrieveL1ExtraObjects().

◆ m_l1ExtraMuon

const l1extra::L1MuonParticleCollection* L1RetrieveL1Extra::m_l1ExtraMuon
private

retrieved L1Extra collections

Definition at line 192 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraMuon(), printL1Extra(), and retrieveL1ExtraObjects().

◆ m_l1ExtraNoIsoEG

const l1extra::L1EmParticleCollection* L1RetrieveL1Extra::m_l1ExtraNoIsoEG
private

Definition at line 195 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraNoIsoEG(), printL1Extra(), and retrieveL1ExtraObjects().

◆ m_l1ExtraTauJet

const l1extra::L1JetParticleCollection* L1RetrieveL1Extra::m_l1ExtraTauJet
private

Definition at line 199 of file L1RetrieveL1Extra.h.

Referenced by l1ExtraTauJet(), printL1Extra(), and retrieveL1ExtraObjects().

◆ m_nrBxInEventGct

int L1RetrieveL1Extra::m_nrBxInEventGct
private

Definition at line 169 of file L1RetrieveL1Extra.h.

◆ m_nrBxInEventGmt

int L1RetrieveL1Extra::m_nrBxInEventGmt
private

Definition at line 168 of file L1RetrieveL1Extra.h.

◆ m_tagL1ExtraCenJet

edm::InputTag L1RetrieveL1Extra::m_tagL1ExtraCenJet
private

◆ m_tagL1ExtraCenJetTok

edm::EDGetTokenT<l1extra::L1JetParticleCollection> L1RetrieveL1Extra::m_tagL1ExtraCenJetTok
private

Definition at line 212 of file L1RetrieveL1Extra.h.

Referenced by L1RetrieveL1Extra(), and retrieveL1ExtraObjects().

◆ m_tagL1ExtraEtMissHTM

edm::InputTag L1RetrieveL1Extra::m_tagL1ExtraEtMissHTM
private

◆ m_tagL1ExtraEtMissHTMTok

edm::EDGetTokenT<l1extra::L1EtMissParticleCollection> L1RetrieveL1Extra::m_tagL1ExtraEtMissHTMTok
private

Definition at line 216 of file L1RetrieveL1Extra.h.

Referenced by L1RetrieveL1Extra(), and retrieveL1ExtraObjects().

◆ m_tagL1ExtraEtMissMET

edm::InputTag L1RetrieveL1Extra::m_tagL1ExtraEtMissMET
private

◆ m_tagL1ExtraEtMissMETTok

edm::EDGetTokenT<l1extra::L1EtMissParticleCollection> L1RetrieveL1Extra::m_tagL1ExtraEtMissMETTok
private

Definition at line 215 of file L1RetrieveL1Extra.h.

Referenced by L1RetrieveL1Extra(), and retrieveL1ExtraObjects().

◆ m_tagL1ExtraForJet

edm::InputTag L1RetrieveL1Extra::m_tagL1ExtraForJet
private

◆ m_tagL1ExtraForJetTok

edm::EDGetTokenT<l1extra::L1JetParticleCollection> L1RetrieveL1Extra::m_tagL1ExtraForJetTok
private

Definition at line 213 of file L1RetrieveL1Extra.h.

Referenced by L1RetrieveL1Extra(), and retrieveL1ExtraObjects().

◆ m_tagL1ExtraHFRings

edm::InputTag L1RetrieveL1Extra::m_tagL1ExtraHFRings
private

◆ m_tagL1ExtraHFRingsTok

edm::EDGetTokenT<l1extra::L1HFRingsCollection> L1RetrieveL1Extra::m_tagL1ExtraHFRingsTok
private

Definition at line 217 of file L1RetrieveL1Extra.h.

Referenced by L1RetrieveL1Extra(), and retrieveL1ExtraObjects().

◆ m_tagL1ExtraIsoEG

edm::InputTag L1RetrieveL1Extra::m_tagL1ExtraIsoEG
private

◆ m_tagL1ExtraIsoEGTok

edm::EDGetTokenT<l1extra::L1EmParticleCollection> L1RetrieveL1Extra::m_tagL1ExtraIsoEGTok
private

Definition at line 210 of file L1RetrieveL1Extra.h.

Referenced by L1RetrieveL1Extra(), and retrieveL1ExtraObjects().

◆ m_tagL1ExtraMuon

edm::InputTag L1RetrieveL1Extra::m_tagL1ExtraMuon
private

input parameters

input tags for L1Extra objects

Definition at line 154 of file L1RetrieveL1Extra.h.

Referenced by inputTagL1ExtraColl(), L1RetrieveL1Extra(), and retrieveL1ExtraObjects().

◆ m_tagL1ExtraMuonTok

edm::EDGetTokenT<l1extra::L1MuonParticleCollection> L1RetrieveL1Extra::m_tagL1ExtraMuonTok
private

Definition at line 209 of file L1RetrieveL1Extra.h.

Referenced by L1RetrieveL1Extra(), and retrieveL1ExtraObjects().

◆ m_tagL1ExtraNoIsoEG

edm::InputTag L1RetrieveL1Extra::m_tagL1ExtraNoIsoEG
private

◆ m_tagL1ExtraNoIsoEGTok

edm::EDGetTokenT<l1extra::L1EmParticleCollection> L1RetrieveL1Extra::m_tagL1ExtraNoIsoEGTok
private

Definition at line 211 of file L1RetrieveL1Extra.h.

Referenced by L1RetrieveL1Extra(), and retrieveL1ExtraObjects().

◆ m_tagL1ExtraTauJet

edm::InputTag L1RetrieveL1Extra::m_tagL1ExtraTauJet
private

◆ m_tagL1ExtraTauJetTok

edm::EDGetTokenT<l1extra::L1JetParticleCollection> L1RetrieveL1Extra::m_tagL1ExtraTauJetTok
private

Definition at line 214 of file L1RetrieveL1Extra.h.

Referenced by L1RetrieveL1Extra(), and retrieveL1ExtraObjects().

◆ m_validL1ExtraCenJet

bool L1RetrieveL1Extra::m_validL1ExtraCenJet
private

◆ m_validL1ExtraETM

bool L1RetrieveL1Extra::m_validL1ExtraETM
private

Definition at line 183 of file L1RetrieveL1Extra.h.

Referenced by retrieveL1ExtraObjects(), validL1ExtraColl(), and validL1ExtraETM().

◆ m_validL1ExtraETT

bool L1RetrieveL1Extra::m_validL1ExtraETT
private

Definition at line 182 of file L1RetrieveL1Extra.h.

Referenced by retrieveL1ExtraObjects(), validL1ExtraColl(), and validL1ExtraETT().

◆ m_validL1ExtraForJet

bool L1RetrieveL1Extra::m_validL1ExtraForJet
private

◆ m_validL1ExtraHfBitCounts

bool L1RetrieveL1Extra::m_validL1ExtraHfBitCounts
private

◆ m_validL1ExtraHfRingEtSums

bool L1RetrieveL1Extra::m_validL1ExtraHfRingEtSums
private

◆ m_validL1ExtraHTM

bool L1RetrieveL1Extra::m_validL1ExtraHTM
private

Definition at line 185 of file L1RetrieveL1Extra.h.

Referenced by retrieveL1ExtraObjects(), validL1ExtraColl(), and validL1ExtraHTM().

◆ m_validL1ExtraHTT

bool L1RetrieveL1Extra::m_validL1ExtraHTT
private

Definition at line 184 of file L1RetrieveL1Extra.h.

Referenced by retrieveL1ExtraObjects(), validL1ExtraColl(), and validL1ExtraHTT().

◆ m_validL1ExtraIsoEG

bool L1RetrieveL1Extra::m_validL1ExtraIsoEG
private

◆ m_validL1ExtraMuon

bool L1RetrieveL1Extra::m_validL1ExtraMuon
private

validity for retrieval of L1Extra products (false: product not found)

Definition at line 173 of file L1RetrieveL1Extra.h.

Referenced by retrieveL1ExtraObjects(), validL1ExtraColl(), and validL1ExtraMuon().

◆ m_validL1ExtraNoIsoEG

bool L1RetrieveL1Extra::m_validL1ExtraNoIsoEG
private

◆ m_validL1ExtraTauJet

bool L1RetrieveL1Extra::m_validL1ExtraTauJet
private
L1RetrieveL1Extra::m_l1ExtraNoIsoEG
const l1extra::L1EmParticleCollection * m_l1ExtraNoIsoEG
Definition: L1RetrieveL1Extra.h:195
l1extra::L1HFRings::HFRingLabels
HFRingLabels
Definition: L1HFRings.h:33
HTM
Definition: L1GtObject.h:38
L1RetrieveL1Extra::m_l1ExtraHfBitCounts
const l1extra::L1HFRingsCollection * m_l1ExtraHfBitCounts
Definition: L1RetrieveL1Extra.h:206
ObjNull
Definition: L1GtObject.h:46
GtExternal
Definition: L1GtObject.h:45
L1RetrieveL1Extra::m_tagL1ExtraTauJetTok
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_tagL1ExtraTauJetTok
Definition: L1RetrieveL1Extra.h:214
edm::Handle::product
T const * product() const
Definition: Handle.h:70
L1RetrieveL1Extra::m_l1ExtraForJet
const l1extra::L1JetParticleCollection * m_l1ExtraForJet
Definition: L1RetrieveL1Extra.h:198
ETM
Definition: L1GtObject.h:35
Castor
Definition: L1GtObject.h:43
L1RetrieveL1Extra::m_validL1ExtraETT
bool m_validL1ExtraETT
Definition: L1RetrieveL1Extra.h:182
l1GtObjectEnumToString
std::string l1GtObjectEnumToString(const L1GtObject &)
Definition: L1GtObject.cc:69
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_l1ExtraHTM
const l1extra::L1EtMissParticleCollection * m_l1ExtraHTM
Definition: L1RetrieveL1Extra.h:204
L1RetrieveL1Extra::m_l1ExtraETT
const l1extra::L1EtMissParticleCollection * m_l1ExtraETT
Definition: L1RetrieveL1Extra.h:201
NoIsoEG
Definition: L1GtObject.h:30
edm::LogInfo
Log< level::Info, false > LogInfo
Definition: MessageLogger.h:125
IsoEG
Definition: L1GtObject.h:31
edm::Handle
Definition: AssociativeIterator.h:50
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::m_l1ExtraCenJet
const l1extra::L1JetParticleCollection * m_l1ExtraCenJet
Definition: L1RetrieveL1Extra.h:197
L1RetrieveL1Extra::m_tagL1ExtraMuon
edm::InputTag m_tagL1ExtraMuon
input parameters
Definition: L1RetrieveL1Extra.h:154
HTT
Definition: L1GtObject.h:37
L1RetrieveL1Extra::m_validL1ExtraCenJet
bool m_validL1ExtraCenJet
Definition: L1RetrieveL1Extra.h:178
HfBitCounts
Definition: L1GtObject.h:40
HfRingEtSums
Definition: L1GtObject.h:41
L1RetrieveL1Extra::m_validL1ExtraHTT
bool m_validL1ExtraHTT
Definition: L1RetrieveL1Extra.h:184
L1RetrieveL1Extra::m_tagL1ExtraEtMissHTMTok
edm::EDGetTokenT< l1extra::L1EtMissParticleCollection > m_tagL1ExtraEtMissHTMTok
Definition: L1RetrieveL1Extra.h:216
CenJet
Definition: L1GtObject.h:32
l1extra::L1JetParticleCollection
std::vector< L1JetParticle > L1JetParticleCollection
Definition: L1JetParticleFwd.h:28
edm::ConsumesCollector::consumes
EDGetTokenT< ProductType > consumes(edm::InputTag const &tag)
Definition: ConsumesCollector.h:55
l1extra::L1HFRingsCollection
std::vector< L1HFRings > L1HFRingsCollection
Definition: L1HFRingsFwd.h:29
L1RetrieveL1Extra::m_validL1ExtraForJet
bool m_validL1ExtraForJet
Definition: L1RetrieveL1Extra.h:179
TechTrig
Definition: L1GtObject.h:42
L1RetrieveL1Extra::m_l1ExtraHTT
const l1extra::L1EtMissParticleCollection * m_l1ExtraHTT
Definition: L1RetrieveL1Extra.h:203
L1RetrieveL1Extra::m_l1ExtraTauJet
const l1extra::L1JetParticleCollection * m_l1ExtraTauJet
Definition: L1RetrieveL1Extra.h:199
TauJet
Definition: L1GtObject.h:34
LogDebug
#define LogDebug(id)
Definition: MessageLogger.h:223
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
iEvent
int iEvent
Definition: GenABIO.cc:224
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
ETT
Definition: L1GtObject.h:36
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::m_tagL1ExtraIsoEGTok
edm::EDGetTokenT< l1extra::L1EmParticleCollection > m_tagL1ExtraIsoEGTok
Definition: L1RetrieveL1Extra.h:210
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
L1RetrieveL1Extra::validL1ExtraColl
const bool validL1ExtraColl(const L1GtObject &) const
Definition: L1RetrieveL1Extra.cc:325
Mu
Definition: L1GtObject.h:29
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
L1RetrieveL1Extra::m_l1ExtraETM
const l1extra::L1EtMissParticleCollection * m_l1ExtraETM
Definition: L1RetrieveL1Extra.h:202
L1RetrieveL1Extra::m_tagL1ExtraHFRings
edm::InputTag m_tagL1ExtraHFRings
Definition: L1RetrieveL1Extra.h:166
l1extra::L1EmParticleCollection
std::vector< L1EmParticle > L1EmParticleCollection
Definition: L1EmParticleFwd.h:28
L1RetrieveL1Extra::m_validL1ExtraHfRingEtSums
bool m_validL1ExtraHfRingEtSums
Definition: L1RetrieveL1Extra.h:188
L1RetrieveL1Extra::m_tagL1ExtraMuonTok
edm::EDGetTokenT< l1extra::L1MuonParticleCollection > m_tagL1ExtraMuonTok
Definition: L1RetrieveL1Extra.h:209
edm::ParameterSet::getParameter
T getParameter(std::string const &) const
Definition: ParameterSet.h:303
ForJet
Definition: L1GtObject.h:33
JetCounts
Definition: L1GtObject.h:39
l1extra::L1HFRings::kNumRings
Definition: L1HFRings.h:33
L1RetrieveL1Extra::m_validL1ExtraETM
bool m_validL1ExtraETM
Definition: L1RetrieveL1Extra.h:183
BPTX
Definition: L1GtObject.h:44
L1RetrieveL1Extra::m_validL1ExtraNoIsoEG
bool m_validL1ExtraNoIsoEG
Definition: L1RetrieveL1Extra.h:176
edm::HandleBase::isValid
bool isValid() const
Definition: HandleBase.h:70
L1RetrieveL1Extra::m_validL1ExtraHTM
bool m_validL1ExtraHTM
Definition: L1RetrieveL1Extra.h:185
L1RetrieveL1Extra::m_tagL1ExtraForJetTok
edm::EDGetTokenT< l1extra::L1JetParticleCollection > m_tagL1ExtraForJetTok
Definition: L1RetrieveL1Extra.h:213
edm::InputTag
Definition: InputTag.h:15
L1RetrieveL1Extra::m_tagL1ExtraNoIsoEG
edm::InputTag m_tagL1ExtraNoIsoEG
Definition: L1RetrieveL1Extra.h:157
L1RetrieveL1Extra::m_tagL1ExtraIsoEG
edm::InputTag m_tagL1ExtraIsoEG
Definition: L1RetrieveL1Extra.h:156
L1RetrieveL1Extra::m_l1ExtraMuon
const l1extra::L1MuonParticleCollection * m_l1ExtraMuon
retrieved L1Extra collections
Definition: L1RetrieveL1Extra.h:192