 |
ATLAS Offline Software
|
Go to the documentation of this file.
23 return StatusCode::SUCCESS;
42 pCopies.
reserve (photons->size());
50 Error(
"addBranches()",
51 "Error applying fudge factors to current photon");
55 "Current photon has no valid fudge factors due to out-of-range");
57 Warning(
"addBranches()",
58 "Unknown correction code %d from "
59 "ElectronPhotonShowerShapeFudgeTool",
66 pCopies.
resize (photons->size());
80 if (!pCopy) pCopy =
photon;
86 return StatusCode::SUCCESS;
void reserve(size_type n)
Attempt to preallocate enough memory for a specified number of elements.
ToolHandle< IElectronPhotonShowerShapeFudgeTool > m_fudgeMCTool
@ NEVER_TRACK_INDICES
Never track indices, regardless of the setting of the ownership policy.
SG::WriteDecorHandleKey< xAOD::PhotonContainer > m_decoratorPass
bool passOQquality(const xAOD::Photon &ph)
Helper to ease the implemmantation of the pass Quality requirements.
@ OutOfValidityRange
Input object is out of validity range.
@ Error
Some error happened during the object correction.
@ OWN_ELEMENTS
this data object owns its elements
virtual StatusCode initialize() override final
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
#define CHECK(...)
Evaluate an expression and check for errors.
void resize(size_type sz)
Resizes the collection to the specified number of elements.
SG::WriteDecorHandleKey< xAOD::PhotonContainer > m_decoratorPassDelayed
value_type push_back(value_type pElem)
Add an element to the end of the collection.
@ Ok
The correction was done successfully.
SG::ReadHandleKey< xAOD::PhotonContainer > m_containerName
Return value from object correction CP tools.
bool passOQqualityDelayed(const xAOD::Photon &ph)
Helpers to ease the implementation of the pass Quality requirements.
virtual StatusCode addBranches(const EventContext &ctx) const override final