HIPO4 C++ Library 4.4.1
Columnar I/O library for CLAS12 physics data
Loading...
Searching...
No Matches
twig::h1d Class Reference

#include <twig.h>

Collaboration diagram for twig::h1d:
[legend]

Public Member Functions

 h1d (int n, double min, double max)
 
 h1d (int __id, int n, double min, double max)
 
void id (int __id)
 
int id ()
 
void fill (double value)
 
double content (int bin)
 
void show ()
 
void setContent (int bin, double value)
 
void series (std::vector< double > &data)
 
void print ()
 

Static Public Member Functions

static h1d accumulate (std::vector< h1d > &buffer)
 
static std::vector< h1ddeclare (int count, int bins, double xmin, double xmax)
 

Protected Attributes

int hid
 
axis x
 
std::vector< double > container
 

Constructor & Destructor Documentation

◆ h1d() [1/2]

twig::h1d::h1d ( int  n,
double  min,
double  max 
)
inline

◆ h1d() [2/2]

twig::h1d::h1d ( int  __id,
int  n,
double  min,
double  max 
)
inline

Member Function Documentation

◆ id() [1/2]

void twig::h1d::id ( int  __id)
inline

◆ id() [2/2]

int twig::h1d::id ( )
inline

◆ fill()

void twig::h1d::fill ( double  value)
inline

◆ content()

double twig::h1d::content ( int  bin)
inline

◆ show()

void twig::h1d::show ( )
inline

◆ setContent()

void twig::h1d::setContent ( int  bin,
double  value 
)
inline

◆ series()

void twig::h1d::series ( std::vector< double > &  data)
inline

◆ accumulate()

static h1d twig::h1d::accumulate ( std::vector< h1d > &  buffer)
inlinestatic

◆ declare()

static std::vector< h1d > twig::h1d::declare ( int  count,
int  bins,
double  xmin,
double  xmax 
)
inlinestatic

◆ print()

void twig::h1d::print ( )
inline

Member Data Documentation

◆ hid

int twig::h1d::hid
protected

◆ x

axis twig::h1d::x
protected

◆ container

std::vector<double> twig::h1d::container
protected

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