 |
ATLAS Offline Software
|
Go to the documentation of this file.
21 const std::string &
name,
25 declareInterface<IAlignTrackPreProcessor>(
this);
36 return StatusCode::FAILURE;
45 return StatusCode::FAILURE;
52 return StatusCode::FAILURE;
57 return StatusCode::FAILURE;
65 return StatusCode::FAILURE;
69 return StatusCode::FAILURE;
74 return StatusCode::SUCCESS;
80 return StatusCode::SUCCESS;
86 ATH_MSG_DEBUG(
"AlignTrackPreProcessor::processTrackCollection()");
88 if (!tracks || tracks->
empty())
100 for ( ;
it != it_end ; ++
it, ++itrk) {
102 ATH_MSG_DEBUG(
" ** processTrackCollection ** Processing track "<<itrk);
110 ATH_MSG_VERBOSE(
" ** processTrackCollection ** Original track did not pass the selection."<<itrk);
120 ATH_MSG_DEBUG(
" ** processTrackCollection ** entering the silicon hit selection ");
124 ATH_MSG_DEBUG(
" ** processTrackCollection ** Track refit yielded no track. Skipping the track.");
130 ATH_MSG_DEBUG(
" ** processTrackCollection ** Track did not pass the selection.");
143 ATH_MSG_DEBUG(
"Track refit yielded no track. Skipping the track.");
170 at->AlignTrack::setRefitQovP(
false);
180 at->AlignTrack::setRefitQovP(
false);
187 if (newTracks->
empty()) {
202 std::vector<const Trk::MeasurementBase*> selectedMeasurementSet;
210 selectedMeasurementSet.push_back( tsos->measurementOnTrack() );
213 ATH_MSG_DEBUG(
" -- performSiliconHitSelection -- hit # "<< nhits <<
" status = BAD HIT ");
216 ATH_MSG_DEBUG(
" -- performSiliconHitSelection -- after removing bad Silicon hits, the selected measurement collection has "<< selectedMeasurementSet.size()<<
" elements");
218 newTrack = (
fitter->
fit(Gaudi::Hive::currentContext(),
219 selectedMeasurementSet,
const ShapeFitter * fitter
Const iterator class for DataVector/DataList.
Amg::MatrixX * m_derivMatrix
access to the matrix of derivatives used during the latest global-chi2 track fit.
BooleanProperty m_refitTracks
const Trk::TrackStates * trackStateOnSurfaces() const
return a pointer to a const DataVector of const TrackStateOnSurfaces.
BooleanProperty m_selectTracks
bool msgLvl(const MSG::Level lvl) const
#define ATH_MSG_VERBOSE(x)
bool isSLTrack() const
method to determine whether a straight line track or not
bool fit(const LArSamples::AbsShape &data, const AbsShape &reference, double &k, double &deltaT, double &chi2, const ScaledErrorData *sed=0) const
void setFullCovarianceMatrix(const Amg::SymMatrixX *matrix)
Amg::MatrixX * m_fullCovarianceMatrix
access to the global fitter's full covariance matrix.
BooleanProperty m_selectHits
Track * performSiliconHitSelection(const Track *, const ToolHandle< Trk::IGlobalTrackFitter > &)
select silicon hits by quality.
AlignTrackPreProcessor(const std::string &type, const std::string &name, const IInterface *parent)
::StatusCode StatusCode
StatusCode definition for legacy code.
BooleanProperty m_useSingleFitter
ToolHandle< InDet::IInDetTrackSelectionTool > m_trackSelectorTool
DataVector< Track > * processTrackCollection(const DataVector< Track > *trks)
creates AlignTrack containing all TSOS on track
ToolHandle< IGlobalTrackFitter > m_trackFitterTool
IntegerProperty m_particleHypothesis
const Perigee * perigeeParameters() const
return Perigee.
Ensure that the ATLAS eigen extensions are properly loaded.
BooleanProperty m_runOutlierRemoval
represents the track state (measurement, material, fit parameters and quality) at a surface.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
BooleanProperty m_storeFitMatricesAfterRefit
const_iterator end() const noexcept
Return a const_iterator pointing past the end of the collection.
BooleanProperty m_fixMomentum
ToolHandle< IInDetAlignHitQualSelTool > m_hitQualityTool
ToolHandle< IGlobalTrackFitter > m_SLTrackFitterTool
static void dumpLessTrackInfo(const Track &track, MsgStream &msg)
dump less track information
void setDerivativeMatrix(const Amg::MatrixX *matrix)
size_type size() const noexcept
Returns the number of elements in the collection.
bool empty() const noexcept
Returns true if the collection is empty.
const_iterator begin() const noexcept
Return a const_iterator pointing at the beginning of the collection.