mirror of
https://github.com/slsdetectorgroup/aare.git
synced 2025-04-20 05:40:03 +02:00
WIP
This commit is contained in:
parent
dcedb4fb13
commit
5cde7a99b5
@ -41,9 +41,10 @@ struct ClusterAnalysis {
|
||||
class ClusterFile {
|
||||
FILE *fp{};
|
||||
uint32_t m_num_left{};
|
||||
size_t m_chunk_size{};
|
||||
|
||||
public:
|
||||
ClusterFile(const std::filesystem::path &fname);
|
||||
ClusterFile(const std::filesystem::path &fname, size_t chunk_size = 1000);
|
||||
std::vector<Cluster> read_clusters(size_t n_clusters);
|
||||
std::vector<Cluster>
|
||||
read_cluster_with_cut(size_t n_clusters, double *noise_map, int nx, int ny);
|
||||
@ -54,6 +55,8 @@ class ClusterFile {
|
||||
double *eta2x, double *eta2y, double *eta3x,
|
||||
double *eta3y);
|
||||
|
||||
size_t chunk_size() const { return m_chunk_size; }
|
||||
|
||||
};
|
||||
|
||||
} // namespace aare
|
||||
|
Loading…
x
Reference in New Issue
Block a user