ATLAS Offline Software
Loading...
Searching...
No Matches
eFEXOutputCollection.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
14
15#pragma once
17#include <map>
18#include <vector>
19#include <string>
20
21namespace LVL1 {
23 {
28 public:
31
34
36 void clear();
37
45 void addValue_eg(const std::string& key, float value);
46
48 void fill_eg();
49
57 void addValue_tau(const std::string& key, float value);
58
60 void fill_tau();
61
63 int tau_size() const;
64
66 int size() const;
67
69 std::map<std::string, float>* get_eg(int) const;
70
72 std::map<std::string, float>* get_tau(int) const;
73
75 void addeFexNumber(int);
76
78 const std::vector<int>& geteFexNumber() const;
79
81 void addEMtob(uint32_t);
82
84 const std::vector<uint32_t>& getEMtob() const;
85
87 void setdooutput(bool);
88
90 bool getdooutput() const;
91
92 private:
94 std::vector<int> m_eFexNumber;
95 std::vector<uint32_t> m_emtob;
97 std::map<std::string, float> m_values_tem_eg;
99 std::vector<std::map<std::string, float>*> m_allvalues_eg;
101 std::map<std::string, float> m_values_tem_tau;
103 std::vector<std::map<std::string, float>*> m_allvalues_tau;
104 };
105}
107
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
bool getdooutput() const
return to true if ntuple output is needed
const std::vector< uint32_t > & getEMtob() const
get all e-gamma TOB words of an event
int size() const
get total number of eg TOBs saved
void fill_tau()
Save all tau values. Use only after finishing defining all tau values for one TOB.
const std::vector< int > & geteFexNumber() const
get the eFEX numbers of all TOBs
std::vector< std::map< std::string, float > * > m_allvalues_tau
tau related values of all TOBs in an event
std::vector< uint32_t > m_emtob
vector of TOB words
void fill_eg()
Save all e-gamma values. Use only after finishing defining all e-gamma values for one TOB.
std::vector< int > m_eFexNumber
vector of eFEX numbers
std::map< std::string, float > * get_eg(int) const
get all e-gamma related values the ith TOB
int tau_size() const
get total number of tau TOBs saved
void addeFexNumber(int)
add the eEFX number of a TOB
void setdooutput(bool)
setting to true if ntuple output is needed
void addValue_tau(const std::string &key, float value)
define a value related to the tau algorithm for a TOB
std::map< std::string, float > m_values_tem_eg
e-gamma related values of a TOB
void addValue_eg(const std::string &key, float value)
add a value related to the e-gamma algorithm for a TOB
std::map< std::string, float > m_values_tem_tau
tau related values of a TOB
void clear()
Removes all values from the vectors for the next event.
std::vector< std::map< std::string, float > * > m_allvalues_eg
e-gamma related values of all TOBs in an event
std::map< std::string, float > * get_tau(int) const
get all tau related values the ith TOB
void addEMtob(uint32_t)
add a 32-bit e-gamma TOB word
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...