Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
RooFit::HS3::DomainRanges Class Reference

Where RooFit takes the ranges of variables from: the "default_domain" if there is one, otherwise the first domain by name that has the variable.

The domains must outlive this object.

Definition at line 136 of file HS3Document.h.

Public Member Functions

 DomainRanges (std::vector< Domain > const &domains)
 
bool contains (std::string const &name) const
 Whether any domain has the variable.
 
DomainAxis const * find (std::string const &name) const
 The axis that defines the range of a variable, or null.
 

Private Attributes

std::set< std::string > _names
 
std::map< std::string, DomainAxis const * > _ranges
 

#include </github/home/ROOT-CI/src/roofit/hs3/src/HS3Document.h>

Constructor & Destructor Documentation

◆ DomainRanges()

RooFit::HS3::DomainRanges::DomainRanges ( std::vector< Domain > const & domains)
explicit

Definition at line 22 of file HS3Document.cxx.

Member Function Documentation

◆ contains()

bool RooFit::HS3::DomainRanges::contains ( std::string const & name) const
inline

Whether any domain has the variable.

Definition at line 142 of file HS3Document.h.

◆ find()

DomainAxis const * RooFit::HS3::DomainRanges::find ( std::string const & name) const

The axis that defines the range of a variable, or null.

Definition at line 47 of file HS3Document.cxx.

Member Data Documentation

◆ _names

std::set<std::string> RooFit::HS3::DomainRanges::_names
private

Definition at line 146 of file HS3Document.h.

◆ _ranges

std::map<std::string, DomainAxis const *> RooFit::HS3::DomainRanges::_ranges
private

Definition at line 145 of file HS3Document.h.

  • roofit/hs3/src/HS3Document.h
  • roofit/hs3/src/HS3Document.cxx