|
ATLAS Offline Software
|
Go to the documentation of this file.
15 :
EL::AnaAlgorithm(
name, svcLoc) {}
34 return StatusCode::SUCCESS;
39 const EventContext& ctx = Gaudi::Hive::currentContext();
44 return StatusCode::FAILURE;
59 caloPointingZDec(*
photon) = caloPointing.first;
64 zCommonDec(*
photon) = zCommon.first;
65 zCommonErrorDec(*
photon) = zCommon.second;
68 return StatusCode::SUCCESS;
@ VIEW_ELEMENTS
this data object is a view, it does not own its elmts
DataVector adapter that acts like it holds const pointers.
std::pair< float, float > getZCommonAndError(const xAOD::EventInfo *eventInfo, const xAOD::EgammaContainer *egammas, float convPtCut=2e3)
Return zCommon and zCommonError.
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_zCommon
const DV * asDataVector() const
Return a pointer to this object, as a const DataVector.
DecoratePhotonPointingAlg(const std::string &name, ISvcLocator *svcLoc=nullptr)
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< std::string > m_zCommonErrorDecorName
Handle class for adding a decoration to an object.
This module defines the arguments passed from the BATCH driver to the BATCH worker.
SG::ReadHandleKey< xAOD::EgammaContainer > m_photonContainerKey
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_caloPointingZ
virtual StatusCode initialize() override
virtual bool isValid() override final
Can the handle be successfully dereferenced?
ToolHandle< CP::IPhotonPointingTool > m_pointingTool
ToolHandle< CP::IPhotonVertexSelectionTool > m_photonVtxTool
value_type push_back(value_type pElem)
Add an element to the end of the collection.
StatusCode execute() override
Gaudi::Property< std::string > m_caloPointingZDecorName
SG::WriteDecorHandleKey< xAOD::EgammaContainer > m_zCommonError
DataVector adapter that acts like it holds const pointers.
Gaudi::Property< std::string > m_zCommonDecorName
SG::ReadHandleKey< xAOD::EventInfo > m_eventInKey