19 #ifndef ATOMPROBE_IONHIT_H    20 #define ATOMPROBE_IONHIT_H    47         IonHit(
float x, 
float y, 
float z, 
float mass);
    57         void setPos(
unsigned int idx, 
float pos);
    59         void setPos(
float fX, 
float fY, 
float fZ)
    60             { pos.setValue(fX,fY,fZ);};
    69 #ifdef __LITTLE_ENDIAN__            80         static void getPoints(
const std::vector<IonHit> &ions, std::vector<Point3D> &pts);
   118         float x,y,
z,massToCharge;
   133     IonHit getIonHit() 
const ; 
   134     void getIonHit(
IonHit &h) 
const ;
 
const IonHit & operator=(const IonHit &obj)
 
friend std::ostream & operator<<(std::ostream &stream, const IonHit &)
Output streaming operator. Users (x,y,z,m) as format for output. 
 
const Point3D & getPosRef() const
 
IonHit operator+(const Point3D &obj)
 
void setPos(const Point3D &pos)
 
A 3D point data class storage. 
 
float operator[](unsigned int ui) const
 
static void getPoints(const std::vector< IonHit > &ions, std::vector< Point3D > &pts)
 
const size_t EPOS_RECORD_SIZE
 
bool operator==(const IonHit &obj) const
 
static BoundCube getIonDataLimits(const std::vector< IonHit > &points)
 
float getMassToCharge() const
 
void setPos(float fX, float fY, float fZ)
 
int getDeltaPulse()
Python convenience functions to avoid int32_t types. 
 
void setValueArr(const float *val)
Set value by pointer (X, Y, Z from array of len 3) 
 
static void getBoundCube(const std::vector< IonHit > &p, BoundCube &b)
 
Helper class to define a bounding cube. 
 
void setMassToCharge(float newMassToCharge)
 
This is a data holding class for POS file ions, from. 
 
static void getCentroid(const std::vector< IonHit > &points, Point3D ¢roid)