21 declareInterface<IBoundaryCheckTool>(
this);
25 StatusCode
sc = AlgTool::initialize();
27 if (
sc.isFailure())
return sc;
47 ATH_MSG_WARNING(
"Since ITk Strip is used, m_check_bad_sct is turned off.");
50 return StatusCode::SUCCESS;
54 return AlgTool::finalize();
68 const EventContext& ctx{Gaudi::Hive::currentContext()};
97 if (parameters.covariance() !=
nullptr) {
104 Eigen::Matrix<double, 5, 1> var = parameters.covariance()->diagonal().cwiseSqrt();
124 parameters.localPosition(), phitol, etatol
185 if (siElement.
nearBondGap(parameters.localPosition(), etatol )) {
215 if (element ==
nullptr) {
229 if (siElement !=
nullptr) {
232 ATH_MSG_DEBUG(
"TrackParameters do not belong to a type of element we can process");
258 if (!
m_atlasId->is_sct(stripIdentifier)) {
264 const EventContext& ctx{Gaudi::Hive::currentContext()};
265 if (sctDetElStatus) {
#define ATH_CHECK
Evaluate an expression and check for errors.
#define ATH_MSG_WARNING(x)
This is an Identifier helper class for the SCT subdetector.
#define VALIDATE_STATUS_ARRAY(use_info, info_val, summary_val)
const ServiceHandle< StoreGateSvc > & detStore() const
Class to hold geometrical description of a silicon detector element.
bool nearBondGap(const Amg::Vector2D &localPosition, double etaTol) const
Test if near bond gap within tolerances.
class to run intersection tests
virtual IdentifierHash identifyHash() const override final
identifier hash (inline)
SiIntersect inDetector(const Amg::Vector2D &localPosition, double phiTol, double etaTol) const
Test that it is in the active region.
virtual Identifier identify() const override final
identifier of this detector element (inline)
Identifier identifierOfPosition(const Amg::Vector2D &localPos) const
Full identifier of the cell for a given position: assumes a raw local position (no Lorentz shift)
bool isChipGood(IdentifierHash hash, unsigned int chip) const
bool isCellGood(IdentifierHash hash, unsigned short cell_i) const
const_pointer_type cptr()
Dereference the pointer.
This is the base class for all tracking detector elements with read-out relevant information.
virtual DetectorElemType detectorType() const =0
Return the Detector element type.
std::vector< std::string > intersection(std::vector< std::string > &v1, std::vector< std::string > &v2)
Eigen::Matrix< double, 2, 1 > Vector2D
constexpr unsigned int getGeometricalChipID(unsigned int strip)
Get the geometrical chip ID for the given strip.
@ OnEdge
within the sensitive area of an active element
@ DeadElement
outside the element
@ Insensitive
close to the edge of an active element
@ Outside
with the insensitive area of an active element
@ Error
within the nominally active area of a dead element
@ iEta
(old readout) will be skipped
ParametersBase< TrackParametersDim, Charged > TrackParameters