|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MSVTXVALIDATIONMACROUTILS_H
6 #define MSVTXVALIDATIONMACROUTILS_H
11 #include "GaudiKernel/SystemOfUnits.h"
35 int getNvtxBarrel(
const std::vector<Amg::Vector3D> &vertices);
53 std::vector<Amg::Vector3D>
getVertexPos(
const std::vector<double> &vtx_x,
const std::vector<double> &vtx_y,
const std::vector<double> &vtx_z);
54 std::vector<std::vector<Amg::Vector3D>>
getConstituentPos(
int Nvtx,
const std::vector<int> &obj_vtx_link,
55 const std::vector<double> &obj_x,
const std::vector<double> &obj_y,
const std::vector<double> &obj_z);
58 #endif // MSVTXVALIDATIONMACROUTILS_H
double getMatchMetric(const Amg::Vector3D &vtx1, const Amg::Vector3D &vtx2)
int getNvtxDetectorRegion(const std::vector< Amg::Vector3D > &vertices)
constexpr double fidVol_endcaps_etaCut_low
std::vector< Amg::Vector3D > getVertexPos(const std::vector< double > &vtx_x, const std::vector< double > &vtx_y, const std::vector< double > &vtx_z)
constexpr double fidVol_z_low
bool isGoodVtx(const Amg::Vector3D &vtx)
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)
constexpr double fidVol_Lxy_low
constexpr double fidVol_endcaps_etaCut_up
constexpr double match_max
bool inDetectorRegion(const Amg::Vector3D &vtx)
int getNvtxBarrel(const std::vector< Amg::Vector3D > &vertices)
bool isValidMatch(const Amg::Vector3D &match_candidate)
bool inFiducialVol(const Amg::Vector3D &vtx)
bool inEndcaps(double eta)
Eigen::Matrix< double, 3, 1 > Vector3D
bool inFiducialVolEndcaps(const Amg::Vector3D &vtx)
constexpr double fidVol_z_up
bool inFiducialVolBarrel(const Amg::Vector3D &vtx)
bool inBarrel(double eta)
int NvtxFiducialVol(const std::vector< Amg::Vector3D > &vertices)
int getNvtxEndcaps(const std::vector< Amg::Vector3D > &vertices)
constexpr double fidVol_Lxy_up
Amg::Vector3D findBestMatch(const Amg::Vector3D &vtx, const std::vector< Amg::Vector3D > &candidates)
bool hasMatch(const Amg::Vector3D &vtx1, const std::vector< Amg::Vector3D > &vtx2_vec)
constexpr double fidVol_barrel_etaCut