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