5#ifndef AFP_SICLUSTERTOOLS_AFPSICLUSTERBASICOBJ_H
6#define AFP_SICLUSTERTOOLS_AFPSICLUSTERBASICOBJ_H 1
72 std::list<const xAOD::AFPSiHit*>&
hits() {
return m_hits;}
75 const std::list<const xAOD::AFPSiHit*>&
hits()
const {
return m_hits;}
86 std::list<const xAOD::AFPSiHit*>
m_hits;
float m_horizID
horizontal position (ID number) of the cluster (float because it can be weighted mean of hits)
std::list< const xAOD::AFPSiHit * > m_hits
list of pixels used to form the cluster
float vertID() const
vertical position (ID number) of the cluster (float because it can be weighted mean of hits)
AFPSiClusterBasicObj(const float horizID, const float vertID, const float charge, const int clusterAlgID)
Constructs object with given horizontal and vertical positions (ID numbers) and charge....
float vertIDErr() const
uncertainty of vertical position (ID number) in fraction
float horizIDErr() const
uncertainty of horizontal position (ID number) in fraction
float m_vertIDErr
uncertainty of vertical position (ID number) in fraction
double m_charge
charge of the cluster
void setClusterAlgID(const int clusterAlgID)
void setCharge(const double charge)
AFPSiClusterBasicObj(const xAOD::AFPSiHit *hit, const int clusterAlgID)
Constructs object from the hit. Horizontal and vertical errors are set to i.e. standard deviation of...
std::list< const xAOD::AFPSiHit * > & hits()
list of pixels used to form the cluster
double charge() const
charge of the cluster
const std::list< const xAOD::AFPSiHit * > & hits() const
list of pixels used to form the cluster
float m_vertID
vertical position (ID number) of the cluster (float because it can be weighted mean of hits)
int clusterAlgID() const
clustering algorithm ID number (use xAOD::AFPClusterAlgID for labels)
float horizID() const
horizontal position (ID number) of the cluster (float because it can be weighted mean of hits)
AFPSiClusterBasicObj(const float horizID, const float horizIDErr, const float vertID, const float vertIDErr, const float charge, const int clusterAlgID)
void setVertID(const float vertID)
float m_horizIDErr
uncertainty of horizontal position (ID number) in fraction
int m_clusterAlgID
clustering algorithm ID number (use xAOD::AFPClusterAlgID for labels)
void setHorizID(const float horizID)
void setVertIDErr(const float vertIDErr)
void setHorizIDErr(const float horizIDErr)