ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
LVL1::gFEXOutputCollection Class Reference

#include <gFEXOutputCollection.h>

Collaboration diagram for LVL1::gFEXOutputCollection:

Public Member Functions

 gFEXOutputCollection ()
 
 ~gFEXOutputCollection ()
 
void clearJets ()
 
void clearGlobals ()
 
void addValueJet (std::string key, float value)
 add a value related to the jet finder algorithm for a TOB More...
 
void addValueGlobal (std::string key, float value)
 
void fillJet ()
 
void fillGlobal ()
 
int jetsSize () const
 
int globalsSize () const
 
std::unordered_map< std::string, float > getJet (int) const
 
std::unordered_map< std::string, float > getGlobal (int) const
 
void addJetTob (uint32_t)
 
void addGlobalTob (uint32_t)
 
const std::vector< uint32_t > & getJetTob () const
 
const std::vector< uint32_t > & getGlobalTob () const
 
void setdooutput (bool)
 
bool getdooutput () const
 

Private Attributes

bool m_dooutput
 
std::vector< uint32_t > m_jettob
 
std::vector< uint32_t > m_globaltob
 
std::unordered_map< std::string, float > m_values_gFEXJet
 
std::unordered_map< std::string, float > m_values_gFEXGlobal
 
std::vector< std::unordered_map< std::string, float > > m_allvalues_gFEXjet
 jet related values of all TOBs in an event More...
 
std::vector< std::unordered_map< std::string, float > > m_allvalues_gFEXglobal
 

Detailed Description

Definition at line 21 of file gFEXOutputCollection.h.

Constructor & Destructor Documentation

◆ gFEXOutputCollection()

LVL1::gFEXOutputCollection::gFEXOutputCollection ( )

Definition at line 13 of file gFEXOutputCollection.cxx.

13  {
14  m_dooutput = false;
15 }

◆ ~gFEXOutputCollection()

LVL1::gFEXOutputCollection::~gFEXOutputCollection ( )

Definition at line 17 of file gFEXOutputCollection.cxx.

18 {
19 }

Member Function Documentation

◆ addGlobalTob()

void LVL1::gFEXOutputCollection::addGlobalTob ( uint32_t  globaltob)

Definition at line 91 of file gFEXOutputCollection.cxx.

92 {
93  m_globaltob.push_back(globaltob);
94 }

◆ addJetTob()

void LVL1::gFEXOutputCollection::addJetTob ( uint32_t  jettob)

Definition at line 58 of file gFEXOutputCollection.cxx.

59 {
60  m_jettob.push_back(jettob);
61 }

◆ addValueGlobal()

void LVL1::gFEXOutputCollection::addValueGlobal ( std::string  key,
float  value 
)

Definition at line 70 of file gFEXOutputCollection.cxx.

71 {
72  m_values_gFEXGlobal.emplace(std::move(key), value);
73 }

◆ addValueJet()

void LVL1::gFEXOutputCollection::addValueJet ( std::string  key,
float  value 
)

add a value related to the jet finder algorithm for a TOB

Parameters
keyname of the value
valuethe value

Definition at line 37 of file gFEXOutputCollection.cxx.

38 {
39  m_values_gFEXJet.emplace(std::move(key), value);
40 }

◆ clearGlobals()

void LVL1::gFEXOutputCollection::clearGlobals ( )

Definition at line 29 of file gFEXOutputCollection.cxx.

30 {
31  for (auto iValues : m_allvalues_gFEXglobal) {
32  iValues.clear();
33  }
34  m_globaltob.clear();
35 }

◆ clearJets()

void LVL1::gFEXOutputCollection::clearJets ( )

Definition at line 21 of file gFEXOutputCollection.cxx.

22 {
23  for (auto iValues : m_allvalues_gFEXjet) {
24  iValues.clear();
25  }
26  m_jettob.clear();
27 }

◆ fillGlobal()

void LVL1::gFEXOutputCollection::fillGlobal ( )

Definition at line 75 of file gFEXOutputCollection.cxx.

76 {
77  m_allvalues_gFEXglobal.push_back(std::move(m_values_gFEXGlobal));
78  m_values_gFEXGlobal.clear();
79 }

◆ fillJet()

void LVL1::gFEXOutputCollection::fillJet ( )

Definition at line 42 of file gFEXOutputCollection.cxx.

43 {
44  m_allvalues_gFEXjet.push_back(std::move(m_values_gFEXJet));
45  m_values_gFEXJet.clear();
46 }

◆ getdooutput()

bool LVL1::gFEXOutputCollection::getdooutput ( ) const

Definition at line 106 of file gFEXOutputCollection.cxx.

106  {
107  return m_dooutput;
108 }

◆ getGlobal()

std::unordered_map< std::string, float > LVL1::gFEXOutputCollection::getGlobal ( int  location) const

Definition at line 86 of file gFEXOutputCollection.cxx.

87 {
88  return m_allvalues_gFEXglobal[location];
89 }

◆ getGlobalTob()

const std::vector< uint32_t > & LVL1::gFEXOutputCollection::getGlobalTob ( ) const

Definition at line 96 of file gFEXOutputCollection.cxx.

97 {
98  return m_globaltob;
99 }

◆ getJet()

std::unordered_map< std::string, float > LVL1::gFEXOutputCollection::getJet ( int  location) const

Definition at line 53 of file gFEXOutputCollection.cxx.

54 {
55  return m_allvalues_gFEXjet[location];
56 }

◆ getJetTob()

const std::vector< uint32_t > & LVL1::gFEXOutputCollection::getJetTob ( ) const

Definition at line 63 of file gFEXOutputCollection.cxx.

64 {
65  return m_jettob;
66 }

◆ globalsSize()

int LVL1::gFEXOutputCollection::globalsSize ( ) const

Definition at line 81 of file gFEXOutputCollection.cxx.

82 {
83  return m_allvalues_gFEXglobal.size();
84 }

◆ jetsSize()

int LVL1::gFEXOutputCollection::jetsSize ( ) const

Definition at line 48 of file gFEXOutputCollection.cxx.

49 {
50  return m_allvalues_gFEXjet.size();
51 }

◆ setdooutput()

void LVL1::gFEXOutputCollection::setdooutput ( bool  input)

Definition at line 102 of file gFEXOutputCollection.cxx.

102  {
103  m_dooutput = input;
104 }

Member Data Documentation

◆ m_allvalues_gFEXglobal

std::vector<std::unordered_map<std::string, float> > LVL1::gFEXOutputCollection::m_allvalues_gFEXglobal
private

Definition at line 83 of file gFEXOutputCollection.h.

◆ m_allvalues_gFEXjet

std::vector<std::unordered_map<std::string, float> > LVL1::gFEXOutputCollection::m_allvalues_gFEXjet
private

jet related values of all TOBs in an event

Definition at line 82 of file gFEXOutputCollection.h.

◆ m_dooutput

bool LVL1::gFEXOutputCollection::m_dooutput
private

Definition at line 74 of file gFEXOutputCollection.h.

◆ m_globaltob

std::vector<uint32_t> LVL1::gFEXOutputCollection::m_globaltob
private

Definition at line 77 of file gFEXOutputCollection.h.

◆ m_jettob

std::vector<uint32_t> LVL1::gFEXOutputCollection::m_jettob
private

Definition at line 76 of file gFEXOutputCollection.h.

◆ m_values_gFEXGlobal

std::unordered_map<std::string, float> LVL1::gFEXOutputCollection::m_values_gFEXGlobal
private

Definition at line 80 of file gFEXOutputCollection.h.

◆ m_values_gFEXJet

std::unordered_map<std::string, float> LVL1::gFEXOutputCollection::m_values_gFEXJet
private

Definition at line 79 of file gFEXOutputCollection.h.


The documentation for this class was generated from the following files:
athena.value
value
Definition: athena.py:124
LVL1::gFEXOutputCollection::m_globaltob
std::vector< uint32_t > m_globaltob
Definition: gFEXOutputCollection.h:77
LVL1::gFEXOutputCollection::m_values_gFEXGlobal
std::unordered_map< std::string, float > m_values_gFEXGlobal
Definition: gFEXOutputCollection.h:80
LVL1::gFEXOutputCollection::m_allvalues_gFEXjet
std::vector< std::unordered_map< std::string, float > > m_allvalues_gFEXjet
jet related values of all TOBs in an event
Definition: gFEXOutputCollection.h:82
LVL1::gFEXOutputCollection::m_values_gFEXJet
std::unordered_map< std::string, float > m_values_gFEXJet
Definition: gFEXOutputCollection.h:79
PlotPulseshapeFromCool.input
input
Definition: PlotPulseshapeFromCool.py:106
LVL1::gFEXOutputCollection::m_jettob
std::vector< uint32_t > m_jettob
Definition: gFEXOutputCollection.h:76
LVL1::gFEXOutputCollection::m_dooutput
bool m_dooutput
Definition: gFEXOutputCollection.h:74
LVL1::gFEXOutputCollection::m_allvalues_gFEXglobal
std::vector< std::unordered_map< std::string, float > > m_allvalues_gFEXglobal
Definition: gFEXOutputCollection.h:83
mapkey::key
key
Definition: TElectronEfficiencyCorrectionTool.cxx:37