CbmRoot
Loading...
Searching...
No Matches
CbmDigiTimeslice.h
Go to the documentation of this file.
1/* Copyright (C) 2021-2022 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Volker Friese [committer] */
4
5#ifndef CBMDIGITIMESLICE_H
6#define CBMDIGITIMESLICE_H 1
7
8#include "CbmDigiData.h"
9
10#include "TimesliceDescriptor.hpp"
11
12#include <boost/serialization/access.hpp>
13
14
22
23public:
25 fles::TimesliceDescriptor fDesc;
26
29 template<class Archive>
30 void serialize(Archive& ar, const unsigned int /*version*/)
31 {
32 ar& fData;
33 ar& fDesc;
34 }
35
37 void Clear()
38 {
39 fData.Clear();
40 fDesc = fles::TimesliceDescriptor();
41 }
42};
43
44#endif /* CBMDIGITIMESLICE_H */
Collection of digis from all detector systems.
Definition CbmDigiData.h:32
void Clear()
Clear content.
Definition CbmDigiData.h:68
Collection of digis from all detector systems within one timeslice.
void serialize(Archive &ar, const unsigned int)
BOOST serializer.
CbmDigiData fData
Timeslice data.
void Clear()
Clear content.
friend class boost::serialization::access
fles::TimesliceDescriptor fDesc
Timeslice descriptor (metadata)