|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRT_SEGMENTSTOTRACK_H
6 #define TRT_SEGMENTSTOTRACK_H
17 #include "GaudiKernel/ToolHandle.h"
83 {
this,
"TrackFitter",
"Trk::KalmanFitter/TrkKalmanFitter",
""};
86 {
this,
"ExtrapolationTool",
"Trk::Extrapolator/InDetExtrapolator",
""};
89 {
this,
"SummaryTool",
"",
""};
91 {
this,
"AssociationTool",
"",
"" };
94 {
this,
"AssociationMapName",
"",
""};
96 {
this,
"InputAssociationMapName",
"",
""};
int m_nTracksFake
Counter for fake reconstructed Track.
Property holding a SG store/key/clid from which a ReadHandle is made.
int getNumberReal(const InDet::TRT_DriftCircle *, const EventContext &ctx) const
Get the number of truth particles associated with this hit.
ToolHandle< Trk::IPRDtoTrackMapTool > m_assoTool
int nHTHits(const Trk::Track *track) const
Count number of TRT HT Hits on track.
std::map< int, int > m_MapReal
Map of hits and real tracks.
A PRD is mapped onto all contributing particles.
double getRealFractionTRT(const Trk::Track *track, const EventContext &ctx) const
Get the fraction of truth TRT hits on this Track.
SG::WriteHandleKey< TrackCollection > m_outputTrackCollectionName
Name of the TrackCollection to write out.
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< Trk::SegmentCollection > m_barrelSegments
Name of Barrel segment collection.
bool m_materialEffects
Flag to switch on Material Effects in the Fitter.
SG::ReadHandleKey< PRD_MultiTruthCollection > m_multiTruthCollectionTRTName
Name of the TRT MultiTruthCollection.
double m_noiseCut
All tracks with a TRT Noise fraction larger than this variable will be thrown away.
SG::ReadHandleKey< Trk::SegmentCollection > m_endcapSegments
Name of Endcap segment collection.
ToolHandle< Trk::ITrackFitter > m_trackFitter
The TrackFitter.
Property holding a SG store/key/clid from which a WriteHandle is made.
::StatusCode StatusCode
StatusCode definition for legacy code.
ToolHandle< Trk::IExtrapolator > m_extrapolator
The Extrapolator.
TRT_SegmentsToTrack(const std::string &name, ISvcLocator *pSvcLocator)
int nTRTHits(const Trk::Track *track) const
Count number of TRT Hits on track.
const AtlasDetectorID * m_idHelper
bool m_combineSegments
Try to combine segments from Barrel and Endcap.
Property holding a SG store/key/clid from which a WriteHandle is made.
Ensure that the ATLAS eigen extensions are properly loaded.
int m_minTRTHits
All tracks with less Hits (after the track fit) will be thrown away.
double getNoiseProbability(const Trk::Track *track) const
Get the fraction of noise TRT hits on this Track.
double m_noiseratio
average percentage of noise in real tracks
std::atomic< int > m_events
Event counter.
std::atomic< int > m_n_combined_fit
ToolHandle< Trk::IExtendedTrackSummaryTool > m_trkSummaryTool
SG::ReadHandleKey< Trk::PRDtoTrackMap > m_inputAssoMapName
key to be set to optionally store PRD to track association map
void combineSegments(const EventContext &ctx) const
SG::WriteHandleKey< TrackCollection > m_BECCollectionName
Name of the combined (TRT Barrel+EC) TrackCollection to write out.
std::map< int, int > m_MapFake
Map of hits and fake tracks.
SG::WriteHandleKey< Trk::PRDtoTrackMap > m_assoMapName
key for the PRDtoTrackMap to filled by the ambiguity score processor.
SG::ReadHandleKey< Trk::SegmentCollection > m_inputSegmentCollectionName
Name of the TrackSegment Collection to read in.
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
bool m_outlierRemoval
Flag to switch on the outlier removal in the track fitter.
int m_nTracksReal
Counter for real reconstructed Tracks.