ant
A2 ant: class-based analysis framework
ant::ClippedInterpolatorWrapper Struct Reference

#include <ClippedInterpolatorWrapper.h>

+ Collaboration diagram for ant::ClippedInterpolatorWrapper:

Classes

struct  boundsCheck_t
 

Public Types

using interpolator_ptr_t = std::unique_ptr< const ant::Interpolator2D >
 

Public Member Functions

 ClippedInterpolatorWrapper (interpolator_ptr_t i)
 
 ClippedInterpolatorWrapper ()
 
 ~ClippedInterpolatorWrapper ()
 
double GetPoint (double x, double y) const
 
void setInterpolator (interpolator_ptr_t i)
 
TH2D * getCheckHistogram (const int xBins, const int yBins)
 

Static Public Member Functions

static std::unique_ptr< const Interpolator2DmakeInterpolator (TH2D *hist)
 

Public Attributes

interpolator_ptr_t interp
 
boundsCheck_t xrange
 
boundsCheck_t yrange
 

Friends

std::ostream & operator<< (std::ostream &stream, const boundsCheck_t &o)
 
std::ostream & operator<< (std::ostream &stream, const ClippedInterpolatorWrapper &o)
 

Member Typedef Documentation

◆ interpolator_ptr_t

Constructor & Destructor Documentation

◆ ClippedInterpolatorWrapper() [1/2]

ant::ClippedInterpolatorWrapper::ClippedInterpolatorWrapper ( ClippedInterpolatorWrapper::interpolator_ptr_t  i)

◆ ClippedInterpolatorWrapper() [2/2]

ant::ClippedInterpolatorWrapper::ClippedInterpolatorWrapper ( )

◆ ~ClippedInterpolatorWrapper()

ant::ClippedInterpolatorWrapper::~ClippedInterpolatorWrapper ( )

Member Function Documentation

◆ getCheckHistogram()

TH2D * ClippedInterpolatorWrapper::getCheckHistogram ( const int  xBins,
const int  yBins 
)

◆ GetPoint()

double ant::ClippedInterpolatorWrapper::GetPoint ( double  x,
double  y 
) const

◆ makeInterpolator()

std::unique_ptr< const Interpolator2D > ClippedInterpolatorWrapper::makeInterpolator ( TH2D *  hist)
static

◆ setInterpolator()

void ant::ClippedInterpolatorWrapper::setInterpolator ( ClippedInterpolatorWrapper::interpolator_ptr_t  i)

Friends And Related Function Documentation

◆ operator<< [1/2]

std::ostream& operator<< ( std::ostream &  stream,
const boundsCheck_t o 
)
friend

◆ operator<< [2/2]

std::ostream& operator<< ( std::ostream &  stream,
const ClippedInterpolatorWrapper o 
)
friend

Member Data Documentation

◆ interp

interpolator_ptr_t ant::ClippedInterpolatorWrapper::interp

◆ xrange

boundsCheck_t ant::ClippedInterpolatorWrapper::xrange

◆ yrange

boundsCheck_t ant::ClippedInterpolatorWrapper::yrange

The documentation for this struct was generated from the following files: