|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef xAODTrigMinBias_TrigHisto2D_V1_H
6 #define xAODTrigMinBias_TrigHisto2D_V1_H
31 TrigHisto2D_v1(
unsigned int nbins_x,
float min_x,
float max_x,
unsigned int nbins_y,
float min_y,
float max_y);
57 void initialize(
unsigned int nbins_x,
float min_x,
float max_x,
unsigned int nbins_y,
float min_y,
float max_y);
60 void fill(
float value_x,
float value_y,
float weight);
73 double sumEntries(
float value_x,
float value_y,
int cutType)
const;
unsigned int findBinX(float val) const
returns x bin index
std::vector< float > profileY() const
Collapse the x-axis and return a profile from the y-axis.
Base class for elements of a container that can have aux data.
float maxX() const
Return the maximum along the x-axis.
unsigned int nbinsX() const
unsigned int findBinY(float val) const
returns y bin index
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
void setContents(const std::vector< float > &cont)
contents setter
double sumEntries(float value_x, float value_y, int cutType) const
Sum the number of entries within the cut range.
void setNbinsY(unsigned int ny)
NbinsY setter.
void initialize(unsigned int nbins_x, float min_x, float max_x, unsigned int nbins_y, float min_y, float max_y)
creates empty histogram
~TrigHisto2D_v1()
Destructor.
unsigned int nbinsY() const
Return the number of bins along the y-axis, not including the under and overflow.
float minY() const
Return the minimum along the y-axis.
void setNbinsX(unsigned int nx)
NbinsX setter.
float minX() const
Return the minimum along the x-axis.
void dump()
dump() function, for testing
std::vector< float > profileX() const
Sum the number of entries within the cut range.
void fill(float value_x, float value_y, float weight)
fill histogram
float maxY() const
Return the maximum along the y-axis.
static const int EXTRA_BINS
additional bins for underflow and overflow bins
void clear()
clear m_contents vector
Base class for elements of a container that can have aux data.
const std::vector< float > & contents() const
Fill a 2D histogram.