CP3-llbb Framework
Public Member Functions | List of all members
ThreeDimensionsHistogram< T, _Bin > Class Template Reference
Inheritance diagram for ThreeDimensionsHistogram< T, _Bin >:
Inheritance graph
[legend]
Collaboration diagram for ThreeDimensionsHistogram< T, _Bin >:
Collaboration graph
[legend]

Public Member Functions

 ThreeDimensionsHistogram (const std::vector< _Bin > &bins_x, const std::vector< _Bin > &bins_y, const std::vector< _Bin > &bins_z)
 
virtual std::size_t findBin (const std::vector< _Bin > &values) override
 
virtual std::size_t findClosestBin (const std::vector< _Bin > &values, bool *outOfRange=nullptr) override
 
virtual bool inRange (const std::vector< _Bin > &values) override
 
virtual std::vector< _Bin > clamp (const std::vector< _Bin > &values) override
 
- Public Member Functions inherited from Histogram< T, T >
virtual std::size_t findBin (const std::vector< T > &values)=0
 
virtual std::size_t findClosestBin (const std::vector< T > &values, bool *outOfRange=nullptr)=0
 
virtual bool inRange (const std::vector< T > &values)=0
 
virtual std::vector< T > clamp (const std::vector< T > &values)=0
 
getBinContent (std::size_t bin)
 
getBinErrorLow (std::size_t bin)
 
getBinErrorHigh (std::size_t bin)
 
void setBinContent (std::size_t bin, T value)
 
void setBinErrorLow (std::size_t bin, T value)
 
void setBinErrorHigh (std::size_t bin, T value)
 
void setContent (const std::vector< T > &values, T content)
 
size_t size () const
 

Additional Inherited Members

- Protected Member Functions inherited from Histogram< T, T >
 Histogram (std::size_t size)
 
- Static Protected Member Functions inherited from Histogram< T, T >
static size_t findBin (const std::vector< T > &array, T value)
 
static size_t findClosestBin (const std::vector< T > &array, T value, bool *outOfRange=nullptr)
 
static bool inRange (const std::vector< T > &array, T value)
 
static T clamp (const std::vector< T > &array, T value)
 
- Protected Attributes inherited from Histogram< T, T >
std::size_t m_size
 
std::unique_ptr< T[]> m_values
 
std::unique_ptr< T[]> m_errors_low
 
std::unique_ptr< T[]> m_errors_high
 

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