15#ifndef INDETALIGNGENALGS_ADDTRTMOMCONSTR_H
16#define INDETALIGNGENALGS_ADDTRTMOMCONSTR_H
21#include "GaudiKernel/ToolHandle.h"
50 MsgStream&
dump( MsgStream& outst )
const ;
MsgStream & operator<<(MsgStream &outst, const AddTRTMomConstr &alg)
size_t m_nRejectPM
Counter for number of tracks failing the addition of a pseudo-measurement (PM)
Trk::Track * addTRTMomentumConstraint(const Trk::Track *track)
Strips of all TRT hits from the track and replaces them with a TRT momentum constraint from a the TRT...
std::string m_trackListInput
Name of the TrackCollection (input)
double m_selPtMin
minimal pT cut value for the TrackSelection
bool m_useThetaCorrection
correct theta after TRT+PM(z0,theta) refit, small diff.
StatusCode finalize()
finalize method of this algorithm.
size_t m_nRejectSCT
Counter for number of tracks failing the min number of SCT hits req.
size_t m_nTracksProcessed
Counter for number of tracks processed.
const Trk::TrackStateOnSurface * findouterscthit(const Trk::Track *track)
Returns the outermost SCT TSOS on the given Track.
double m_selEtaCrackMax
maximum |eta| to define the transition region
const Trk::PseudoMeasurementOnTrack * createPMfromSi(const Trk::Perigee *mp)
creates a PseudoMeasurement with (z0, theta) from extended track perigee parameters
bool accept(const Trk::Track &track)
Verifies if the given track passes the track selection criteria specified via the jobOptions.
size_t m_nTracksAccepted
Counter for number of tracks passing the preselection and with PM.
std::string m_trackListOutput
Name of the TrackCollection (Output)
ToolHandle< Trk::ITrackFitter > m_trackFitter
The TrackFitter to refit the tracks (segment, momentum constraint)
AddTRTMomConstr(const std::string &name, ISvcLocator *pSvcLocator)
The AddTRTMomConstr is an implementation to add the so-called TRT momentum constraint on a track.
int m_selNHitPIXMin
minimal number of PIX hits cut value for the TrackSelection
const TRT_ID * m_trtid
Identifier helper class for the TRT.
double m_selEtaMax
maximal eta cut value for the TrackSelection
int m_selNHitTRTMinCrack
minimal number of TRT hits cut value in trans.
double m_selEtaMin
minimal eta cut value for the TrackSelection
StatusCode execute()
execute method of this algorithm that is called for each event
int m_selNHitSCTMin
minimal number of SCT hits cut value for the TrackSelection
ToolHandle< Trk::ITrackSummaryTool > m_trackSummaryTool
The summary tool to make the track selection.
double m_selEtaCrackMin
minimum |eta| to define the transition region
int m_selNHitTRTMin
minimal number of TRT hits cut value for the TrackSelection
const Trk::PseudoMeasurementOnTrack * createPMfromTRT(const Trk::Perigee *mpSi, const Trk::Perigee *mpTRT)
creates a PseudoMeasurement with (z0, theta, q/p) from TRT track perigee parameters
double m_selChiSqPerDOFMin
maximal Chisquare per degree of freedom cut value for the TrackSelection
StatusCode initialize()
initialize method of this algorithm.
size_t m_nTracksPresel
Counter for number of tracks passing the preselection.
double m_thetaCorr
theta can be different after TRT+PM fit by < o(10e-4).
bool m_applyTrkSel
apply a selection on tracks or not
size_t m_nRejectTRT
Counter for number of tracks failing the min number of TRT hits req.
size_t m_nRejectPIX
Counter for number of tracks failing the min number of PIX hits req.
const Trk::TrackStateOnSurface * findinnertrthit(const Trk::Track *track)
Returns the innermost TRT TSOS on the given Track.
const AtlasDetectorID * m_idHelper
Detector ID helper.
const Trk::MeasurementSet addPM(Trk::MeasurementSet &ms, const Trk::PseudoMeasurementOnTrack *pm)
adds a PseudoMeasurement to a MeasurementSet
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
This class provides an interface to generate or decode an identifier for the upper levels of the dete...
This is an Identifier helper class for the TRT subdetector.
Provides the abstract interface for track fitting in the common ATLAS Tracking EDM.
Class to handle pseudo-measurements in fitters and on track objects.
represents the track state (measurement, material, fit parameters and quality) at a surface.
Ensure that the ATLAS eigen extensions are properly loaded.
std::vector< const MeasurementBase * > MeasurementSet
vector of fittable measurements
ParametersT< TrackParametersDim, Charged, PerigeeSurface > Perigee