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;
class pbarpEventList;
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::vector<std::string> >& histMassSystems() {return _histMassSystems;}
std::vector<boost::shared_ptr<angleHistData> >& angleHistDataVec() {return _angleHistDataVec;}
protected:
pbarpEnv();
static pbarpEnv* _instance;
int _lmax;
float _pbarMomentum;
boost::shared_ptr<pbarpReaction> _pbarpReaction;
std::vector<std::vector<std::string> > _histMassSystems;
std::vector<boost::shared_ptr<angleHistData> > _angleHistDataVec;
};