|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef TRKREFITALG_REFITTRACKWITHTRUTH_H
12 #define TRKREFITALG_REFITTRACKWITHTRUTH_H
16 #include "GaudiKernel/ToolHandle.h"
17 #include "GaudiKernel/ServiceHandle.h"
18 #include "GaudiKernel/MsgStream.h"
42 class ITrackSummaryTool;
43 class ITrackSelectorTool;
44 class IPRD_AssociationTool;
73 const int uniqueIdToMatch,
110 Gaudi::Property<std::vector<float> >
m_resolutionZ{
this,
"ResolutionZ", {}};
111 Gaudi::Property<std::vector<float> >
m_errorRPhi{
this,
"ErrorFactorRPhi", {}};
112 Gaudi::Property<std::vector<float> >
m_errorZ{
this,
"ErrorFactorZ", {}};
116 {
this,
"FitterTool",
"Trk::GlobalChi2Fitter/InDetTrackFitter" };
118 {
this,
"SummaryTool",
"Trk::TrackSummaryTool/InDetTrackSummaryTool" };
120 {
this,
"AssociationTool",
"Trk::PRDtoTrackMapTool" };
128 #endif //TRKREFITALG_REFITTRACKWITHTRUTH_H
Gaudi::Property< std::vector< float > > m_resolutionRPhi
This is an Identifier helper class for the Pixel subdetector. This class is a factory for creating co...
SG::ReadHandleKey< InDetSimDataCollection > m_SDOContainerName
ToolHandle< Trk::IExtendedTrackSummaryTool > m_trkSummaryTool
the track summary tool
double getPhiPosErrorFactor(int layer) const
ReFitTrackWithTruth(const std::string &name, ISvcLocator *pSvcLocator)
standard Algorithm constructor
virtual StatusCode execute() override
static bool IsClusterFromTruth(const InDet::PixelCluster *pixClus, const int uniqueIdToMatch, const InDetSimDataCollection &sdoCollection)
Gaudi::Property< bool > m_saveWrongHits
SG::ReadHandleKey< TrackCollection > m_inputTrackColName
SG::ReadHandleKey< SiHitCollection > m_siHitCollectionName
boost::thread_specific_ptr< TRandom3 > m_random
smear away!
std::vector< SiHit > matchSiHitsToCluster(const int uniqueIdToMatch, const InDet::PixelCluster *pixClus, SG::ReadHandle< AtlasHitsVector< SiHit >> &siHitCollection) const
virtual StatusCode initialize() override
const PixelID * m_pixelID
Pixel ID.
Gaudi::Property< std::vector< float > > m_errorRPhi
double getEtaPosErrorFactor(int layer) const
Gaudi::Property< std::vector< float > > m_resolutionZ
Trk::RunOutlierRemoval m_runOutlier
Property holding a SG store/key/clid from which a ReadHandle is made.
bool RunOutlierRemoval
switch to toggle quality processing after fit
Trk::ParticleHypothesis m_ParticleHypothesis
Handle class for recording to StoreGate.
Property holding a SG store/key/clid from which a WriteHandle is made.
::StatusCode StatusCode
StatusCode definition for legacy code.
SG::WriteHandleKey< TrackCollection > m_outputTrackCollectionName
double getEtaPosResolution(int layer) const
ToolHandle< Trk::IPRDtoTrackMapTool > m_assoTool
Tool to create and populate PRD to track.
Algorithm using an instance of a ITrackFitter to refit the tracks of a given pseudotrack collection a...
Ensure that the ATLAS eigen extensions are properly loaded.
Gaudi::Property< std::vector< float > > m_errorZ
SG::ReadHandleKey< TrackTruthCollection > m_truthMapName
Gaudi::Property< bool > m_rejNoiseHits
Gaudi::Property< bool > m_fixWrongHits
HepGeom::Point3D< double > smearTruthPosition(const HepGeom::Point3D< double > &orig, const int bec, const int layer_disk, const InDetDD::SiDetectorDesign *design) const
double getPhiPosResolution(int layer) const
ToolHandle< Trk::ITrackFitter > m_ITrackFitter
the refit tool
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
const AtlasDetectorID * m_idHelper
Detector ID helper.