FairShip
Loading...
Searching...
No Matches
DISparticle.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// SPDX-FileCopyrightText: Copyright CERN for the benefit of the SHiP
3// Collaboration
4
5#ifndef NEWMUONDIS_DISPARTICLE_H_
6#define NEWMUONDIS_DISPARTICLE_H_
7
8#include <ostream>
9
11 public:
13 pid = 0;
14 px = 0;
15 py = 0;
16 pz = 0;
17 E = 0;
18 };
20
21 int pid;
22 double px;
23 double py;
24 double pz;
25 double E;
26};
27
28inline std::ostream& operator<<(std::ostream& os, const DISparticle& p) {
29 os << "[" << p.pid << "," << p.px << "," << p.py << "," << p.pz << "," << p.E
30 << "]";
31 return os;
32}
33
34#endif // NEWMUONDIS_DISPARTICLE_H_
std::ostream & operator<<(std::ostream &os, const DISparticle &p)
Definition DISparticle.h:28