5#ifndef TRKALIGNGENTOOLS_CONSTRAINEDTRACKPROVIDER_H
6#define TRKALIGNGENTOOLS_CONSTRAINEDTRACKPROVIDER_H
9#include "GaudiKernel/ToolHandle.h"
52 "Trk::GlobalChi2Fitter/InDetTrackFitter",
"normal track fitter"};
55 this,
"RunOutlierRemoval",
true,
"run outlier removal in the GX2 fitter"};
65 this,
"ReduceConstraintUncertainty", 1.,
66 "Reduce the uncertainty on the track parmater constraint by this amount"};
68 "Reduce the uncertainty on z0 track parameter constraint by this amount"};
74 DoubleProperty
m_maxd0{
this,
"Maxd0", 500.};
75 DoubleProperty
m_maxz0{
this,
"Maxz0", 500.};
76 DoubleProperty
m_minPt{
this,
"MinPt", 15.};
77 DoubleProperty
m_maxPt{
this,
"MaxPt", 100.};
80 this,
"InputTracksCollection",
"Tracks"};
82 this,
"OutputTracksCollection",
"AlignmentConstrainedTracks"};
86 this,
"MomentumConstraintFileName",
"Constraint.root"};
89 this,
"MomentumConstraintHistName",
"EtaPhiMap"};
94 this,
"d0ConstraintFileName",
"Constraint.root"};
102 this,
"z0ConstraintFileName",
"Constraint.root"};
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.
DataVector< Trk::Track > TrackCollection
This typedef represents a collection of Trk::Track objects.
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.
BooleanProperty m_CorrectMomentum
BooleanProperty m_SelectByCharge
TFile * m_constraintInputFile_z0
BooleanProperty m_doTrackSelection
DoubleProperty m_reduceConstraintUncert_z0
void getCorrectedValues_d0(const Trk::Perigee *mp, double &corrected_d0, double &corrected_d0Error)
DoubleProperty m_reduceConstraintUncertainty
BooleanProperty m_CorrectMeanD0
StringProperty m_constraintHistName_P
void getCorrectedValues_P(const Trk::Perigee *mp, double &correctedQoverP, double &correctedQoverPError)
IntegerProperty m_minTRTHits
StringProperty m_constraintHistName_d0
IntegerProperty m_minSCTHits
void getCorrectedValues_z0(const Trk::Perigee *mp, double &corrected_z0, double &corrected_z0Error)
virtual StatusCode finalize()
StringProperty m_constraintHistName_z0
bool passTrackSelection(const Trk::Track *track)
virtual void printSummary()
Print statistical summary to logfile.
BooleanProperty m_scalepmaptogev
BooleanProperty m_useConstrainedTrkOnly
Gaudi::Property< Trk::RunOutlierRemoval > m_runOutlierRemoval
int m_unconstrainedTracks
SG::ReadHandleKey< TrackCollection > m_inputKey
SG::WriteHandleKey< TrackCollection > m_outputKey
DoubleProperty m_deltaScaling
ToolHandle< IGlobalTrackFitter > m_trackFitter
ConstrainedTrackProvider(const std::string &type, const std::string &name, const IInterface *parent)
StringProperty m_constraintFileName_P
StringProperty m_constraintFileName_z0
BooleanProperty m_useConstraintError
TFile * m_constraintInputFile_P
virtual StatusCode trackCollection(const TrackCollection *&tracks)
StringProperty m_constraintFileName_d0
BooleanProperty m_CorrectZ0
TFile * m_constraintInputFile_d0
virtual StatusCode initialize()
IntegerProperty m_minPIXHits
BooleanProperty m_CorrectD0
BooleanProperty m_SelectPositive
Ensure that the ATLAS eigen extensions are properly loaded.
ParametersT< TrackParametersDim, Charged, PerigeeSurface > Perigee