|
ATLAS Offline Software
|
Go to the documentation of this file.
14 #include "GaudiKernel/Bootstrap.h"
15 #include "GaudiKernel/ISvcLocator.h"
16 #include "GaudiKernel/IMessageSvc.h"
17 #include "GaudiKernel/MsgStream.h"
24 std::vector< JetEnergyResult >&& jetEnergy,
25 std::vector< EMTauResult >&& emtau )
26 : m_RoIBResultMuCTPI( std::move(muctpi) ),
27 m_RoIBResultCTP( std::move(
ctp) ),
28 m_RoIBResultJetEnergy( std::move(jetEnergy) ),
29 m_RoIBResultEMTau( std::move(emtau) ),
35 std::vector< EMTauResult >&& emtau,
36 std::vector< JetEnergyResult >&& jetEnergy )
37 : m_RoIBResultMuCTPI(), m_RoIBResultCTP( std::move(
ctp) ),
38 m_RoIBResultJetEnergy( std::move(jetEnergy) ), m_RoIBResultEMTau( std::move(emtau) ),
39 m_RoIBResultL1Topo() {
44 : m_RoIBResultMuCTPI(), m_RoIBResultCTP( std::move(
ctp) ),
45 m_RoIBResultJetEnergy(), m_RoIBResultEMTau( std::move(emtau) ),
46 m_RoIBResultL1Topo() {
50 : m_RoIBResultMuCTPI(), m_RoIBResultCTP( std::move(
ctp) ),
51 m_RoIBResultJetEnergy(), m_RoIBResultEMTau(),
52 m_RoIBResultL1Topo() {
77 m_RoIBResultL1Topo = std::move(vL1TopoResult);
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() <<
"] ";
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;
128 SmartIF<IMessageSvc>
msgSvc{Gaudi::svcLocator()->service(
"MessageSvc")};
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;
172 overflowMask |= ((statusInfo & LRS_bitMask) != 0)?
emLink[link] : 0;
186 overflowMask |= ((statusInfo & LRS_bitMask) != 0)?
jLink[link] : 0;
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)
void dumpData() const
print object content to default message stream
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.
Class holding the LVL1 CTP result used by the RoIBuilder.
std::vector< JetEnergyResult > m_RoIBResultJetEnergy
result from calo system: JetEnergy
const std::string dump() const
dump raw object content to string
Namespace of the LVL1 RoIB simulation.
const std::string dump() const
dump raw object content to string
RoIBResult()=default
default constructor: empty object
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 print(const bool longFormat=false) const
print object content in a human readable format to string
const std::string dump() const
dump raw object content to string
unsigned int GetOverflowMask(bool setMu, bool setEM, bool setJE) const
Class holding the RoIs from the MuCTPI collected by the RoIB.
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]
ROIB::Trailer models the LVL1 ROD Trailer.
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