5#ifndef MSVTXVALIDATIONMACROUTILS_H
6#define MSVTXVALIDATIONMACROUTILS_H
11#include "GaudiKernel/SystemOfUnits.h"
36 int getNvtxBarrel(
const std::vector<Amg::Vector3D> &vertices);
54 std::vector<Amg::Vector3D>
getVertexPos(
const std::vector<double> &vtx_x,
const std::vector<double> &vtx_y,
const std::vector<double> &vtx_z);
55 std::vector<std::vector<Amg::Vector3D>>
getConstituentPos(
int Nvtx,
const std::vector<int> &obj_vtx_link,
56 const std::vector<double> &obj_x,
const std::vector<double> &obj_y,
const std::vector<double> &obj_z);
Scalar eta() const
pseudorapidity method
Eigen::Matrix< double, 3, 1 > Vector3D
int getNvtxDetectorRegion(const std::vector< Amg::Vector3D > &vertices)
constexpr double fidVol_endcaps_Lxy_up
bool isValidMatch(const Amg::Vector3D &match_candidate)
constexpr double fidVol_Lxy_low
constexpr double fidVol_barrel_etaCut
bool inFiducialVol(const Amg::Vector3D &vtx)
constexpr double fidVol_Lxy_up
int NvtxFiducialVol(const std::vector< Amg::Vector3D > &vertices)
double getMatchMetric(const Amg::Vector3D &vtx1, const Amg::Vector3D &vtx2)
constexpr double fidVol_endcaps_etaCut_low
bool isGoodVtx(const Amg::Vector3D &vtx)
bool inEndcaps(double eta)
constexpr double fidVol_endcaps_etaCut_up
bool hasMatch(const Amg::Vector3D &vtx1, const std::vector< Amg::Vector3D > &vtx2_vec)
std::vector< Amg::Vector3D > getVertexPos(const std::vector< double > &vtx_x, const std::vector< double > &vtx_y, const std::vector< double > &vtx_z)
bool inDetectorRegion(const Amg::Vector3D &vtx)
Amg::Vector3D findBestMatch(const Amg::Vector3D &vtx, const std::vector< Amg::Vector3D > &candidates)
bool inFiducialVolEndcaps(const Amg::Vector3D &vtx)
constexpr double fidVol_z_up
int getNvtxEndcaps(const std::vector< Amg::Vector3D > &vertices)
bool inBarrel(double eta)
int getNvtxBarrel(const std::vector< Amg::Vector3D > &vertices)
constexpr double match_max
bool inFiducialVolBarrel(const Amg::Vector3D &vtx)
constexpr double fidVol_z_low
std::vector< std::vector< Amg::Vector3D > > getConstituentPos(int Nvtx, const std::vector< int > &obj_vtx_link, const std::vector< double > &obj_x, const std::vector< double > &obj_y, const std::vector< double > &obj_z)