PandaRoot
PndMasterRunSimJSONReader.h
Go to the documentation of this file.
1 
8 #pragma once
9 
10 #include <boost/property_tree/ptree.hpp>
11 namespace pt = boost::property_tree;
12 
13 class PndMasterRunSim;
14 
15 class PndMasterRunSimJSONReader : public TObject {
16  public:
17  PndMasterRunSim *createRunSim(pt::ptree &tree);
18  int getNEvents() const { return fNEvents; }
19 
20  private:
21  int fNEvents = 0;
22 
23  ClassDef(PndMasterRunSimJSONReader, 1);
24 };
Class to generate a PndMasterRunSim object from a configuration JSON file.
PndMasterRunSim * createRunSim(pt::ptree &tree)
Class for the master simulation chain.