2#include "Rivet/Tools/Logging.hh"
3#include "Rivet/Analysis.hh"
4#include "Rivet/Tools/Logging.hh"
5#include "Rivet/AnalysisHandler.hh"
6#include "Rivet/ProjectionHandler.hh"
8#ifndef RIVET_RivetProjectionTree_HH
9#define RIVET_RivetProjectionTree_HH
35 std::vector<Rivet::ConstProjectionPtr> _projVector;
39 std::vector<std::pair<size_t, size_t>> _edgeVector;
42 std::vector<std::string> _nameVector;
75 inline const std::vector<std::pair<size_t, size_t>>&
getEdges()
const {
The key class for coordination of Analysis objects and the event loop.
Definition AnalysisHandler.hh:29
Logging system for controlled & formatted writing to stdout.
Definition Logging.hh:10
Class that deals with generating projection trees (for debugging etc.)
Definition ProjectionTreePlotter.hh:15
ProjectionTreeGenerator()
Standard constructor.
const std::vector< string > & getProjNames() const
Definition ProjectionTreePlotter.hh:70
Log & getLog() const
Get a logger object.
int generateProjTree(const std::vector< std::string > &analyses)
Generate the projection tree for the supplied analyses (constructs dummy analysisHandler for you)
void setPath(const std::string &path)
Set the path.
void setTitle(const std::string &title)
Set the title (defaults to last bit of path without '.gv')
void writeProjTree() const
Save the projection tree to the path specifed by _path.
const std::vector< std::pair< size_t, size_t > > & getEdges() const
Get the vector of edges - format pair<size_t,size_t>(start-index,end-index)
Definition ProjectionTreePlotter.hh:75
ProjectionTreeGenerator(const std::string &path)
}
int getProjTree(const AnalysisHandler &ah)
Get a projection tree from the supplied analysishandler.
Definition MC_CENT_PPB_Projections.hh:10