Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
GepAlgoHypothesisPortsIn.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 #ifndef GLOBALSIM_GEPALGOHYPTHESISPORTSIN_H
6 #define GLOBALSIM_GEPALGOHYPTHESISPORTSIN_H
7 
8 #include "AlgoConstants.h"
9 #include <bitset>
10 #include <ostream>
11 #include <memory>
12 
13 
14 #include "AthenaKernel/CLASS_DEF.h"
15 
16 namespace GlobalSim {
17 
19 
20  using BSPtr72 = std::shared_ptr<std::bitset<72>>;
21 
23  std::make_shared<std::bitset<72>>()};
24 
25  // std::shared_ptr<std::bitset<72>> m_I_GEPEmTobs {
26  // std::make_shared<std::bitset<72>>()};
27 
28  BSPtr72 m_I_GEPTauTobs{std::make_shared<std::bitset<72>>()};
29  BSPtr72 m_I_GEPJetTobs{std::make_shared<std::bitset<72>>()};
30  BSPtr72 m_I_eEmTobs{std::make_shared<std::bitset<72>>()};
31  BSPtr72 m_I_eTauTobs{std::make_shared<std::bitset<72>>()};
32  BSPtr72 m_I_jJetTobs{std::make_shared<std::bitset<72>>()};
33  BSPtr72 m_I_jLJetTobs{std::make_shared<std::bitset<72>>()};
34  BSPtr72 m_I_jTauTobs{std::make_shared<std::bitset<72>>()};
35  BSPtr72 m_I_cTauTobs{std::make_shared<std::bitset<72>>()};
36  BSPtr72 m_I_jEmTobs{std::make_shared<std::bitset<72>>()};
37  BSPtr72 m_I_MuonTobs{std::make_shared<std::bitset<72>>()};
38  BSPtr72 m_I_MetTobs{std::make_shared<std::bitset<72>>()};
39  BSPtr72 m_I_jSumEtTobs{std::make_shared<std::bitset<72>>()};
40  BSPtr72 m_I_EnergyTobs{std::make_shared<std::bitset<72>>()};
41  BSPtr72 m_I_gLJetTobs{std::make_shared<std::bitset<72>>()};
42  BSPtr72 m_I_gJetTobs{std::make_shared<std::bitset<72>>()};
43 
44  // _dv: 1 -> data is valid, data is invalid otherwise
45 
46  using BSPtr1 = std::shared_ptr<std::bitset<1>>;
47 
48  BSPtr1 m_I_GEPEmTobs_dv{std::make_shared<std::bitset<1>>()};
49  BSPtr1 m_I_GEPTauTobs_dv{std::make_shared<std::bitset<1>>()};
50  BSPtr1 m_I_GEPJetTobs_dv{std::make_shared<std::bitset<1>>()};
51  BSPtr1 m_I_eEmTobs_dv{std::make_shared<std::bitset<1>>()};
52  BSPtr1 m_I_eTauTobs_dv{std::make_shared<std::bitset<1>>()};
53  BSPtr1 m_I_jJetTobs_dv{std::make_shared<std::bitset<1>>()};
54  BSPtr1 m_I_jLJetTobs_dv{std::make_shared<std::bitset<1>>()};
55  BSPtr1 m_I_jTauTobs_dv{std::make_shared<std::bitset<1>>()};
56  BSPtr1 m_I_cTauTobs_dv{std::make_shared<std::bitset<1>>()};
57  BSPtr1 m_I_jEmTobs_dv{std::make_shared<std::bitset<1>>()};
58  BSPtr1 m_I_MuonTobs_dv{std::make_shared<std::bitset<1>>()};
59  BSPtr1 m_I_MetTobs_dv{std::make_shared<std::bitset<1>>()};
60  BSPtr1 m_I_jSumEtTobs_dv{std::make_shared<std::bitset<1>>()};
61  BSPtr1 m_I_EnergyTobs_dv{std::make_shared<std::bitset<1>>()};
62  BSPtr1 m_I_gLJetTobs_dv{std::make_shared<std::bitset<1>>()};
63  BSPtr1 m_I_gJetTobs_dv{std::make_shared<std::bitset<1>>()};
64  };
65 
66 
67  // note - FIFO nature is not being nodelled - there are more suitable
68  // containers for that. Here, GepAlgoHypothesisFIFO is simply
69  // a collection of GepAlgoHypothesisPortsIn objects.
70  using GepAlgoHypothesisFIFO = std::vector<GepAlgoHypothesisPortsIn>;
71 
72  std::string eEmInputTOBToString(const std::bitset<72>&);
73 
74 }
75 
76 std::ostream&
77 operator<< (std::ostream&,
79 
80 
82 
83 
84 #endif
85 
GlobalSim::GepAlgoHypothesisPortsIn::m_I_jSumEtTobs
BSPtr72 m_I_jSumEtTobs
Definition: GepAlgoHypothesisPortsIn.h:39
GlobalSim::GepAlgoHypothesisPortsIn::m_I_jEmTobs_dv
BSPtr1 m_I_jEmTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:57
GlobalSim::GepAlgoHypothesisPortsIn::m_I_eTauTobs_dv
BSPtr1 m_I_eTauTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:52
GlobalSim::eEmInputTOBToString
std::string eEmInputTOBToString(const std::bitset< 72 > &bs)
Definition: GepAlgoHypothesisPortsIn.cxx:9
GlobalSim::GepAlgoHypothesisPortsIn::m_I_MuonTobs_dv
BSPtr1 m_I_MuonTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:58
GlobalSim::GepAlgoHypothesisPortsIn::m_I_MuonTobs
BSPtr72 m_I_MuonTobs
Definition: GepAlgoHypothesisPortsIn.h:37
GlobalSim::GepAlgoHypothesisPortsIn::BSPtr72
std::shared_ptr< std::bitset< 72 > > BSPtr72
Definition: GepAlgoHypothesisPortsIn.h:20
GlobalSim::GepAlgoHypothesisPortsIn::m_I_jSumEtTobs_dv
BSPtr1 m_I_jSumEtTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:60
GlobalSim::GepAlgoHypothesisPortsIn::m_I_gJetTobs
BSPtr72 m_I_gJetTobs
Definition: GepAlgoHypothesisPortsIn.h:42
GlobalSim::GepAlgoHypothesisPortsIn::m_I_MetTobs_dv
BSPtr1 m_I_MetTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:59
GlobalSim::GepAlgoHypothesisPortsIn::m_I_GEPEmTobs
BSPtr72 m_I_GEPEmTobs
Definition: GepAlgoHypothesisPortsIn.h:22
GlobalSim::GepAlgoHypothesisPortsIn::m_I_eEmTobs_dv
BSPtr1 m_I_eEmTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:51
GlobalSim::GepAlgoHypothesisPortsIn::m_I_eEmTobs
BSPtr72 m_I_eEmTobs
Definition: GepAlgoHypothesisPortsIn.h:30
GlobalSim
AlgTool to obtain a selection of eFex RoIs read in from the event store.
Definition: dump.h:8
GlobalSim::GepAlgoHypothesisPortsIn
Definition: GepAlgoHypothesisPortsIn.h:18
GlobalSim::GepAlgoHypothesisPortsIn::m_I_jLJetTobs
BSPtr72 m_I_jLJetTobs
Definition: GepAlgoHypothesisPortsIn.h:33
GlobalSim::GepAlgoHypothesisPortsIn::m_I_jTauTobs_dv
BSPtr1 m_I_jTauTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:55
GlobalSim::GepAlgoHypothesisFIFO
std::vector< GepAlgoHypothesisPortsIn > GepAlgoHypothesisFIFO
Definition: GepAlgoHypothesisPortsIn.h:70
GlobalSim::GepAlgoHypothesisPortsIn::m_I_GEPJetTobs_dv
BSPtr1 m_I_GEPJetTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:50
GlobalSim::GepAlgoHypothesisPortsIn::m_I_gLJetTobs_dv
BSPtr1 m_I_gLJetTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:62
GlobalSim::GepAlgoHypothesisPortsIn::m_I_GEPTauTobs
BSPtr72 m_I_GEPTauTobs
Definition: GepAlgoHypothesisPortsIn.h:28
GlobalSim::GepAlgoHypothesisPortsIn::m_I_MetTobs
BSPtr72 m_I_MetTobs
Definition: GepAlgoHypothesisPortsIn.h:38
GlobalSim::GepAlgoHypothesisPortsIn::m_I_gLJetTobs
BSPtr72 m_I_gLJetTobs
Definition: GepAlgoHypothesisPortsIn.h:41
GlobalSim::GepAlgoHypothesisPortsIn::m_I_jJetTobs
BSPtr72 m_I_jJetTobs
Definition: GepAlgoHypothesisPortsIn.h:32
GlobalSim::GepAlgoHypothesisPortsIn::m_I_jEmTobs
BSPtr72 m_I_jEmTobs
Definition: GepAlgoHypothesisPortsIn.h:36
AlgoConstants.h
GlobalSim::GepAlgoHypothesisPortsIn::m_I_EnergyTobs_dv
BSPtr1 m_I_EnergyTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:61
GlobalSim::GepAlgoHypothesisPortsIn::m_I_eTauTobs
BSPtr72 m_I_eTauTobs
Definition: GepAlgoHypothesisPortsIn.h:31
CLASS_DEF
#define CLASS_DEF(NAME, CID, VERSION)
associate a clid and a version to a type eg
Definition: Control/AthenaKernel/AthenaKernel/CLASS_DEF.h:67
GlobalSim::GepAlgoHypothesisPortsIn::m_I_jLJetTobs_dv
BSPtr1 m_I_jLJetTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:54
GlobalSim::GepAlgoHypothesisPortsIn::m_I_GEPJetTobs
BSPtr72 m_I_GEPJetTobs
Definition: GepAlgoHypothesisPortsIn.h:29
GlobalSim::GepAlgoHypothesisPortsIn::m_I_EnergyTobs
BSPtr72 m_I_EnergyTobs
Definition: GepAlgoHypothesisPortsIn.h:40
operator<<
std::ostream & operator<<(std::ostream &, const GlobalSim::GepAlgoHypothesisPortsIn &)
Definition: GepAlgoHypothesisPortsIn.cxx:34
GlobalSim::GepAlgoHypothesisPortsIn::m_I_GEPEmTobs_dv
BSPtr1 m_I_GEPEmTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:48
GlobalSim::GepAlgoHypothesisPortsIn::BSPtr1
std::shared_ptr< std::bitset< 1 > > BSPtr1
Definition: GepAlgoHypothesisPortsIn.h:46
GlobalSim::GepAlgoHypothesisPortsIn::m_I_cTauTobs_dv
BSPtr1 m_I_cTauTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:56
GlobalSim::GepAlgoHypothesisPortsIn::m_I_cTauTobs
BSPtr72 m_I_cTauTobs
Definition: GepAlgoHypothesisPortsIn.h:35
CLASS_DEF.h
macros to associate a CLID to a type
GlobalSim::GepAlgoHypothesisPortsIn::m_I_jJetTobs_dv
BSPtr1 m_I_jJetTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:53
GlobalSim::GepAlgoHypothesisPortsIn::m_I_gJetTobs_dv
BSPtr1 m_I_gJetTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:63
GlobalSim::GepAlgoHypothesisPortsIn::m_I_jTauTobs
BSPtr72 m_I_jTauTobs
Definition: GepAlgoHypothesisPortsIn.h:34
GlobalSim::GepAlgoHypothesisPortsIn::m_I_GEPTauTobs_dv
BSPtr1 m_I_GEPTauTobs_dv
Definition: GepAlgoHypothesisPortsIn.h:49