#include <TgcPrepDataReplicationToolAllBCto3BC.h>
◆ anonymous enum
◆ TgcPrepDataReplicationToolAllBCto3BC()
Muon::TgcPrepDataReplicationToolAllBCto3BC::TgcPrepDataReplicationToolAllBCto3BC |
( |
const std::string & |
t, |
|
|
const std::string & |
n, |
|
|
const IInterface * |
p |
|
) |
| |
◆ ~TgcPrepDataReplicationToolAllBCto3BC()
virtual Muon::TgcPrepDataReplicationToolAllBCto3BC::~TgcPrepDataReplicationToolAllBCto3BC |
( |
| ) |
|
|
virtualdefault |
◆ convertAllBCto3BC()
StatusCode Muon::TgcPrepDataReplicationToolAllBCto3BC::convertAllBCto3BC |
( |
const EventContext & |
ctx | ) |
const |
|
private |
Definition at line 41 of file TgcPrepDataReplicationToolAllBCto3BC.cxx.
45 if(!tgcAll.isValid()) {
47 return StatusCode::FAILURE;
52 auto tgc3BCHandles =
m_3BCKeys.makeHandles(ctx);
53 for (
int ibc = 0; ibc <
BC_ALL; ibc++){
54 tgc3BCHandles.at(ibc) = std::make_unique<TgcPrepDataContainer>(
m_idHelperSvc->tgcIdHelper().module_hash_max());
60 uint16_t bcBitMap = to_copy->getBcBitMap();
61 std::array<uint16_t, BC_NUM> hasBC{0};
71 std::array<Muon::TgcPrepDataCollection*, BC_ALL> collections{};
72 for (
int ibc = 0; ibc <
BC_ALL; ibc++) {
73 collections[ibc] = Muon::IDC_Helper::getCollection<TgcPrepDataContainer, TgcIdHelper>
76 if (!hasBC[ibc])
continue;
79 collections[ibc]->push_back(newPrepData);
85 return StatusCode::SUCCESS;
◆ initialize()
StatusCode Muon::TgcPrepDataReplicationToolAllBCto3BC::initialize |
( |
| ) |
|
|
overridevirtual |
◆ makeTgcPrepData()
◆ replicate()
StatusCode Muon::TgcPrepDataReplicationToolAllBCto3BC::replicate |
( |
const EventContext & |
ctx | ) |
const |
|
overridevirtual |
◆ m_3BCKeys
◆ m_AllBCKey
◆ m_idHelperSvc
The documentation for this class was generated from the following files: