|
ATLAS Offline Software
|
Go to the documentation of this file.
22 return StatusCode::SUCCESS;
30 std::unique_ptr<STGC_RawDataContainer> rdos = std::make_unique<STGC_RawDataContainer>(
m_idHelperSvc->stgcIdHelper().module_hash_max());
35 if(!readCondHandle.isValid()){
37 return StatusCode::FAILURE;
39 sTgcCablingMap = readCondHandle.cptr();
62 float digitTime =
digit->time();
63 if (digitTime < lowerTimeBound || digitTime >= lowerTimeBound + BCWindow * 25)
continue;
66 std::optional<Identifier> correctedChannelId = sTgcCablingMap->correctChannel(
id, msgStream());
67 if (!correctedChannelId) {
68 ATH_MSG_DEBUG(
"Channel was shifted outside its connector and is therefore not decoded into and RDO");
71 id = (*correctedChannelId);
73 bool isDead =
digit->isDead();
74 int tdo{0}, pdo{0}, relBCID{0};
75 m_calibTool->timeToTdo(ctx, digitTime,
id, tdo, relBCID);
78 static_cast<unsigned int>(tdo),
static_cast<unsigned int>(pdo), isDead,
true);
87 return StatusCode::SUCCESS;
virtual StatusCode execute(const EventContext &ctx) const override final
virtual StatusCode addCollection(const T *coll, IdentifierHash hashId) override final
insert collection into container with id hash if IDC should not take ownership of collection,...
SG::ReadHandleKey< sTgcDigitContainer > m_digitContainer
virtual StatusCode initialize() override final
SG::ReadCondHandleKey< Nsw_CablingMap > m_cablingKey
bool empty() const
Test if the key is blank.
NRpcCablingAlg reads raw condition data and writes derived condition data to the condition store.
An algorithm that can be simultaneously executed in multiple threads.
static constexpr double s_lowerTimeBound
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
StatusCode initialize(bool used=true)
ServiceHandle< Muon::IMuonIdHelperSvc > m_idHelperSvc
StatusCode record(std::unique_ptr< T > data)
Record a const object to the store.
#define ATH_MSG_WARNING(x)
ToolHandle< Muon::INSWCalibTool > m_calibTool
STGC_DigitToRDO(const std::string &name, ISvcLocator *pSvcLocator)
SG::WriteHandleKey< Muon::STGC_RawDataContainer > m_rdoContainer
bool isPresent() const
Is the referenced object present in SG?
static constexpr int s_BCWindow