PandaRoot
PndMasterRunAnaJSONReader.h
Go to the documentation of this file.
1 //****************************************************************************
2 //* This file is part of PandaRoot. *
3 //* *
4 //* PandaRoot is distributed under the terms of the *
5 //* GNU General Public License (GPL) version 3, *
6 //* copied verbatim in the file "LICENSE". *
7 //* *
8 //* Copyright (C) 2006 - 2024 FAIR GmbH and copyright holders of PandaRoot *
9 //* The copyright holders are listed in the file "COPYRIGHTHOLDERS". *
10 //* The authors are listed in the file "AUTHORS". *
11 //****************************************************************************
12 
20 #pragma once
21 
22 class PndMasterRunAna;
23 
24 #include <boost/property_tree/ptree.hpp>
25 namespace pt = boost::property_tree;
26 
27 class PndMasterRunAnaJSONReader : public TObject {
28  public:
29  PndMasterRunAna *createRunAna(pt::ptree &tree, const std::string &extPrefix);
30  int getNEvents() const { return fNEvents; }
31 
32  private:
33  int fNEvents = 0;
34 
35  ClassDef(PndMasterRunAnaJSONReader, 1);
36 };
Class for the master reconstruction chain.
PndMasterRunAna * createRunAna(pt::ptree &tree, const std::string &extPrefix)
Class to generate a PndMasterRunAna object from a configuration JSON file.