CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Attributes | Private Member Functions | Friends
PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t > Class Template Reference

#include <Histogram2D.h>

Public Types

typedef Range< AxisX_t > RangeX
 
typedef Range< AxisY_t > RangeY
 

Public Member Functions

int bin2D (int binX, int binY) const
 
Value_t binContent (int bin) const
 
Value_t binContent (int binX, int binY) const
 
Value_t binError (int bin) const
 
Value_t binError (int binX, int binY) const
 
std::pair< RangeX, RangeYbinRange (int bin) const
 
std::pair< RangeX, RangeYbinRange (int binX, int binY) const
 
RangeX binRangeX (int binX) const
 
RangeY binRangeY (int binY) const
 
bool empty () const
 
Value_t error (AxisX_t x, AxisY_t y) const
 
void fill (AxisX_t x, AxisY_t y, Value_t weight=1.0)
 
int findBin (AxisX_t x, AxisY_t y) const
 
int findBinX (AxisX_t x) const
 
int findBinY (AxisY_t y) const
 
bool hasEquidistantBinsX () const
 
bool hasEquidistantBinsY () const
 
 Histogram2D ()
 
 Histogram2D (const Histogram2D &orig)
 
template<typename OValue_t , typename OAxisX_t , typename OAxisY_t >
 Histogram2D (const Histogram2D< OValue_t, OAxisX_t, OAxisY_t > &orig)
 
 Histogram2D (const std::vector< AxisX_t > &binULimitsX, const std::vector< AxisY_t > &binULimitsY)
 
template<typename OAxisX_t , typename OAxisY_t >
 Histogram2D (const std::vector< OAxisX_t > &binULimitsX, const std::vector< OAxisY_t > &binULimitsY)
 
template<typename OAxisX_t , typename OAxisY_t >
 Histogram2D (const std::vector< OAxisX_t > &binULimitsX, unsigned int nBinsY, const PhysicsTools::Calibration::Range< OAxisY_t > &rangeY)
 
 Histogram2D (unsigned int nBinsX, AxisX_t minX, AxisX_t maxX, unsigned int nBinsY, AxisY_t minY, AxisY_t maxY)
 
template<typename OAxisX_t , typename OAxisY_t >
 Histogram2D (unsigned int nBinsX, const PhysicsTools::Calibration::Range< OAxisX_t > &rangeX, const std::vector< OAxisY_t > &binULimitsY)
 
template<typename OAxisX_t , typename OAxisY_t >
 Histogram2D (unsigned int nBinsX, const PhysicsTools::Calibration::Range< OAxisX_t > &rangeX, unsigned int nBinsY, const PhysicsTools::Calibration::Range< OAxisY_t > &rangeY)
 
Value_t normalization () const
 
Value_t normalizationX (int binY) const
 
Value_t normalizationY (int binX) const
 
Value_t normalizedError (AxisX_t x, AxisY_t y) const
 
Value_t normalizedValue (AxisX_t x, AxisY_t y) const
 
Value_t normalizedXError (AxisX_t x, AxisY_t y) const
 
Value_t normalizedXValue (AxisX_t x, AxisY_t y) const
 
Value_t normalizedYError (AxisX_t x, AxisY_t y) const
 
Value_t normalizedYValue (AxisX_t x, AxisY_t y) const
 
int numberOfBins () const
 
int numberOfBinsX () const
 
int numberOfBinsY () const
 
Histogram2Doperator= (const Histogram2D &orig)
 
template<typename OValue_t , typename OAxisX_t , typename OAxisY_t >
Histogram2Doperator= (const Histogram2D< OValue_t, OAxisX_t, OAxisY_t > &orig)
 
RangeX rangeX () const
 
RangeY rangeY () const
 
void reset ()
 
void setBinContent (int bin, Value_t value)
 
void setBinContent (int binX, int binY, Value_t value)
 
template<typename OValue_t >
void setValues (const std::vector< OValue_t > &values)
 
void setValues (const std::vector< Value_t > &values)
 
const std::vector< AxisX_t > upperLimitsX () const
 
const std::vector< AxisY_t > upperLimitsY () const
 
Value_t value (AxisX_t x, AxisY_t y) const
 
const std::vector< Value_t > & values () const
 
 ~Histogram2D ()
 

Protected Attributes

std::vector< AxisX_t > binULimitsX
 
std::vector< AxisY_t > binULimitsY
 
std::vector< Value_t > binValues
 
std::vector< Value_t > columnTotal
 
RangeX limitsX
 
RangeY limitsY
 
std::vector< Value_t > rowTotal
 
unsigned int stride
 
Value_t total
 
std::atomic< bool > totalValid
 

Private Member Functions

template<class Archive >
void serialize (Archive &ar, const unsigned int version)
 

Friends

class boost::serialization::access
 
template<typename CondSerializationT , typename Enabled >
struct cond::serialization::access
 

Detailed Description

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
class PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >

Definition at line 20 of file Histogram2D.h.

Member Typedef Documentation

◆ RangeX

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
typedef Range<AxisX_t> PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::RangeX

Definition at line 22 of file Histogram2D.h.

◆ RangeY

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
typedef Range<AxisY_t> PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::RangeY

Definition at line 23 of file Histogram2D.h.

Constructor & Destructor Documentation

◆ Histogram2D() [1/9]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::Histogram2D ( )

◆ Histogram2D() [2/9]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::Histogram2D ( const Histogram2D< Value_t, AxisX_t, AxisY_t > &  orig)

◆ Histogram2D() [3/9]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
template<typename OValue_t , typename OAxisX_t , typename OAxisY_t >
PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::Histogram2D ( const Histogram2D< OValue_t, OAxisX_t, OAxisY_t > &  orig)

◆ Histogram2D() [4/9]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::Histogram2D ( const std::vector< AxisX_t > &  binULimitsX,
const std::vector< AxisY_t > &  binULimitsY 
)

◆ Histogram2D() [5/9]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
template<typename OAxisX_t , typename OAxisY_t >
PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::Histogram2D ( const std::vector< OAxisX_t > &  binULimitsX,
const std::vector< OAxisY_t > &  binULimitsY 
)

◆ Histogram2D() [6/9]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
template<typename OAxisX_t , typename OAxisY_t >
PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::Histogram2D ( const std::vector< OAxisX_t > &  binULimitsX,
unsigned int  nBinsY,
const PhysicsTools::Calibration::Range< OAxisY_t > &  rangeY 
)

◆ Histogram2D() [7/9]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
template<typename OAxisX_t , typename OAxisY_t >
PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::Histogram2D ( unsigned int  nBinsX,
const PhysicsTools::Calibration::Range< OAxisX_t > &  rangeX,
const std::vector< OAxisY_t > &  binULimitsY 
)

◆ Histogram2D() [8/9]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
template<typename OAxisX_t , typename OAxisY_t >
PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::Histogram2D ( unsigned int  nBinsX,
const PhysicsTools::Calibration::Range< OAxisX_t > &  rangeX,
unsigned int  nBinsY,
const PhysicsTools::Calibration::Range< OAxisY_t > &  rangeY 
)

◆ Histogram2D() [9/9]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::Histogram2D ( unsigned int  nBinsX,
AxisX_t  minX,
AxisX_t  maxX,
unsigned int  nBinsY,
AxisY_t  minY,
AxisY_t  maxY 
)

◆ ~Histogram2D()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::~Histogram2D ( )

Member Function Documentation

◆ bin2D()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
int PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::bin2D ( int  binX,
int  binY 
) const
inline

◆ binContent() [1/2]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::binContent ( int  bin) const
inline

◆ binContent() [2/2]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::binContent ( int  binX,
int  binY 
) const
inline

◆ binError() [1/2]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::binError ( int  bin) const
inline

◆ binError() [2/2]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::binError ( int  binX,
int  binY 
) const
inline

◆ binRange() [1/2]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
std::pair<RangeX, RangeY> PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::binRange ( int  bin) const

◆ binRange() [2/2]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
std::pair<RangeX, RangeY> PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::binRange ( int  binX,
int  binY 
) const
inline

◆ binRangeX()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
RangeX PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::binRangeX ( int  binX) const

◆ binRangeY()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
RangeY PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::binRangeY ( int  binY) const

◆ empty()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
bool PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::empty ( ) const
inline

Definition at line 89 of file Histogram2D.h.

89 { return binValues.empty(); }

References PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::binValues.

◆ error()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::error ( AxisX_t  x,
AxisY_t  y 
) const
inline

◆ fill()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
void PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::fill ( AxisX_t  x,
AxisY_t  y,
Value_t  weight = 1.0 
)

◆ findBin()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
int PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::findBin ( AxisX_t  x,
AxisY_t  y 
) const
inline

◆ findBinX()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
int PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::findBinX ( AxisX_t  x) const

◆ findBinY()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
int PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::findBinY ( AxisY_t  y) const

◆ hasEquidistantBinsX()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
bool PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::hasEquidistantBinsX ( ) const
inline

◆ hasEquidistantBinsY()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
bool PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::hasEquidistantBinsY ( ) const
inline

◆ normalization()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::normalization ( ) const

◆ normalizationX()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::normalizationX ( int  binY) const

◆ normalizationY()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::normalizationY ( int  binX) const

◆ normalizedError()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::normalizedError ( AxisX_t  x,
AxisY_t  y 
) const
inline

◆ normalizedValue()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::normalizedValue ( AxisX_t  x,
AxisY_t  y 
) const
inline

◆ normalizedXError()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::normalizedXError ( AxisX_t  x,
AxisY_t  y 
) const

◆ normalizedXValue()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::normalizedXValue ( AxisX_t  x,
AxisY_t  y 
) const

◆ normalizedYError()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::normalizedYError ( AxisX_t  x,
AxisY_t  y 
) const

◆ normalizedYValue()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::normalizedYValue ( AxisX_t  x,
AxisY_t  y 
) const

◆ numberOfBins()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
int PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::numberOfBins ( ) const
inline

◆ numberOfBinsX()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
int PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::numberOfBinsX ( ) const
inline

◆ numberOfBinsY()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
int PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::numberOfBinsY ( ) const
inline

◆ operator=() [1/2]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Histogram2D& PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::operator= ( const Histogram2D< Value_t, AxisX_t, AxisY_t > &  orig)

◆ operator=() [2/2]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
template<typename OValue_t , typename OAxisX_t , typename OAxisY_t >
Histogram2D& PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::operator= ( const Histogram2D< OValue_t, OAxisX_t, OAxisY_t > &  orig)

◆ rangeX()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
RangeX PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::rangeX ( ) const
inline

◆ rangeY()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
RangeY PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::rangeY ( ) const
inline

◆ reset()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
void PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::reset ( )

◆ serialize()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
template<class Archive >
void PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::serialize ( Archive &  ar,
const unsigned int  version 
)
private

◆ setBinContent() [1/2]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
void PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::setBinContent ( int  bin,
Value_t  value 
)

◆ setBinContent() [2/2]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
void PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::setBinContent ( int  binX,
int  binY,
Value_t  value 
)
inline

◆ setValues() [1/2]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
template<typename OValue_t >
void PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::setValues ( const std::vector< OValue_t > &  values)

◆ setValues() [2/2]

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
void PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::setValues ( const std::vector< Value_t > &  values)

◆ upperLimitsX()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
const std::vector<AxisX_t> PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::upperLimitsX ( ) const
inline

◆ upperLimitsY()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
const std::vector<AxisY_t> PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::upperLimitsY ( ) const
inline

◆ value()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::value ( AxisX_t  x,
AxisY_t  y 
) const
inline

◆ values()

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
const std::vector<Value_t>& PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::values ( ) const
inline

Friends And Related Function Documentation

◆ boost::serialization::access

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
friend class boost::serialization::access
friend

Definition at line 135 of file Histogram2D.h.

◆ cond::serialization::access

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
template<typename CondSerializationT , typename Enabled >
friend struct cond::serialization::access
friend

Definition at line 135 of file Histogram2D.h.

Member Data Documentation

◆ binULimitsX

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
std::vector<AxisX_t> PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::binULimitsX
protected

◆ binULimitsY

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
std::vector<AxisY_t> PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::binULimitsY
protected

◆ binValues

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
std::vector<Value_t> PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::binValues
protected

◆ columnTotal

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
std::vector<Value_t> PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::columnTotal
mutableprotected

Definition at line 133 of file Histogram2D.h.

◆ limitsX

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
RangeX PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::limitsX
protected

◆ limitsY

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
RangeY PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::limitsY
protected

◆ rowTotal

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
std::vector<Value_t> PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::rowTotal
mutableprotected

Definition at line 132 of file Histogram2D.h.

◆ stride

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
unsigned int PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::stride
protected

◆ total

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
Value_t PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::total
mutableprotected

Definition at line 126 of file Histogram2D.h.

◆ totalValid

template<typename Value_t, typename AxisX_t = Value_t, typename AxisY_t = AxisX_t>
std::atomic<bool> PhysicsTools::Calibration::Histogram2D< Value_t, AxisX_t, AxisY_t >::totalValid
mutableprotected

Definition at line 128 of file Histogram2D.h.

DDAxes::y
PhysicsTools::Calibration::Histogram2D::limitsY
RangeY limitsY
Definition: Histogram2D.h:123
PhysicsTools::Calibration::Histogram2D::findBinX
int findBinX(AxisX_t x) const
PhysicsTools::Calibration::Histogram2D::numberOfBinsY
int numberOfBinsY() const
Definition: Histogram2D.h:93
PhysicsTools::Calibration::Histogram2D::bin2D
int bin2D(int binX, int binY) const
Definition: Histogram2D.h:67
PhysicsTools::Calibration::Histogram2D::findBin
int findBin(AxisX_t x, AxisY_t y) const
Definition: Histogram2D.h:112
PhysicsTools::Calibration::Histogram2D::stride
unsigned int stride
Definition: Histogram2D.h:118
PhysicsTools::Calibration::Histogram2D::binULimitsY
std::vector< AxisY_t > binULimitsY
Definition: Histogram2D.h:120
PhysicsTools::Calibration::Histogram2D::setBinContent
void setBinContent(int bin, Value_t value)
PhysicsTools::Calibration::Histogram2D::binValues
std::vector< Value_t > binValues
Definition: Histogram2D.h:121
PhysicsTools::Calibration::Histogram2D::normalization
Value_t normalization() const
DDAxes::x
PhysicsTools::Calibration::Histogram2D::numberOfBinsX
int numberOfBinsX() const
Definition: Histogram2D.h:92
PhysicsTools::Calibration::Histogram2D::limitsX
RangeX limitsX
Definition: Histogram2D.h:122
mathSSE::sqrt
T sqrt(T t)
Definition: SSEVec.h:19
PhysicsTools::Calibration::Histogram2D::binULimitsX
std::vector< AxisX_t > binULimitsX
Definition: Histogram2D.h:119
PhysicsTools::Calibration::Histogram2D::binRange
std::pair< RangeX, RangeY > binRange(int bin) const
value
Definition: value.py:1
newFWLiteAna.bin
bin
Definition: newFWLiteAna.py:161
PhysicsTools::Calibration::Histogram2D::findBinY
int findBinY(AxisY_t y) const
PhysicsTools::Calibration::Histogram2D::binContent
Value_t binContent(int bin) const
Definition: Histogram2D.h:69
PhysicsTools::Calibration::Histogram2D::binError
Value_t binError(int bin) const
Definition: Histogram2D.h:76