|
ATLAS Offline Software
|
Go to the documentation of this file.
19 return StatusCode::SUCCESS;
31 if (!selHandle(*
muon)) {
34 for (
unsigned int s =0;
s <
muon->nMuonSegments(); ++
s){
36 if (seg->
container() != decorHandle.cptr()) {
38 return StatusCode::FAILURE;
40 decorHandle(*seg)= selHandle(*
muon);
43 return StatusCode::SUCCESS;
virtual StatusCode execute(const EventContext &ctx) const override final
SG::WriteDecorHandleKey< xAOD::MuonSegmentContainer > m_writeMarkKey
Key to the decoration.
std::string decorKeyFromKey(const std::string &key)
Extract the decoration part of key.
SG::ReadHandle< T > makeHandle(const SG::View *view, const SG::ReadHandleKey< T > &rhKey, const EventContext &context)
navigate from the TrigComposite to nearest view and fetch object from it
SG::ReadHandleKey< xAOD::MuonSegmentContainer > m_segKey
Key to the segment container to fetch the marked segments.
Class describing a MuonSegment.
virtual StatusCode initialize() override final
SG::ReadDecorHandleKey< xAOD::MuonContainer > m_readMarkKey
Key to the decoration to fetch the marked muons.
Handle class for reading a decoration on an object.
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
SG::ReadHandleKey< xAOD::MuonContainer > m_muonKey
Key to the primary muon container to select the muon from
This header ties the generic definitions in this package.
Handle class for reading a decoration on an object.
const SG::AuxVectorData * container() const
Return the container holding this element.
Handle class for reading from StoreGate.