5#ifndef CALIBRATEDTRACKSPROVIDER_H
6#define CALIBRATEDTRACKSPROVIDER_H
11#include "GaudiKernel/ToolHandle.h"
30 virtual StatusCode
execute()
override;
37 this,
"Input",
"InDetTrackParticles",
38 " Name of the track particle container to calibrated (Optionally ExtrapolatedMuonTrackParticle)"};
40 "Name of the final container written to storegate"};
43 ToolHandle<IMuonCalibrationAndSmearingTool>
m_tool{
this,
"Tool",
"",
44 "Configured instance of the MuonMomentum and calibration tool"};
47 "Which kind of track particle container is parsed. Either the Id tracks (2) or the MS tracks(1)"};
51 "Dependency on the random run number"};
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Property< bool > m_useRndNumber
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo
ToolHandle< IMuonCalibrationAndSmearingTool > m_tool
Calibration tool handle.
SG::ReadDecorHandleKey< xAOD::EventInfo > m_rndNumKey
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_inputKey
track container
Gaudi::Property< int > m_detType
detector type of track (MS or ID)
virtual StatusCode initialize() override
Function initialising the algorithm.
CalibratedTracksProvider(const std::string &name, ISvcLocator *svcLoc)
Regular Algorithm constructor.
SG::WriteHandleKey< xAOD::TrackParticleContainer > m_outputKey
virtual StatusCode execute() override
Function executing the algorithm.
Property holding a SG store/key/clid/attr name from which a ReadDecorHandle is made.
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
Select isolated Photons, Electrons and Muons.