#include <EventInfoBSErrDecorator.h>
|
Gaudi::Property< std::string > | m_prefix { this,"DecorationPrefix", "", "" } |
|
SG::ReadHandleKey< xAOD::EventInfo > | m_eventInfoKey { this, "ContainerName", "EventInfo", ""} |
|
const SCT_ID * | m_sctId = nullptr |
|
ToolHandle< ISCT_ByteStreamErrorsTool > | m_byteStreamErrTool {this, "ByteStreamErrTool", "SCT_ByteStreamErrorsTool", "Tool to retrieve SCT ByteStream Errors"} |
|
ToolHandle< ISCT_CablingTool > | m_cabling {this, "SCT_CablingTool", "SCT_CablingTool", "Tool to retrieve SCT Cabling"} |
|
std::vector< SG::WriteDecorHandleKey< xAOD::EventInfo > > | m_intDecorKeys |
|
Definition at line 33 of file EventInfoBSErrDecorator.h.
◆ EIntDecor
Enumerator |
---|
kSCT_BSErr_Ntot | |
kSCT_BSErr_bec | |
kSCT_BSErr_layer | |
kSCT_BSErr_eta | |
kSCT_BSErr_phi | |
kSCT_BSErr_side | |
kSCT_BSErr_rodid | |
kSCT_BSErr_channel | |
kSCT_BSErr_type | |
kNIntDecor | |
Definition at line 53 of file EventInfoBSErrDecorator.h.
◆ EventInfoBSErrDecorator()
DerivationFramework::EventInfoBSErrDecorator::EventInfoBSErrDecorator |
( |
const std::string & |
type, |
|
|
const std::string & |
name, |
|
|
const IInterface * |
parent |
|
) |
| |
◆ addBranches()
StatusCode DerivationFramework::EventInfoBSErrDecorator::addBranches |
( |
| ) |
const |
|
virtual |
Definition at line 70 of file EventInfoBSErrDecorator.cxx.
74 const EventContext& ctx = Gaudi::Hive::currentContext();
76 CHECK(
eventInfo.isValid() ? StatusCode::SUCCESS : StatusCode::FAILURE );
78 std::array<std::vector<int>,
kNIntDecor> scterr;
86 totalNumErrors += errorSet.size();
90 for(
const auto&
error : errorSet) {
119 assert(int_decor_handles.size() ==
kNIntDecor);
121 for(
unsigned int decorate_i=0; decorate_i<int_decor_handles.size(); ++decorate_i) {
122 int_decor_handles[decorate_i](*eventInfo) = std::move(scterr[decorate_i]);
124 return StatusCode::SUCCESS;
◆ finalize()
StatusCode DerivationFramework::EventInfoBSErrDecorator::finalize |
( |
| ) |
|
◆ initialize()
StatusCode DerivationFramework::EventInfoBSErrDecorator::initialize |
( |
| ) |
|
Definition at line 29 of file EventInfoBSErrDecorator.cxx.
33 ATH_MSG_WARNING(
"No decoration prefix name provided for the output of EventInfoBSErrDecorator!");
41 return StatusCode::FAILURE;
48 std::vector<std::string>
names;
62 return StatusCode::SUCCESS;
◆ m_byteStreamErrTool
◆ m_cabling
◆ m_eventInfoKey
◆ m_intDecorKeys
◆ m_prefix
Gaudi::Property<std::string> DerivationFramework::EventInfoBSErrDecorator::m_prefix { this,"DecorationPrefix", "", "" } |
|
private |
◆ m_sctId
const SCT_ID* DerivationFramework::EventInfoBSErrDecorator::m_sctId = nullptr |
|
private |
The documentation for this class was generated from the following files:
void createDecoratorKeys(T_Parent &parent, const SG::ReadHandleKey< T_Cont > &container_key, const std::string &prefix, const std::vector< std::string > &decor_names, std::vector< SG::WriteDecorHandleKey< T_Cont > > &decor_out)
Identifier wafer_id(int barrel_ec, int layer_disk, int phi_module, int eta_module, int side) const
For a single side of module.