rivet is hosted by Hepforge, IPPP Durham
Rivet 4.0.0
Rivet::ProjectionTreeGenerator Class Reference

Class that deals with generating projection trees (for debugging etc.) More...

#include <ProjectionTreePlotter.hh>

Public Member Functions

The vectors that store the projection tree itself.

}

{ Stores all the projections in the tree

 ProjectionTreeGenerator (const std::string &path)
 }
 
 ProjectionTreeGenerator ()
 Standard constructor.
 
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')
 
int generateProjTree (const std::vector< std::string > &analyses)
 Generate the projection tree for the supplied analyses (constructs dummy analysisHandler for you)
 
int getProjTree (const AnalysisHandler &ah)
 Get a projection tree from the supplied analysishandler.
 
void writeProjTree () const
 Save the projection tree to the path specifed by _path.
 
const std::vector< string > & getProjNames () const
 
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)
 
LoggetLog () const
 Get a logger object.
 

Detailed Description

Class that deals with generating projection trees (for debugging etc.)

Constructor & Destructor Documentation

◆ ProjectionTreeGenerator()

Rivet::ProjectionTreeGenerator::ProjectionTreeGenerator ( const std::string &  path)

}

Standard constructor with name of gv pre-supplied

Member Function Documentation

◆ getProjNames()

const std::vector< string > & Rivet::ProjectionTreeGenerator::getProjNames ( ) const
inline

Get the vector of projection names TODO: I'd have preferred a pass-by-reference solution but cython wasn't co-operating.


The documentation for this class was generated from the following file: