ATLAS Offline Software
Trigger
TrigEvent
TrigNavStructure
Root
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>
6
#include "
TrigNavStructure/TriggerElementFactory.h
"
7
8
9
HLT::TriggerElementFactory::TriggerElementFactory
() {
10
// std::cout << "TriggerElementFactory::TriggerElementFactory() " << std::endl;
11
}
12
13
HLT::TriggerElementFactory::~TriggerElementFactory
() {
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
24
bool
HLT::TriggerElementFactory::empty
()
const
{
25
return
m_list.empty();
26
}
27
28
void
HLT::TriggerElementFactory::reset
() {
29
std::vector< HLT::TriggerElement* >::iterator
i
;
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
Generated on Sun Dec 22 2024 21:20:59 for ATLAS Offline Software by
1.8.18