|
ATLAS Offline Software
|
Class holding the LVL1 RoIB result build by the RoIBuilder.
More...
#include <RoIBResult.h>
Class holding the LVL1 RoIB result build by the RoIBuilder.
RoIBResult holds the complete LVL1 information send by the
subsystems to the RoIBuilder.
RoIBResult is the L1 RDO structure.
- See also
- ROIB::Header
-
ROIB::Trailer
-
ROIB::CTPResult
-
ROIB::MuCTPIResult
-
ROIB::EMTauResult
-
ROIB::JetEnergyResult
-
ROIB::L1TopoResult
- Author
- Thomas Schoerner-Sadenius thoma.nosp@m.s.sc.nosp@m.hoern.nosp@m.er@c.nosp@m.ern.c.nosp@m.h
- Version
- $Id: RoIBResult.h,v 1.8 2008-02-01 17:07:23 efeld Exp $
Definition at line 47 of file RoIBResult.h.
◆ anonymous enum
Enumerator |
---|
EM1_DOFL | |
EM2_DOFL | |
EM3_DOFL | |
EM4_DOFL | |
J1_DOFL | |
J2_DOFL | |
MU_DOFL | |
MU_SUP1 | |
MU_SUP2 | |
MU_SOFL | |
Definition at line 93 of file RoIBResult.h.
◆ RoIBResult() [1/5]
ROIB::RoIBResult::RoIBResult |
( |
| ) |
|
|
default |
default constructor: empty object
◆ RoIBResult() [2/5]
Full move constructor, with all RODs provided.
Definition at line 22 of file RoIBResult.cxx.
◆ RoIBResult() [3/5]
◆ RoIBResult() [4/5]
Constructor for only CTP and egamma rods.
Definition at line 43 of file RoIBResult.cxx.
◆ RoIBResult() [5/5]
ROIB::RoIBResult::RoIBResult |
( |
CTPResult && |
ctp | ) |
|
◆ CheckEMLinkOverflow()
bool ROIB::RoIBResult::CheckEMLinkOverflow |
( |
unsigned int |
link | ) |
const |
|
inline |
◆ CheckEMOverflow()
bool ROIB::RoIBResult::CheckEMOverflow |
( |
| ) |
const |
|
inline |
◆ CheckJLinkOverflow()
bool ROIB::RoIBResult::CheckJLinkOverflow |
( |
unsigned int |
link | ) |
const |
|
inline |
◆ CheckJOverflow()
bool ROIB::RoIBResult::CheckJOverflow |
( |
| ) |
const |
|
inline |
◆ CheckMu1Suppression()
bool ROIB::RoIBResult::CheckMu1Suppression |
( |
| ) |
const |
|
inline |
◆ CheckMu2Suppression()
bool ROIB::RoIBResult::CheckMu2Suppression |
( |
| ) |
const |
|
inline |
◆ CheckMuOverflow()
bool ROIB::RoIBResult::CheckMuOverflow |
( |
| ) |
const |
|
inline |
◆ CheckMuSorterOverflow()
bool ROIB::RoIBResult::CheckMuSorterOverflow |
( |
| ) |
const |
|
inline |
◆ CheckOverflow()
bool ROIB::RoIBResult::CheckOverflow |
( |
| ) |
const |
|
inline |
◆ cTPResult()
◆ dump()
const std::string ROIB::RoIBResult::dump |
( |
| ) |
const |
dump raw object content to string
method used for read/write testing and T/P separation
Definition at line 80 of file RoIBResult.cxx.
84 for (std::vector< EMTauResult >::size_type
i(0);
i <
eMTauResult().size(); ++
i) {
87 for (std::vector< JetEnergyResult >::size_type
i(0);
i <
jetEnergyResult().size(); ++
i) {
93 s <<
"L1TopoResult [" << elem.dump() <<
"] ";
◆ dumpData() [1/2]
void ROIB::RoIBResult::dumpData |
( |
| ) |
const |
print object content to default message stream
Definition at line 126 of file RoIBResult.cxx.
128 SmartIF<IMessageSvc>
msgSvc{Gaudi::svcLocator()->service(
"MessageSvc")};
◆ dumpData() [2/2]
void ROIB::RoIBResult::dumpData |
( |
MsgStream & |
log | ) |
const |
print object content to given message stream
Definition at line 136 of file RoIBResult.cxx.
◆ eMTauResult()
Gets the egamma part of the L1 RDO.
Definition at line 68 of file RoIBResult.cxx.
◆ GetOverflowMask()
unsigned int ROIB::RoIBResult::GetOverflowMask |
( |
bool |
setMu, |
|
|
bool |
setEM, |
|
|
bool |
setJE |
|
) |
| const |
|
private |
Definition at line 145 of file RoIBResult.cxx.
147 const static unsigned int LRS_bitMask = 1 << 1;
148 const static unsigned int SOFL_bitMask = 1 << 19;
150 unsigned int overflowMask = 0;
158 overflowMask |= ((statusInfo & LRS_bitMask) != 0)?
MU_DOFL : 0;
162 overflowMask |= ((statusInfo & SOFL_bitMask) != 0)?
MU_SUP2 : 0;
170 uint32_t statusInfo = trailer.statusInfo();
172 overflowMask |= ((statusInfo & LRS_bitMask) != 0)?
emLink[link] : 0;
184 uint32_t statusInfo = trailer.statusInfo();
186 overflowMask |= ((statusInfo & LRS_bitMask) != 0)?
jLink[link] : 0;
◆ jetEnergyResult()
Gets the jet/energy part of the L1 RDO.
Definition at line 64 of file RoIBResult.cxx.
◆ l1TopoResult() [1/2]
◆ l1TopoResult() [2/2]
void ROIB::RoIBResult::l1TopoResult |
( |
std::vector< L1TopoResult > && |
vL1TopoResult | ) |
|
|
noexcept |
◆ muCTPIResult()
Gets the MuCTPI part of the L1 RDO.
Definition at line 56 of file RoIBResult.cxx.
◆ print()
const std::string ROIB::RoIBResult::print |
( |
const bool |
longFormat = false | ) |
const |
print object content in a human readable format to string
Definition at line 98 of file RoIBResult.cxx.
100 std::ostringstream
s;
102 for (std::vector< EMTauResult >::size_type
i(0);
i <
eMTauResult().size(); ++
i) {
103 if (
i == 0 || longFormat)
s <<
"\n EMTauResult ";
104 if (longFormat)
s << std::setw(2) <<
i;
106 if (longFormat)
s << std::endl;
108 for (std::vector< JetEnergyResult >::size_type
i(0);
i <
jetEnergyResult().size(); ++
i) {
109 if (
i == 0 || longFormat)
s <<
"\n JetEnergyResult ";
110 if (longFormat)
s << std::setw(2) <<
i;
112 if (longFormat)
s << std::endl;
115 if (longFormat)
s << std::endl;
117 if (longFormat)
s << std::endl;
119 s <<
"L1TopoResult [" << elem.dump() <<
"] ";
121 if (longFormat)
s << std::endl;
◆ anyOverflow
◆ DOFL_bitMask
constexpr static unsigned int ROIB::RoIBResult::DOFL_bitMask = 16 |
|
staticconstexpr |
◆ emLink
◆ emOverflow
◆ jLink
constexpr static unsigned int ROIB::RoIBResult::jLink[2] = {J1_DOFL, J2_DOFL} |
|
staticconstexpr |
◆ jOverflow
constexpr static unsigned int ROIB::RoIBResult::jOverflow = J1_DOFL | J2_DOFL |
|
staticconstexpr |
◆ m_RoIBResultCTP
◆ m_RoIBResultEMTau
std::vector< EMTauResult > ROIB::RoIBResult::m_RoIBResultEMTau |
|
private |
result from calo system: EmTauResult
Definition at line 143 of file RoIBResult.h.
◆ m_RoIBResultJetEnergy
result from calo system: JetEnergy
Definition at line 142 of file RoIBResult.h.
◆ m_RoIBResultL1Topo
std::vector< L1TopoResult> ROIB::RoIBResult::m_RoIBResultL1Topo |
|
private |
◆ m_RoIBResultMuCTPI
◆ SUP1_bitMask
constexpr static unsigned int ROIB::RoIBResult::SUP1_bitMask = 1 << 16 |
|
staticconstexpr |
◆ SUP2_bitMask
constexpr static unsigned int ROIB::RoIBResult::SUP2_bitMask = 1 << 17 |
|
staticconstexpr |
The documentation for this class was generated from the following files:
constexpr static unsigned int jLink[2]
std::vector< L1TopoResult > m_RoIBResultL1Topo
result from L1Topo
void dumpData() const
Function dumping the stored information to the message stream.
uint32_t statusInfo() const
get info status word (LVL1 trailer assumes only on word)
constexpr static unsigned int jOverflow
void dumpData() const
print object content to default message stream
constexpr static unsigned int emOverflow
const std::vector< JetEnergyResult > & jetEnergyResult() const
Gets the jet/energy part of the L1 RDO.
const std::string print(const bool longFormat=false) const
print object content in a human readable format to string
const std::vector< EMTauResult > & eMTauResult() const
Gets the egamma part of the L1 RDO.
std::vector< JetEnergyResult > m_RoIBResultJetEnergy
result from calo system: JetEnergy
const std::string dump() const
dump raw object content to string
MuCTPIResult m_RoIBResultMuCTPI
result from muon system
const std::vector< L1TopoResult > & l1TopoResult() const
Gets the L1Topo part of the L1 RDO.
msgSvc
Provide convenience handles for various services.
const Trailer & trailer() const
Member function returning the trailer.
const std::string dump() const
dump raw object content to string
unsigned int GetOverflowMask(bool setMu, bool setEM, bool setJE) const
constexpr static unsigned int anyOverflow
const CTPResult & cTPResult() const
Gets the CTP part of the L1 RDO.
std::vector< EMTauResult > m_RoIBResultEMTau
result from calo system: EmTauResult
constexpr static unsigned int emLink[4]
ctp
Retrieve trigger EDM objects.
constexpr static unsigned int SUP1_bitMask
const std::string print(const bool longFormat=false) const
print object content in a human readable format to string
void dumpData() const
print object content to default message stream
const MuCTPIResult & muCTPIResult() const
Gets the MuCTPI part of the L1 RDO.
CTPResult m_RoIBResultCTP
result from CTP