|
ATLAS Offline Software
|
Go to the documentation of this file.
17 return StatusCode::SUCCESS;
23 return StatusCode::SUCCESS;
32 declareInterface<IVertexWeightCalculator>(
this);
41 <<
vertex.nTrackParticles() <<
" tracks at vertex.");
42 for (
const auto& elTrackParticle :
vertex.trackParticleLinks()) {
44 if (not elTrackParticle.isValid()) {
46 "No valid link to tracks in xAOD::Vertex object. Skipping track for "
47 "signal compatibility (may be serious).");
58 total_pt += std::fabs(1. / perigee.parameters()[
Trk::qOverP]) *
62 ATH_MSG_DEBUG(
"Calculated vertex sumpt " << std::setprecision(3) << total_pt);
SumPtVertexWeightCalculator(const std::string &t, const std::string &n, const IInterface *p)
constructor
virtual double estimateSignalCompatibility(const xAOD::Vertex &vertex) const override final
WeightCalculator.
Dummy class used to allow special convertors to be called for surfaces owned by a detector element.
#define ATH_MSG_VERBOSE(x)
virtual StatusCode finalize() override
virtual StatusCode initialize() override
::StatusCode StatusCode
StatusCode definition for legacy code.
Ensure that the ATLAS eigen extensions are properly loaded.
Class describing a Vertex.
#define ATH_MSG_WARNING(x)
Gaudi::Property< bool > m_doSumPt2Selection
Flag to Set SumPt^2 not SumPt as selection criteria.
constexpr int pow(int base, int exp) noexcept