Commit 442415bd authored by Daniel Campora's avatar Daniel Campora
Browse files

Moved to unsigned, protected cpuid statement, added some includes.

parent 9b123a56
Pipeline #1654275 passed with stage
in 58 seconds
......@@ -73,7 +73,7 @@ DumpUtils::Dumps DumpFTGeometry::dumpGeometry() const
dzdy.resize(max_uniqueMat);
globaldy.resize(max_uniqueMat);
for (uint quarter = 0; quarter < det.nQuarters; quarter++) {
for (unsigned quarter = 0; quarter < det.nQuarters; quarter++) {
const auto& modules = det.quarter(quarter)->modules();
number_of_modules[quarter] = modules.size();
......
......@@ -46,7 +46,7 @@ LHCb::RawEvent AllenDecReportsToTES::operator()(const HostBuffers& host_buffers)
std::vector<unsigned int> dec_reports;
// First two words contain the TCK and taskID, then one word per HLT1 line
dec_reports.reserve(2 + host_buffers.host_number_of_hlt1_lines);
for (uint i = 0; i < 2 + host_buffers.host_number_of_hlt1_lines; i++) {
for (unsigned i = 0; i < 2 + host_buffers.host_number_of_hlt1_lines; i++) {
dec_reports.push_back(host_buffers.host_dec_reports[i]);
}
LHCb::RawEvent raw_event;
......
......@@ -60,33 +60,33 @@ std::tuple<std::vector<LHCb::Event::v2::Track>, std::vector<LHCb::Event::v2::Tra
{
// Make the consolidated tracks.
const uint i_event = 0;
const uint number_of_events = 1;
const unsigned i_event = 0;
const unsigned number_of_events = 1;
const Velo::Consolidated::Tracks velo_tracks {
(uint*) host_buffers.host_atomics_velo, (uint*) host_buffers.host_velo_track_hit_number, i_event, number_of_events};
const UT::Consolidated::ConstExtendedTracks ut_tracks {(uint*) host_buffers.host_atomics_ut,
(uint*) host_buffers.host_ut_track_hit_number,
(unsigned*) host_buffers.host_atomics_velo, (unsigned*) host_buffers.host_velo_track_hit_number, i_event, number_of_events};
const UT::Consolidated::ConstExtendedTracks ut_tracks {(unsigned*) host_buffers.host_atomics_ut,
(unsigned*) host_buffers.host_ut_track_hit_number,
(float*) host_buffers.host_ut_qop,
(uint*) host_buffers.host_ut_track_velo_indices,
(unsigned*) host_buffers.host_ut_track_velo_indices,
i_event,
number_of_events};
const SciFi::Consolidated::ConstTracks scifi_tracks {(uint*) host_buffers.host_atomics_scifi,
(uint*) host_buffers.host_scifi_track_hit_number,
const SciFi::Consolidated::ConstTracks scifi_tracks {(unsigned*) host_buffers.host_atomics_scifi,
(unsigned*) host_buffers.host_scifi_track_hit_number,
(float*) host_buffers.host_scifi_qop,
(MiniState*) host_buffers.host_scifi_states,
(uint*) host_buffers.host_scifi_track_ut_indices,
(unsigned*) host_buffers.host_scifi_track_ut_indices,
i_event,
number_of_events};
// Do the conversion
ParKalmanFilter::FittedTrack* kf_tracks = host_buffers.host_kf_tracks;
const uint number_of_tracks = scifi_tracks.number_of_tracks(i_event);
const unsigned number_of_tracks = scifi_tracks.number_of_tracks(i_event);
if (msgLevel(MSG::DEBUG)) debug() << "Number of SciFi tracks to convert = " << number_of_tracks << endmsg;
std::vector<LHCb::Event::v2::Track> forward_tracks;
forward_tracks.reserve(number_of_tracks);
std::vector<LHCb::Event::v2::Track> forward_muon_tracks;
for (uint t = 0; t < number_of_tracks; t++) {
for (unsigned t = 0; t < number_of_tracks; t++) {
ParKalmanFilter::FittedTrack track = kf_tracks[t];
auto& newTrack = forward_tracks.emplace_back();
......@@ -145,7 +145,7 @@ std::tuple<std::vector<LHCb::Event::v2::Track>, std::vector<LHCb::Event::v2::Tra
}
// add UT hits
const uint UT_track_index = scifi_tracks.ut_track(t);
const unsigned UT_track_index = scifi_tracks.ut_track(t);
std::vector<uint32_t> ut_ids = ut_tracks.get_lhcbids_for_track(host_buffers.host_ut_track_hits, UT_track_index);
for (const auto id : ut_ids) {
const LHCb::LHCbID lhcbid = LHCb::LHCbID(id);
......
......@@ -48,8 +48,8 @@ LHCb::Event::v2::RecVertices AllenPVsToRecVertexV2::operator()(
const ConditionHolders::Beamline_t& beamline) const
{
const uint i_event = 0;
const uint n_pvs = host_buffers.host_number_of_multivertex[i_event];
const unsigned i_event = 0;
const unsigned n_pvs = host_buffers.host_number_of_multivertex[i_event];
if (msgLevel(MSG::DEBUG)) debug() << "Number of PVs to convert = " << n_pvs << endmsg;
......
......@@ -35,23 +35,23 @@ std::vector<LHCb::Event::v2::Track> AllenUTToV2Tracks::operator()(const HostBuff
{
// Make the consolidated tracks.
const uint i_event = 0;
const uint number_of_events = 1;
const unsigned i_event = 0;
const unsigned number_of_events = 1;
const Velo::Consolidated::Tracks velo_tracks {
(uint*) host_buffers.host_atomics_velo, (uint*) host_buffers.host_velo_track_hit_number, i_event, number_of_events};
(unsigned*) host_buffers.host_atomics_velo, (unsigned*) host_buffers.host_velo_track_hit_number, i_event, number_of_events};
const Velo::Consolidated::States velo_states(
host_buffers.host_kalmanvelo_states, velo_tracks.total_number_of_tracks());
const uint velo_event_tracks_offset = velo_tracks.tracks_offset(i_event);
const unsigned velo_event_tracks_offset = velo_tracks.tracks_offset(i_event);
const UT::Consolidated::ConstExtendedTracks ut_tracks {(uint*) host_buffers.host_atomics_ut,
(uint*) host_buffers.host_ut_track_hit_number,
const UT::Consolidated::ConstExtendedTracks ut_tracks {(unsigned*) host_buffers.host_atomics_ut,
(unsigned*) host_buffers.host_ut_track_hit_number,
(float*) host_buffers.host_ut_qop,
(uint*) host_buffers.host_ut_track_velo_indices,
(unsigned*) host_buffers.host_ut_track_velo_indices,
i_event,
number_of_events};
const uint number_of_tracks = ut_tracks.number_of_tracks(i_event);
const unsigned number_of_tracks = ut_tracks.number_of_tracks(i_event);
std::vector<LHCb::Event::v2::Track> output;
output.reserve(number_of_tracks);
......@@ -77,7 +77,7 @@ std::vector<LHCb::Event::v2::Track> AllenUTToV2Tracks::operator()(const HostBuff
}
// set state at beamline
const uint velo_state_index = velo_event_tracks_offset + velo_track_index;
const unsigned velo_state_index = velo_event_tracks_offset + velo_track_index;
const VeloState velo_state = velo_states.get(velo_state_index);
LHCb::State closesttobeam_state;
const float qop = ut_tracks.qop(t);
......
......@@ -52,15 +52,15 @@ std::vector<LHCb::Event::v2::Track> AllenVeloToV2Tracks::operator()(const HostBu
{
// Make the consolidated tracks.
const uint i_event = 0;
const uint number_of_events = 1;
const unsigned i_event = 0;
const unsigned number_of_events = 1;
const Velo::Consolidated::Tracks velo_tracks {
(uint*) host_buffers.host_atomics_velo, (uint*) host_buffers.host_velo_track_hit_number, i_event, number_of_events};
(unsigned*) host_buffers.host_atomics_velo, (unsigned*) host_buffers.host_velo_track_hit_number, i_event, number_of_events};
const Velo::Consolidated::KalmanStates velo_states(
host_buffers.host_kalmanvelo_states, velo_tracks.total_number_of_tracks());
const uint event_tracks_offset = velo_tracks.tracks_offset(i_event);
const unsigned event_tracks_offset = velo_tracks.tracks_offset(i_event);
const uint number_of_tracks = velo_tracks.number_of_tracks(i_event);
const unsigned number_of_tracks = velo_tracks.number_of_tracks(i_event);
std::vector<LHCb::Event::v2::Track> output;
output.reserve(number_of_tracks);
......@@ -78,7 +78,7 @@ std::vector<LHCb::Event::v2::Track> AllenVeloToV2Tracks::operator()(const HostBu
}
// set state at beamline
const uint current_track_offset = event_tracks_offset + t;
const unsigned current_track_offset = event_tracks_offset + t;
const KalmanVeloState velo_state = velo_states.get(current_track_offset);
LHCb::State closesttobeam_state;
closesttobeam_state.setState(velo_state.x, velo_state.y, velo_state.z, velo_state.tx, velo_state.ty, 0.f);
......
......@@ -94,7 +94,7 @@ StatusCode RunAllen::initialize()
// Initialize stream
const bool print_memory_usage = false;
const uint start_event_offset = 0;
const unsigned start_event_offset = 0;
const size_t reserve_mb = 10; // to do: how much do we need maximally for one event?
m_stream_wrapper.reset(new StreamWrapper());
......@@ -122,7 +122,7 @@ StatusCode RunAllen::initialize()
// Get HLT1 selection names from configuration and initialize rate counters
m_line_names = configuration_reader.params()["configured_lines"];
m_hlt1_line_rates.reserve(m_stream_wrapper->number_of_hlt1_lines);
for (uint i = 0; i < m_stream_wrapper->number_of_hlt1_lines; ++i) {
for (unsigned i = 0; i < m_stream_wrapper->number_of_hlt1_lines; ++i) {
const auto it = m_line_names.find(std::to_string(i));
const std::string name = "Hlt1" + it->second + "Decision";
m_hlt1_line_rates.emplace_back(this, "Selected by " + name);
......@@ -147,8 +147,8 @@ std::tuple<bool, HostBuffers, LHCb::HltDecReports> RunAllen::operator()(
}
// initialize RuntimeOptions
const uint event_start = 0;
const uint event_end = 1;
const unsigned event_start = 0;
const unsigned event_end = 1;
const size_t slice_index = 0;
const bool mep_layout = false;
RuntimeOptions runtime_options(
......@@ -160,8 +160,8 @@ std::tuple<bool, HostBuffers, LHCb::HltDecReports> RunAllen::operator()(
m_cpu_offload,
mep_layout);
const uint buf_idx = m_n_buffers - 1;
const uint stream_index = m_number_of_streams - 1;
const unsigned buf_idx = m_n_buffers - 1;
const unsigned stream_index = m_number_of_streams - 1;
cudaError_t cuda_rv = m_stream_wrapper->run_stream(stream_index, buf_idx, runtime_options);
if (cuda_rv != cudaSuccess) {
error() << "Allen exited with errorCode " << rv << endmsg;
......@@ -191,7 +191,7 @@ std::tuple<bool, HostBuffers, LHCb::HltDecReports> RunAllen::operator()(
reports.insert(name, {dec, 0, 0, 0, dec_rep_index}).ignore(/* AUTOMATICALLY ADDED FOR gaudi/Gaudi!763 */);
}
if (msgLevel(MSG::DEBUG)) debug() << "Event selected by Allen: " << uint(filter) << endmsg;
if (msgLevel(MSG::DEBUG)) debug() << "Event selected by Allen: " << unsigned(filter) << endmsg;
return std::make_tuple(filter, *buffer, reports);
}
......
......@@ -66,11 +66,11 @@ private:
LHCb::RawBank::FTCluster,
LHCb::RawBank::Muon};
std::map<std::string, std::string> m_line_names;
const uint m_number_of_streams = 1;
const uint m_number_of_repetitions = 1;
const unsigned m_number_of_streams = 1;
const unsigned m_number_of_repetitions = 1;
const bool m_cpu_offload = true;
const uint m_n_buffers = 1;
uint m_number_of_hlt1_lines = 0;
const unsigned m_n_buffers = 1;
unsigned m_number_of_hlt1_lines = 0;
const bool m_do_check = true;
std::unique_ptr<StreamWrapper> m_stream_wrapper;
......
......@@ -10,7 +10,7 @@
void checkClustering(
const std::vector<char>& geometry,
const std::vector<char>& events,
const std::vector<uint>& event_offsets,
const std::vector<unsigned>& event_offsets,
const std::vector<std::vector<uint32_t>>& found_clusters,
float& reconstruction_efficiency,
float& clone_fraction,
......
......@@ -32,7 +32,7 @@
void checkClustering(
const std::vector<char>& geometry,
const std::vector<char>& events,
const std::vector<uint>& event_offsets,
const std::vector<unsigned>& event_offsets,
const std::vector<std::vector<uint32_t>>& found_clusters,
float& reconstruction_efficiency,
float& clone_fraction,
......@@ -53,23 +53,23 @@ void checkClustering(
}
const auto number_of_events = found_clusters.size();
uint total_number_of_reconstructible_clusters = 0;
uint number_of_reconstructed_clusters = 0;
uint number_of_correctly_reconstructed_clusters = 0;
uint number_of_clones = 0;
uint number_of_ghosts = 0;
unsigned total_number_of_reconstructible_clusters = 0;
unsigned number_of_reconstructed_clusters = 0;
unsigned number_of_correctly_reconstructed_clusters = 0;
unsigned number_of_clones = 0;
unsigned number_of_ghosts = 0;
for (uint i = 0; i < number_of_events; ++i) {
for (unsigned i = 0; i < number_of_events; ++i) {
total_number_of_reconstructible_clusters += expected_clusters[i].size();
}
for (uint i = 0; i < number_of_events; ++i) {
for (unsigned i = 0; i < number_of_events; ++i) {
number_of_reconstructed_clusters += found_clusters[i].size();
for (auto lhcb_id : found_clusters[i]) {
const uint row = lhcb_id & 0xFF;
const uint col = (lhcb_id >> 8) & 0xFF;
const uint det_sensor_chip = lhcb_id & 0xFFFF0000;
const unsigned row = lhcb_id & 0xFF;
const unsigned col = (lhcb_id >> 8) & 0xFF;
const unsigned det_sensor_chip = lhcb_id & 0xFFFF0000;
if (
std::find_if(
expected_clusters[i].begin(),
......@@ -79,8 +79,8 @@ void checkClustering(
return true;
}
else if (!just_check_ids && det_sensor_chip == (other_lhcb_id & 0xFFFF0000)) {
const uint other_row = other_lhcb_id & 0xFF;
const uint other_col = (other_lhcb_id >> 8) & 0xFF;
const unsigned other_row = other_lhcb_id & 0xFF;
const unsigned other_col = (other_lhcb_id >> 8) & 0xFF;
const float distance = (row - other_row) * (row - other_row) + (col - other_col) * (col - other_col);
if (std::sqrt(distance) < allowed_distance_error) {
return true;
......@@ -97,9 +97,9 @@ void checkClustering(
// Find clones: First create a set out of the vector
std::set<uint32_t> s(found_clusters[i].begin(), found_clusters[i].end());
for (auto lhcb_id : s) {
const uint row = lhcb_id & 0xFF;
const uint col = (lhcb_id >> 8) & 0xFF;
const uint det_sensor_chip = lhcb_id & 0xFFFF0000;
const unsigned row = lhcb_id & 0xFF;
const unsigned col = (lhcb_id >> 8) & 0xFF;
const unsigned det_sensor_chip = lhcb_id & 0xFFFF0000;
const auto cluster_repetitions = std::count_if(
found_clusters[i].begin(),
found_clusters[i].end(),
......@@ -108,8 +108,8 @@ void checkClustering(
return true;
}
else if (!just_check_ids && det_sensor_chip == (other_lhcb_id & 0xFFFF0000)) {
const uint other_row = other_lhcb_id & 0xFF;
const uint other_col = (other_lhcb_id >> 8) & 0xFF;
const unsigned other_row = other_lhcb_id & 0xFF;
const unsigned other_col = (other_lhcb_id >> 8) & 0xFF;
const float distance = (row - other_row) * (row - other_row) + (col - other_col) * (col - other_col);
if (std::sqrt(distance) < allowed_distance_error) {
return true;
......
......@@ -31,7 +31,7 @@ public:
virtual ~PVChecker();
void accumulate(MCEvents const& mc_events, PV::Vertex* rec_vertex, int* number_of_vertex, uint n_selected_events);
void accumulate(MCEvents const& mc_events, PV::Vertex* rec_vertex, int* number_of_vertex, unsigned n_selected_events);
void report(size_t n_events) const override;
......
......@@ -15,7 +15,7 @@ void PVChecker::accumulate(
MCEvents const& mc_events,
PV::Vertex* rec_vertex,
int* number_of_vertex,
uint n_selected_events)
unsigned n_selected_events)
{
passed += n_selected_events;
......@@ -54,7 +54,7 @@ void PVChecker::accumulate(
std::vector<double> vec_mc_z;
// loop over selected events
for (uint i_event = 0; i_event < n_selected_events; ++i_event) {
for (unsigned i_event = 0; i_event < n_selected_events; ++i_event) {
std::vector<PV::Vertex*> vecOfVertices;
// first fill vector with vertices
for (int i = 0; i < number_of_vertex[i_event]; i++) {
......
......@@ -9,11 +9,11 @@
void checkHlt1Rate(
const bool* decisions,
const uint* decisions_atomics,
const uint* track_offsets,
const uint* sv_offsets,
const uint selected_events,
const uint requested_events);
const unsigned* decisions_atomics,
const unsigned* track_offsets,
const unsigned* sv_offsets,
const unsigned selected_events,
const unsigned requested_events);
double binomial_error(int n, int k);
......@@ -22,9 +22,9 @@ class RateChecker : public Checker::BaseChecker {
private:
// Event counters.
std::vector<bool> m_event_decs;
std::vector<uint> m_counters;
std::vector<unsigned> m_counters;
std::vector<std::string> m_line_names;
uint m_tot;
unsigned m_tot;
public:
struct RateTag {
......@@ -40,11 +40,11 @@ public:
template<typename T>
void accumulate(
const bool* decisions,
const uint* decisions_offsets,
const uint* event_tracks_offsets,
const uint* sv_offsets,
const uint total_number_of_events,
const uint selected_number_of_events)
const unsigned* decisions_offsets,
const unsigned* event_tracks_offsets,
const unsigned* sv_offsets,
const unsigned total_number_of_events,
const unsigned selected_number_of_events)
{
const bool counters_initialized = m_counters.size() > 0;
......@@ -61,7 +61,7 @@ public:
Hlt1::TraverseLinesNames<T, Hlt1::Line>::traverse(lambda_all_tracks_fn0);
// Event loop.
for (uint i_event = 0; i_event < total_number_of_events; i_event++) {
for (unsigned i_event = 0; i_event < total_number_of_events; i_event++) {
// Initialize counters
const auto lambda_all_tracks_fn2 = [&](const unsigned long i) { m_event_decs[i] = false; };
......
......@@ -68,11 +68,11 @@ public:
std::vector<Checker::Tracks> const& tracks,
const VertexFit::TrackMVAVertex* svs,
const bool* sel_results,
const uint* sel_results_offsets,
const uint* track_offsets,
const uint* sv_offsets,
const uint*,
const uint selected_events)
const unsigned* sel_results_offsets,
const unsigned* track_offsets,
const unsigned* sv_offsets,
const unsigned*,
const unsigned selected_events)
{
if (!m_initialized_line_info) {
m_initialized_line_info = true;
......@@ -116,7 +116,7 @@ public:
m_event_pass_gec.push_back(1.);
const auto& event_tracks = tracks[i_event];
MCAssociator mcassoc {mcps};
const uint event_n_svs = sv_offsets[i_event + 1] - sv_offsets[i_event];
const unsigned event_n_svs = sv_offsets[i_event + 1] - sv_offsets[i_event];
const VertexFit::TrackMVAVertex* event_vertices = svs + sv_offsets[i_event];
// Loop over tracks.
......@@ -161,11 +161,11 @@ public:
std::vector<Checker::Tracks> const&,
const VertexFit::TrackMVAVertex*,
const bool*,
const uint*,
const uint*,
const uint*,
const uint*,
const uint)
const unsigned*,
const unsigned*,
const unsigned*,
const unsigned*,
const unsigned)
{}
#endif
......
......@@ -15,9 +15,9 @@ void RateChecker::report(const size_t requested_events) const
}
}
for (uint i_line = 0; i_line < m_line_names.size(); i_line++) {
for (unsigned i_line = 0; i_line < m_line_names.size(); i_line++) {
std::printf("%s:", m_line_names[i_line].c_str());
for (uint i = 0; i < longest_string - m_line_names[i_line].length(); ++i) {
for (unsigned i = 0; i < longest_string - m_line_names[i_line].length(); ++i) {
std::printf(" ");
}
......@@ -30,7 +30,7 @@ void RateChecker::report(const size_t requested_events) const
}
std::printf("Inclusive:");
for (uint i = 0; i < longest_string - 9; ++i) {
for (unsigned i = 0; i < longest_string - 9; ++i) {
std::printf(" ");
}
......
......@@ -19,7 +19,7 @@ struct CheckerInvoker {
MCEvents load(
std::string const mc_folder,
std::vector<std::tuple<uint, unsigned long>> const& events,
std::vector<std::tuple<unsigned, unsigned long>> const& events,
std::vector<bool> const& event_mask,
std::string const tracks_folder = "tracks",
std::string const pvs_folder = "PVs") const;
......
......@@ -37,9 +37,9 @@ namespace Checker {
} // namespace Subdetector
struct TruthCounter {
uint n_velo {0};
uint n_ut {0};
uint n_scifi {0};
unsigned n_velo {0};
unsigned n_ut {0};
unsigned n_scifi {0};
};
struct Track {
......@@ -48,7 +48,7 @@ namespace Checker {
float z, x, y, tx, ty, qop;
float first_qop, best_qop;
float chi2, chi2V, chi2T;
uint ndof, ndofV, ndofT;
unsigned ndof, ndofV, ndofT;
float kalman_ip, kalman_ip_chi2, kalman_ipx, kalman_ipy;
float kalman_docaz;
float velo_ip, velo_ip_chi2, velo_ipx, velo_ipy;
......
......@@ -12,17 +12,17 @@
#include <vector>
using LHCbID = uint;
using LHCbID = unsigned;
using LHCbIDs = std::vector<LHCbID>;
namespace lhcb_id {
enum class LHCbIDType { VELO = 0x8, UT = 0xb, FT = 0xa };
inline uint detector_type_lhcbid(const uint id) { return (uint)((id & 0xF0000000L) >> 28); }
inline unsigned detector_type_lhcbid(const unsigned id) { return (unsigned)((id & 0xF0000000L) >> 28); }
inline bool is_velo(const uint id) { return detector_type_lhcbid(id) == (uint) LHCbIDType::VELO; }
inline bool is_velo(const unsigned id) { return detector_type_lhcbid(id) == (unsigned) LHCbIDType::VELO; }
inline bool is_ut(const uint id) { return detector_type_lhcbid(id) == (uint) LHCbIDType::UT; }
inline bool is_ut(const unsigned id) { return detector_type_lhcbid(id) == (unsigned) LHCbIDType::UT; }
inline bool is_scifi(const uint id) { return detector_type_lhcbid(id) == (uint) LHCbIDType::FT; }
inline bool is_scifi(const unsigned id) { return detector_type_lhcbid(id) == (unsigned) LHCbIDType::FT; }
} // namespace lhcb_id
......@@ -21,15 +21,15 @@
/// simple MC associator
struct MCAssociator {
using LHCbIDWithIndex = std::pair<LHCbID, uint>;
using LHCbIDWithIndex = std::pair<LHCbID, unsigned>;
using AssocMap = std::vector<LHCbIDWithIndex>;
/// internal structure with index into particles and weight
struct MCParticleWithWeight {
std::size_t m_idx;
float m_w;
uint m_counter_sum;
MCParticleWithWeight(std::size_t idx, float w, uint counter_sum) : m_idx(idx), m_w(w), m_counter_sum(counter_sum) {}
unsigned m_counter_sum;
MCParticleWithWeight(std::size_t idx, float w, unsigned counter_sum) : m_idx(idx), m_w(w), m_counter_sum(counter_sum) {}
MCParticleWithWeight(const MCParticleWithWeight&) = default;
MCParticleWithWeight(MCParticleWithWeight&&) = default;
MCParticleWithWeight& operator=(const MCParticleWithWeight&) = default;
......
......@@ -27,38 +27,38 @@ float kalmanDOCAz(const ParKalmanFilter::FittedTrack& track, const PV::Vertex& v
// Velo tracks.
float ipVelo(
const Velo::Consolidated::KalmanStates& velo_kalman_states,
const uint state_index,
const unsigned state_index,
const PV::Vertex& vertex);
float ipxVelo(
const Velo::Consolidated::KalmanStates& velo_kalman_states,
const uint state_index,
const unsigned state_index,
const PV::Vertex& vertex);
float ipyVelo(
const Velo::Consolidated::KalmanStates& velo_kalman_states,
const uint state_index,
const unsigned state_index,
const PV::Vertex& vertex);
float ipChi2Velo(
const Velo::Consolidated::KalmanStates& velo_kalman_states,
const uint state_index,
const unsigned state_index,
const PV::Vertex& vertex);
float veloDOCAz(
const Velo::Consolidated::KalmanStates& velo_kalman_states,
const uint state_index,
const unsigned state_index,
const PV::Vertex& vertex);
std::vector<Checker::Tracks> prepareKalmanTracks(
const uint* velo_track_atomics,
const uint* velo_track_hit_number,
const unsigned* velo_track_atomics,
const unsigned* velo_track_hit_number,
const char* velo_track_hits,
const uint* ut_track_atomics,
const uint* ut_track_hit_number,
const unsigned* ut_track_atomics,
const unsigned* ut_track_hit_number,
const char* ut_track_hits,
const uint* ut_track_velo_indices,
const unsigned* ut_track_velo_indices,
const float* ut_qop,
const uint* scifi_track_atomics,
const uint* scifi_track_hit_number,
const unsigned* scifi_track_atomics,
const unsigned* scifi_track_hit_number,