ATLAS Offline Software
TriggerElementFactory.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #include <iostream>
7 
8 
10  // std::cout << "TriggerElementFactory::TriggerElementFactory() " << std::endl;
11 }
12 
14 }
15 
16 HLT::TriggerElement* HLT::TriggerElementFactory::produce(unsigned int id, bool ghost, bool nofwd) {
17  HLT::TriggerElement *te = new HLT::TriggerElement(id, ghost, nofwd);
18  m_list.push_back(te);
19  m_groupedById[id].push_back(te);
20  return te;
21 }
22 
23 
25  return m_list.empty();
26 }
27 
30  for ( i = m_list.begin(); i != m_list.end(); ++i ) {
31  delete (*i);
32  }
33  m_list.clear();
34  m_groupedById.clear();
35 }
xAOD::iterator
JetConstituentVector::iterator iterator
Definition: JetConstituentVector.cxx:68
HLT::TriggerElementFactory::~TriggerElementFactory
~TriggerElementFactory()
Definition: TriggerElementFactory.cxx:13
lumiFormat.i
int i
Definition: lumiFormat.py:85
HLT::TriggerElement
TriggerElement is the basic ingreedient of the interface between HLT algorithms and the navigation It...
Definition: TrigNavStructure/TrigNavStructure/TriggerElement.h:27
TriggerElementFactory.h
id
SG::auxid_t id
Definition: Control/AthContainers/Root/debug.cxx:227
HLT::TriggerElementFactory::reset
void reset()
Definition: TriggerElementFactory.cxx:28
HLT::TriggerElementFactory::TriggerElementFactory
TriggerElementFactory()
Definition: TriggerElementFactory.cxx:9
HLT::TriggerElementFactory::empty
bool empty() const
Definition: TriggerElementFactory.cxx:24
HLT::TriggerElementFactory::produce
TriggerElement * produce(unsigned int id, bool ghost=false, bool nofwd=false)
Definition: TriggerElementFactory.cxx:16