Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// AbsEnv class definition file. -*- C++ -*-
// Copyright 2013 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"
class Particle;
class ParticleTable;
class IsobarDecayList;
class ParserBase;
class AbsEnv {
public:
~AbsEnv();
void setup(ParserBase* theParser);
ParticleTable* particleTable() {return _particleTable;}
const int noFinalStateParticles() {return _noFinalStateParticles;}
std::vector<Particle*> finalStateParticles() {return _finalStateParticles;}
std::vector<std::pair<Particle*, Particle*> > producedParticlePairs() {return _producedParticlePairs;}
boost::shared_ptr<IsobarDecayList> decayList() {return _decList;}
boost::shared_ptr<IsobarDecayList> prodDecayList() {return _prodDecList;}
const std::string outputFileNameSuffix() const {return _outputFileNameSuffix;}
protected:
AbsEnv();
bool _alreadySetUp;
int _noFinalStateParticles;
ParticleTable* _particleTable;
std::vector<Particle*> _finalStateParticles;
std::vector<std::pair<Particle*, Particle*> > _producedParticlePairs;
boost::shared_ptr<IsobarDecayList> _decList;
boost::shared_ptr<IsobarDecayList> _prodDecList;
// std::vector<std::vector<std::string> > _histMassSystems;
// std::vector<boost::shared_ptr<angleHistData> > _angleHistDataVec;
std::string _outputFileNameSuffix;
};