Newer
Older
// pbarpEnv class definition file. -*- C++ -*-
// Copyright 2012 Bertram Kopf
#pragma once
#include <iostream>
#include <vector>
#include <map>
#include <vector>
#include <string>
#include <sstream>
#include <boost/shared_ptr.hpp>
#include "PwaUtils/DataUtils.hh"
#include "pbarpUtils/pbarpHist.hh"
class Particle;
class ParticleTable;
class pbarpReaction;
class IsobarDecayList;
public:
static pbarpEnv* instance();
~pbarpEnv();
const float pbarMomentum() const {return _pbarMomentum;}
const int lmax() const {return _lmax;}
boost::shared_ptr<pbarpReaction> reaction() {return _pbarpReaction;}
std::vector<std::string>& spinDensityNames(){ return _spinDensity;}
std::map<std::string, short> lmaxParticleData(){ return _lmaxParticleData; }
protected:
pbarpEnv();
static pbarpEnv* _instance;
int _lmax;
float _pbarMomentum;
std::vector<std::string> _spinDensity;
std::map<std::string, short> _lmaxParticleData;