|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   21         return StatusCode::SUCCESS;
 
   25         const EventContext& ctx = Gaudi::Hive::currentContext();
 
   27         if (!tracks.isValid()) {
 
   29             return StatusCode::FAILURE;
 
   32         std::pair<std::unique_ptr<xAOD::TrackParticleContainer>, std::unique_ptr<xAOD::ShallowAuxContainer>> output =
 
   35         if (!output.first || !output.second) {
 
   37             return StatusCode::FAILURE;
 
   42             return StatusCode::FAILURE;
 
   51         ATH_CHECK(writeHandle.recordNonConst(std::move(output.first), std::move(output.second)));
 
   54         return StatusCode::SUCCESS;
 
  
ToolHandle< IMuonCalibrationAndSmearingTool > m_tool
Calibration tool handle.
virtual StatusCode initialize() override
Function initialising the algorithm.
CalibratedTracksProvider(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inputKey
track container
Gaudi::Property< bool > m_useRndNumber
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_outputKey
#define ATH_MSG_VERBOSE(x)
Select isolated Photons, Electrons and Muons.
@ Error
Some error happened during the object correction.
::StatusCode StatusCode
StatusCode definition for legacy code.
Gaudi::Property< int > m_detType
detector type of track (MS or ID)
StatusCode initialize(bool used=true)
If this object is used as a property, then this should be called during the initialize phase.
std::pair< std::unique_ptr< T >, std::unique_ptr< ShallowAuxContainer > > shallowCopyContainer(const T &cont, [[maybe_unused]] const EventContext &ctx)
Function making a shallow copy of a constant container.
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo
virtual StatusCode execute() override
Function executing the algorithm.
bool setOriginalObjectLink(const IParticle &original, IParticle ©)
This function should be used by CP tools when they make a deep copy of an object in their correctedCo...
Class describing a TrackParticle.
SG::ReadDecorHandleKey< xAOD::EventInfo > m_rndNumKey