ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Trigger
TrigT1
L1Topo
L1TopoEvent
Root
jJetTOBArray.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
L1TopoEvent/jJetTOBArray.h
"
6
#include "
L1TopoEvent/TOBArray.h
"
7
#include "
L1TopoEvent/GenericTOB.h
"
8
9
10
TCS::jJetTOBArray::jJetTOBArray
(
const
std::string &
name
,
unsigned
int
reserve) :
11
InputTOBArray
(
name
),
12
DataArrayImpl
<
jJetTOB
>(reserve)
13
{}
14
15
16
TCS::TOBArray
17
TCS::jJetTOBArray::asTOBArray
()
const
{
18
TOBArray
tobarray(
name
());
19
for
(
const
jJetTOB
*
jet
:
m_data
)
20
tobarray.
push_back
(
GenericTOB
(*
jet
));
21
return
tobarray;
22
}
23
24
void
25
TCS::jJetTOBArray::print
(std::ostream &o)
const
{
26
o <<
name
() << std::endl;
27
for
(
const_iterator
tob =
begin
(); tob !=
end
(); ++tob)
28
o << **tob << std::endl;
29
}
GenericTOB.h
TOBArray.h
TCS::DataArrayImpl< jJetTOB >::begin
iterator begin()
Definition
DataArrayImpl.h:40
TCS::DataArrayImpl< jJetTOB >::const_iterator
data_t::const_iterator const_iterator
Definition
DataArrayImpl.h:18
TCS::DataArrayImpl< jJetTOB >::m_data
data_t m_data
Definition
DataArrayImpl.h:50
TCS::DataArrayImpl< jJetTOB >::DataArrayImpl
DataArrayImpl(unsigned int reserve=0)
Definition
DataArrayImpl.h:21
TCS::DataArrayImpl< jJetTOB >::end
iterator end()
Definition
DataArrayImpl.h:43
TCS::DataArray::name
const std::string & name() const
Definition
DataArray.h:20
TCS::GenericTOB
Definition
GenericTOB.h:35
TCS::InputTOBArray::InputTOBArray
InputTOBArray(const std::string &name)
Definition
InputTOBArray.h:18
TCS::TOBArray
Definition
TOBArray.h:24
TCS::TOBArray::push_back
void push_back(const CompositeTOB &tob)
Definition
TOBArray.cxx:24
TCS::jJetTOBArray::jJetTOBArray
jJetTOBArray(const std::string &name, unsigned int reserve)
Definition
jJetTOBArray.cxx:10
TCS::jJetTOBArray::print
virtual void print(std::ostream &) const
Definition
jJetTOBArray.cxx:25
TCS::jJetTOBArray::asTOBArray
TOBArray asTOBArray() const
Definition
jJetTOBArray.cxx:17
TCS::jJetTOB
Definition
jJetTOB.h:16
jJetTOBArray.h
jet
Definition
JetCalibTools_PlotJESFactors.cxx:23
Generated on
for ATLAS Offline Software by
1.17.0