Skip to content
Snippets Groups Projects
PwaEnv.hh 471 B
Newer Older
#ifndef PWAENV_HH
#define PWAENV_HH

#include <string>

class ParticleTable;
class EventList;
class DecayTree;

class PwaEnv
{

public:
  static PwaEnv& instance();
  ~PwaEnv();

  bool setup(std::string& setupFileName);

  ParticleTable* particleTable();
  EventList* beamEventList();
  EventList* mcEventList();

private:
  PwaEnv();

  ParticleTable* theParticleTable;
  DecayTree* theDecayTree;
  EventList* theBeamEventList;
  EventList* theMcEventList;

};

#endif