Rivet API documentation

Rivet 4.1.3
Analysis object manipulation functions

Functions

bool Rivet::isTmpPath (const std::string &path, const bool tmp_only=false)
map< string, YODA::AnalysisObjectPtr > Rivet::getRefData (const string &papername)
string Rivet::getDatafilePath (const string &papername)
 Get the file system path to the reference file for this paper.
template<typename TPtr>
bool Rivet::bookingCompatible (TPtr a, TPtr b)
bool Rivet::bookingCompatible (CounterPtr, CounterPtr)
bool Rivet::bookingCompatible (YODA::CounterPtr, YODA::CounterPtr)
bool Rivet::bookingCompatible (Estimate0DPtr, Estimate0DPtr)
bool Rivet::bookingCompatible (YODA::Estimate0DPtr, YODA::Estimate0DPtr)
template<size_t N>
bool Rivet::bookingCompatible (ScatterNDPtr< N > a, ScatterNDPtr< N > b)
template<size_t N>
bool Rivet::bookingCompatible (YODA::ScatterNDPtr< N > a, YODA::ScatterNDPtr< N > b)
bool Rivet::beamInfoCompatible (YODA::AnalysisObjectPtr a, YODA::AnalysisObjectPtr b)

Detailed Description

Function Documentation

◆ bookingCompatible()

template<typename TPtr>
bool Rivet::bookingCompatible ( TPtr a,
TPtr b )
inline

Check if two analysis objects have the same binning or, if not binned, are in other ways compatible.

Referenced by Rivet::Analysis::addAnalysisObject(), and Rivet::Analysis::registerAO().

◆ getDatafilePath()

string Rivet::getDatafilePath ( const string & papername)

Get the file system path to the reference file for this paper.

Todo
Also provide a Scatter3D getRefData() version?

◆ getRefData()

map< string, YODA::AnalysisObjectPtr > Rivet::getRefData ( const string & papername)

Function to get a map of all the refdata in a paper with the given papername.