.. _program_listing_file_larflow_KeyPoints_KPdata.h: Program Listing for File KPdata.h ================================= |exhale_lsh| :ref:`Return to documentation for file ` (``larflow/KeyPoints/KPdata.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef __KPdata_h__ #define __KPdata_h__ #include "larflow/LArFlowConstants/LArFlowConstants.h" #include #include namespace larflow { namespace keypoints { class KPdata { public: int crossingtype; std::vector imgcoord; std::vector keypt; int trackid; int pid; int vid; int is_shower; int origin; KeyPoint_t kptype; KPdata() { crossingtype = -1; imgcoord.clear(); keypt.clear(); trackid = 0; pid = 0; vid = 0; is_shower = 0; origin = -1; kptype = larflow::kNumKeyPoints; // sentinal value }; ~KPdata() {}; std::string str() const; }; bool kpdata_compare_x( const KPdata* lhs, const KPdata* rhs ); bool kpdata_compare_y( const KPdata* lhs, const KPdata* rhs ); bool kpdata_compare_z( const KPdata* lhs, const KPdata* rhs ); } } #endif