30template <
class iterator,
typename T =
float>
33 auto pattID =
c.getPatternID();
38 sig2y = dict->
getErr2X(pattID) * sig2y;
39 sig2z = dict->
getErr2Z(pattID) * sig2z;
52template <
class iterator,
typename T =
float>
55 auto pattID =
c.getPatternID();
64 cls =
static_cast<uint8_t
>(std::clamp(
clusterSize,
static_cast<unsigned int>(std::numeric_limits<uint8_t>::min()),
static_cast<unsigned int>(std::numeric_limits<uint8_t>::max())));
69 gsl::span<const unsigned char>::iterator& pattIt,
74 gsl::span<o2::itsmft::ROFRecord> rofs,
75 gsl::span<const itsmft::CompClusterExt>
clusters,
76 gsl::span<const unsigned char>::iterator& pattIt,
Definition of the ITSMFT compact cluster.
Definition of the BuildTopologyDictionary class for ITS3.
Definition of a container to keep Monte Carlo truth external to simulation objects.
Definition of the SegmentationSuperAlpide class.
Segmentation and response for pixels in ITS3 upgrade.
static constexpr float mPitchRow
static constexpr float mPitchCol
math_utils::Point3D< T > getClusterCoordinates(const itsmft::CompClusterExt &cl) const
Returns the local position of a compact cluster.
float getErr2X(int n) const
Returns the error^2 on the x position of the COG for the n_th element.
bool isGroup(int n) const
Returns true if the element corresponds to a group of rare topologies.
int getNpixels(int n) const
Returns the number of fired pixels of the n_th element.
float getErr2Z(int n) const
Returns the error^2 on the z position of the COG for the n_th element.
int getNPixels() const
Returns the number of fired pixels.
static constexpr unsigned short InvalidPatternID
constexpr float DefClusError2Row
constexpr float DefClusErrorCol
int loadROFrameDataITS3(its::TimeFrame *tf, gsl::span< o2::itsmft::ROFRecord > rofs, gsl::span< const itsmft::CompClusterExt > clusters, gsl::span< const unsigned char >::iterator &pattIt, const its3::TopologyDictionary *dict, const dataformats::MCTruthContainer< MCCompLabel > *mcLabels=nullptr)
constexpr float DefClusError2Col
void convertCompactClusters(gsl::span< const itsmft::CompClusterExt > clusters, gsl::span< const unsigned char >::iterator &pattIt, std::vector< o2::BaseCluster< float > > &output, const its3::TopologyDictionary *dict)
convert compact clusters to 3D spacepoints
constexpr float DefClusErrorRow
o2::math_utils::Point3D< T > extractClusterData(const itsmft::CompClusterExt &c, iterator &iter, const its3::TopologyDictionary *dict, T &sig2y, T &sig2z)
constexpr float DefClusError2Col
constexpr float DefClusError2Row
std::unique_ptr< GPUReconstructionTimeframe > tf
std::vector< Cluster > clusters