ATLAS Offline Software
Loading...
Searching...
No Matches
jFEXOutputCollection.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3*/
4//***************************************************************************
5// jFEXOutputCollection.h -
6// -------------------
7// begin : 09 12 2020
8// email : varsiha.sothilingam@cern.ch
9// **************************************************************************
10
11#ifndef JFEX_OUTPUT_COLLECTION_H
12#define JFEX_OUTPUT_COLLECTION_H
13
16#include <map>
17#include <iostream>
18#include <vector>
19#include <string>
20
21namespace LVL1 {
23{
24 public:
27 void clear();
28 void addValue_smallRJet(std::string, int);
29 void fill_smallRJet();
30 void addValue_largeRJet(std::string, int);
31 void fill_largeRJet();
32 void addValue_tau(std::string, int);
33 void fill_tau();
34 void addValue_fwdEl(std::string, int);
35 void fill_fwdEl();
36 void addValue_pileup(std::string, int);
37 void addValue_pileup(std::string, std::vector<int> );
38 void fill_pileup();
39 int SRJetSize() const;
40 int LRJetSize() const;
41 int TauSize() const;
42 int FwdElSize() const;
43 int PileupSize() const;
44 int PileupEtSize() const;
45 void setdooutput(bool);
46 bool getdooutput() const;
47 int get_smallRJet(int,const std::string&) const;
48 int get_largeRJet(int,const std::string&) const;
49 int get_tau(int,const std::string&) const;
50 int get_fwdEl(int,const std::string&) const;
51 int get_pileup(int,const std::string&) const;
52 std::vector<int> get_pileup_map(int,const std::string&) const;
53 private:
55 std::unordered_map<std::string, int> m_values_tem_smallRJet;
56 std::vector< std::unique_ptr<std::unordered_map<std::string, int>> > m_allvalues_smallRJet;
57 std::unordered_map<std::string, int> m_values_tem_largeRJet;
58 std::vector<std::unique_ptr<std::unordered_map<std::string, int>> > m_allvalues_largeRJet;
59 std::unordered_map<std::string, int> m_values_tem_tau;
60 std::vector<std::unique_ptr<std::unordered_map<std::string, int>> > m_allvalues_tau;
61 std::unordered_map<std::string, int> m_values_tem_fwdEl;
62 std::vector<std::unique_ptr<std::unordered_map<std::string, int>> > m_allvalues_fwdEl;
63 std::unordered_map<std::string, int> m_values_tem_pileup;
64 std::vector< std::unique_ptr<std::unordered_map<std::string, int>> > m_allvalues_pileup;
65 std::unordered_map<std::string, std::vector<int> > m_values_tem_pileup_maps;
66 std::vector< std::unique_ptr<std::unordered_map<std::string, std::vector<int> >> > m_allvalues_pileup_map;
67};
68}
70#endif
macros to associate a CLID to a type
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
void addValue_fwdEl(std::string, int)
std::vector< std::unique_ptr< std::unordered_map< std::string, int > > > m_allvalues_fwdEl
std::vector< std::unique_ptr< std::unordered_map< std::string, int > > > m_allvalues_smallRJet
std::vector< std::unique_ptr< std::unordered_map< std::string, int > > > m_allvalues_tau
int get_smallRJet(int, const std::string &) const
int get_pileup(int, const std::string &) const
void addValue_largeRJet(std::string, int)
std::unordered_map< std::string, int > m_values_tem_tau
void addValue_smallRJet(std::string, int)
std::vector< int > get_pileup_map(int, const std::string &) const
std::unordered_map< std::string, std::vector< int > > m_values_tem_pileup_maps
std::vector< std::unique_ptr< std::unordered_map< std::string, int > > > m_allvalues_largeRJet
std::unordered_map< std::string, int > m_values_tem_largeRJet
std::unordered_map< std::string, int > m_values_tem_smallRJet
void addValue_tau(std::string, int)
void addValue_pileup(std::string, int)
int get_largeRJet(int, const std::string &) const
std::unordered_map< std::string, int > m_values_tem_pileup
std::unordered_map< std::string, int > m_values_tem_fwdEl
std::vector< std::unique_ptr< std::unordered_map< std::string, std::vector< int > > > > m_allvalues_pileup_map
int get_fwdEl(int, const std::string &) const
std::vector< std::unique_ptr< std::unordered_map< std::string, int > > > m_allvalues_pileup
int get_tau(int, const std::string &) const
eFexTowerBuilder creates xAOD::eFexTowerContainer from supercells (LATOME) and triggerTowers (TREX) i...