|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef INDETPHYSVALMONITORING_InDetPhysHitDecoratorAlg_H
6 #define INDETPHYSVALMONITORING_InDetPhysHitDecoratorAlg_H
17 #include "GaudiKernel/ToolHandle.h"
20 #include "GaudiKernel/EventContext.h"
31 class ITrackHoleSearchTool;
32 class IResidualPullCalculator;
64 ToolHandle<ISiLorentzAngleTool>
m_lorentzAngleTool{
this,
"LorentzAngleTool",
"SiLorentzAngleTool",
"Tool to retrieve Lorentz angle"};
96 {
this,
"TrackParticleContainerName",
"InDetTrackParticles",
""};
98 std::vector<SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> >
m_intDecor;
99 std::vector<SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> >
m_uint64Decor;
100 std::vector<SG::WriteDecorHandleKey<xAOD::TrackParticleContainer> >
m_floatDecor;
103 {
this,
"Prefix",
"",
"Decoration prefix to avoid clashes."};
117 bool &isUnbiased)
const;
ToolHandle< Trk::ITrackHoleSearchTool > m_holeSearchTool
constexpr ParticleHypothesis particle[PARTICLEHYPOTHESES]
the array of masses
virtual StatusCode finalize() override
virtual ~InDetPhysHitDecoratorAlg()
ToolHandle< Trk::IResidualPullCalculator > m_residualPullCalculator
const AtlasDetectorID * m_idHelper
virtual StatusCode execute(const EventContext &ctx) const override
ToolHandle< Trk::IUpdator > m_updatorHandle
Gaudi::Property< std::string > m_prefix
An algorithm that can be simultaneously executed in multiple threads.
::StatusCode StatusCode
StatusCode definition for legacy code.
Handle class for adding a decoration to an object.
virtual StatusCode initialize() override
Handle class for adding a decoration to an object.
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trkParticleName
bool decorateTrack(const xAOD::TrackParticle &particle, std::vector< SG::WriteDecorHandle< xAOD::TrackParticleContainer, std::vector< float > > > &float_decor, std::vector< SG::WriteDecorHandle< xAOD::TrackParticleContainer, std::vector< int > > > &int_decor, std::vector< SG::WriteDecorHandle< xAOD::TrackParticleContainer, std::vector< uint64_t > > > &uint64_decor) const
const Trk::TrackParameters * getUnbiasedTrackParameters(const Trk::TrackParameters *trkParameters, const Trk::MeasurementBase *measurement, bool &isUnbiased) const
std::vector< SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > > m_floatDecor
Ensure that the ATLAS eigen extensions are properly loaded.
std::atomic< bool > m_alreadyWarned
ToolHandle< ISiLorentzAngleTool > m_lorentzAngleTool
InDetPhysHitDecoratorAlg(const std::string &name, ISvcLocator *pSvcLocator)
const PixelID * m_pixelID
bool decideDetectorRegion(const Identifier &id, Subdetector &det, Region &r, int &layer) const
std::vector< SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > > m_intDecor
Class describing a TrackParticle.
std::vector< SG::WriteDecorHandleKey< xAOD::TrackParticleContainer > > m_uint64Decor
This class provides an interface to generate or decode an identifier for the upper levels of the dete...