Commit a1cf98ae authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

new file: src/components/ParticleSvc.cpp

parent 9a2f4ddd
#include "ParticleSvc.h"
DECLARE_COMPONENT(ParticleSvc)
ParticleSvc::ParticleSvc(const std::string& name, ISvcLocator* svc) : base_class(name, svc) {}
ParticleSvc::~ParticleSvc() {}
StatusCode ParticleSvc::initialize() final
{
{
StatusCode sc = Service::initialize();
if (!sc.isSuccess())
return sc;
m_particleMap = {
{11, {11, -1, 0.000510998928}},
{-11, {-11, 1, 0.000510998928}},
{13, {13, -1, 0.105658357}},
{-13, {-13, 1, 0.105658357}},
{22, {22, 0, 0.0}},
{111, {111, 0, 0.1349766}},
{211, {211, 1, 0.1395701}},
{-211, {-211, -1, 0.1395701}},
};
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment