26 declareInterface<ITrackSelectorTool>(
this);
41 return StatusCode::FAILURE;
49 return StatusCode::SUCCESS;
57 if(!
decision(track.perigeeParameters(), vertex, track.info().particleHypothesis()))
62 std::unique_ptr<Trk::TrackSummary> summaryUniquePtr;
65 summaryUniquePtr =
m_trackSumTool->summary(Gaudi::Hive::currentContext(), track);
66 summary = summaryUniquePtr.get();
69 if (
nullptr==summary) {
70 ATH_MSG_DEBUG(
"Track preselection: cannot create a track summary. This track will not pass." );
122 if (
nullptr==summary ) {
123 ATH_MSG_DEBUG(
"TrackParticleBase does not have a Track Summary. Rejected." );
126 const Trk::Track * otrack= track.originalTrack();
129 ATH_MSG_DEBUG(
"TrackParticleBase does not contain the original cosmic track. Rejected." );
179 ATH_MSG_DEBUG(
"Track preselection: Zero pointer to parameterbase* received (most likely a track without perigee). This track will not pass." );
187 if(!perigee || !perigee->covariance()) {
188 ATH_MSG_DEBUG(
"Track preselection: cannot make a measured perigee. This track will not pass." );
195 double d0 = trackParameters[
Trk::d0];
201 double z0 = trackParameters[
Trk::z0];
208 const EventContext& ctx = Gaudi::Hive::currentContext();
211 if (fieldCondObj ==
nullptr) {
241 for ( ; it!=itEnd; ++it) {
#define ATH_CHECK
Evaluate an expression and check for errors.
An STL vector of pointers that by default owns its pointed-to elements.
void getInitializedCache(MagField::AtlasFieldCache &cache) const
get B field cache for evaluation as a function of 2-d or 3-d position.
DataModel_detail::const_iterator< DataVector > const_iterator
Standard const_iterator.
Specific class to represent the SCT measurements.
RIO_OnTrack base class for Silicon detector in the InnerDetector.
virtual const Amg::Vector3D & globalPosition() const override
returns global position (gathered through Surface constraint)
Local cache for magnetic field (based on MagFieldServices/AtlasFieldSvcTLS.h)
bool solenoidOn() const
status of the magnets
Class to handle RIO On Tracks ROT) for InDet and Muons, it inherits from the common MeasurementBase.
A summary of the information contained by a track.
This class is a simplest representation of a vertex candidate.
Eigen::Matrix< double, Eigen::Dynamic, 1 > VectorX
Dynamic Vector - dynamic allocation.
ParametersT< TrackParametersDim, Charged, PerigeeSurface > Perigee
ParticleHypothesis
Enumeration for Particle hypothesis respecting the interaction with material.
ParametersBase< TrackParametersDim, Charged > TrackParameters
@ numberOfSCTHits
number of SCT holes
@ numberOfPixelHits
number of pixel layers on track with absence of hits
@ numberOfTRTHits
number of TRT outliers