gaps-online-software 0.10
online software for the TOF system for the GAPS experiment
Loading...
Searching...
No Matches
simclasses.h
1#ifndef SIMCLASSES_H_INCLUDED
2#define SIMCLASSES_H_INCLUDED
3
4
5
10struct SimPrimary {
11 u32 pdg;
12 f64 theta;
13 f64 phi;
14 f64 initial_energy_per_nucleon;
15 Vec<f64> energy_depositions_kev;
16 Vec<u32> volume_id;
17 Vec<f64> x;
18 Vec<f64> y;
19 Vec<f64> z;
20
21 SimPrimary();
22
23 f64 get_beta();
24
25 Vec<u8> to_bytestream();
26
27 static SimPrimary from_bytestream(const Vec<u8> &bytestream,
28 u64 &pos);
29}
30
31
32#endif
Definition simclasses.h:10