CbmRoot
Loading...
Searching...
No Matches
data/sts/Cluster.h
Go to the documentation of this file.
1/* Copyright (C) 2022 FIAS Frankfurt Institute for Advanced Studies, Frankfurt / Main
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Felix Weiglhofer [committer]*/
4#ifndef CBM_ALGO_DATA_STS_CLUSTER_H
5#define CBM_ALGO_DATA_STS_CLUSTER_H
6
7#include "Definitions.h"
8
9#include <boost/serialization/access.hpp>
10
11namespace cbm::algo::sts
12{
13
14 struct Cluster {
21
22 private: // serialization
24
25 template<class Archive>
26 void serialize(Archive& ar, unsigned int /*version*/)
27 {
28 ar& fCharge;
29 ar& fSize;
30 ar& fPosition;
32 ar& fTime;
33 ar& fTimeError;
34 }
35 };
36
37} // namespace cbm::algo::sts
38
39#endif // CBM_ALGO_DATA_STS_CLUSTER_H
std::int32_t i32
Definition Definitions.h:20
std::uint32_t u32
Definition Definitions.h:21
real fTimeError
Error of cluster time [ns].
real fPosition
Cluster centre in channel number units.
real fPositionError
Cluster centre error (r.m.s.) in channel number units.
void serialize(Archive &ar, unsigned int)
u32 fTime
cluster time [ns]
friend class boost::serialization::access
real fCharge
Total charge.
i32 fSize
Difference between first and last channel.