29template <
class iterator,
typename T =
float>
32 auto pattID =
c.getPatternID();
40 if (!dict->
isGroup(pattID, ib)) {
52template <
class iterator,
typename T =
float>
55 auto pattID =
c.getPatternID();
65 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())));
70 gsl::span<const unsigned char>::iterator& pattIt,
75 gsl::span<o2::itsmft::ROFRecord> rofs,
76 gsl::span<const itsmft::CompClusterExt>
clusters,
77 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 SegmentationMosaix class.
static constexpr float PitchCol
static constexpr float PitchRow
math_utils::Point3D< T > getClusterCoordinates(const itsmft::CompClusterExt &cl) const
Returns the local position of a compact cluster.
float getErr2Z(int n, bool IB=true) const
Returns the error^2 on the z position of the COG for the n_th element.
int getNpixels(int n, bool IB=true) const
Returns the number of fired pixels of the n_th element.
bool isGroup(int n, bool IB=true) const
Returns true if the element corresponds to a group of rare topologies.
float getErr2X(int n, bool IB=true) const
Returns the error^2 on the x 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