Project
Loading...
Searching...
No Matches
MonopoleParticles.h
Go to the documentation of this file.
1// Copyright 2019-2026 CERN and copyright holders of ALICE O2.
2// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3// All rights not expressly granted are reserved.
4//
5// This software is distributed under the terms of the GNU General Public
6// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7//
8// In applying this license CERN does not waive the privileges and immunities
9// granted to it by virtue of its status as an Intergovernmental Organization
10// or submit itself to any jurisdiction.
11
20
21#ifndef ALICEO2_SIMULATION_MONOPOLEPARTICLES_H_
22#define ALICEO2_SIMULATION_MONOPOLEPARTICLES_H_
23
24namespace o2::sim
25{
26
30constexpr int MonopolePdgSymm = 4110000;
32constexpr int MonopolePdgAsymm = 4120000;
33
35constexpr double MonopoleMassDefaultGeV = 100.;
36
38constexpr bool isMonopole(int pdg) noexcept
39{
40 const int abspdg = pdg < 0 ? -pdg : pdg;
41 return abspdg == MonopolePdgSymm || abspdg == MonopolePdgAsymm;
42}
43
44} // namespace o2::sim
45
46#endif
constexpr int MonopolePdgSymm
constexpr bool isMonopole(int pdg) noexcept
true for the monopole and antimonopole of both species
constexpr int MonopolePdgAsymm
monopole intended to carry opposite electric and magnetic charge (not yet distinguished)
constexpr double MonopoleMassDefaultGeV
Default monopole mass in GeV.