RDFAnalysis  0.1.1
Physics analysis with ROOT::RDataFrame
SysVarStringExpression Class Reference

Class to trigger translation of a string expression. More...

#include <SysVar.h>

Public Types

using value_type = std::string
 The translated value type. More...
 

Public Member Functions

 SysVarStringExpression (const std::string &expressionTemplate, const std::vector< std::string > &columnNames)
 Construct the expression. More...
 
std::string translate (IBranchNamer &namer, const std::string &syst)
 Return the translated expression. More...
 

Static Public Attributes

static constexpr bool is_rdf_sysvar = true
 Make sure that this is translated. More...
 

Detailed Description

Class to trigger translation of a string expression.

Member Typedef Documentation

using value_type = std::string

The translated value type.

Constructor & Destructor Documentation

SysVarStringExpression ( const std::string &  expressionTemplate,
const std::vector< std::string > &  columnNames 
)
inline

Construct the expression.

Parameters
expressionTemplateThe pseudo-functional form
columnNamesThe input variables

expressionTemplate should be returned by the IBranchNamer::expandExpression function.

Member Function Documentation

std::string translate ( IBranchNamer namer,
const std::string &  syst 
)
inline

Return the translated expression.

Field Documentation

constexpr bool is_rdf_sysvar = true
static

Make sure that this is translated.


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