|
ATLAS Offline Software
|
Go to the documentation of this file.
33 return StatusCode::SUCCESS;
46 return StatusCode::SUCCESS;
51 if (
proxy->isConst()) {
57 auto store = std::make_unique<xAOD::MuonAuxContainer>();
58 muons->setStore (
store.get());
59 for (
const xAOD::Muon* oldMuon : *originalMuons) {
62 *muons->
back() = *oldMuon;
74 for (
auto muon: *muons){
79 return StatusCode::SUCCESS;
94 truthParticleLinkAcc (
muon) = truthParticleLinkAcc (*
tp);
95 truthTypeAcc (
muon) = truthTypeAcc (*
tp);
96 truthOriginAcc (
muon) = truthOriginAcc (*
tp);
def retrieve(aClass, aKey=None)
MuonContainer_v1 MuonContainer
Definition of the current "Muon container version".
Helper class to provide type-safe access to aux data.
Gaudi::Details::PropertyBase & declareProperty(Gaudi::Property< T > &t)
std::string m_containerName
The key for the output xAOD::CaloClusterContainer.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
virtual StatusCode initialize()
Function initialising the algorithm.
ServiceHandle< StoreGateSvc > & evtStore()
The standard StoreGateSvc (event store) Returns (kind of) a pointer to the StoreGateSvc.
::StatusCode StatusCode
StatusCode definition for legacy code.
Default, invalid implementation of ClassID_traits.
void fixMuon(xAOD::Muon &muon) const
const T * back() const
Access the last element in the collection as an rvalue.
MuonAODFixAlg(const std::string &name, ISvcLocator *svcLoc)
Regular algorithm constructor.
Muon_v1 Muon
Reference the current persistent version:
Helpers for checking error return status codes and reporting errors.
Helper class to provide type-safe access to aux data.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
virtual StatusCode execute()
Function executing the algorithm.
#define ATH_MSG_WARNING(x)
bool isAvailable(const ELT &e) const
Test to see if this variable exists in the store.
Class describing a TrackParticle.