LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "HeatMap.h"
Public Member Functions | |
HeatMap (int _Nz, double _minz, double _maxz, int _Nx, double _minx, double _maxx) | |
std::unique_ptr< TH2F > | AsTH2 () const |
double | ZBinCenter (int iz) const |
double | XBinCenter (int ix) const |
int | ZToBin (double z) const |
int | XToBin (double x) const |
Public Attributes | |
const double | minz |
const double | minx |
const double | maxz |
const double | maxx |
const int | Nx |
const int | Nz |
std::vector< float > | map |
Private Member Functions | |
int | fast_floor (double x) const |
quad::HeatMap::HeatMap | ( | int | _Nz, |
double | _minz, | ||
double | _maxz, | ||
int | _Nx, | ||
double | _minx, | ||
double | _maxx | ||
) |
Definition at line 7 of file HeatMap.cxx.
std::unique_ptr< TH2F > quad::HeatMap::AsTH2 | ( | ) | const |
|
inlineprivate |
|
inline |
|
inline |
Definition at line 19 of file HeatMap.h.
References fast_floor(), maxx, minx, and Nx.
Referenced by quad::MapFromLines().
|
inline |
|
inline |
Definition at line 18 of file HeatMap.h.
References fast_floor(), maxz, minz, and Nz.
Referenced by quad::MapFromLines().
std::vector<float> quad::HeatMap::map |
Definition at line 24 of file HeatMap.h.
Referenced by AsTH2(), and quad::MapFromLines().
const double quad::HeatMap::maxx |
Definition at line 21 of file HeatMap.h.
Referenced by AsTH2(), XBinCenter(), and XToBin().
const double quad::HeatMap::maxz |
Definition at line 21 of file HeatMap.h.
Referenced by AsTH2(), ZBinCenter(), and ZToBin().
const double quad::HeatMap::minx |
Definition at line 21 of file HeatMap.h.
Referenced by AsTH2(), XBinCenter(), and XToBin().
const double quad::HeatMap::minz |
Definition at line 21 of file HeatMap.h.
Referenced by AsTH2(), ZBinCenter(), and ZToBin().
const int quad::HeatMap::Nx |
Definition at line 22 of file HeatMap.h.
Referenced by AsTH2(), quad::MapFromLines(), XBinCenter(), and XToBin().
const int quad::HeatMap::Nz |
Definition at line 22 of file HeatMap.h.
Referenced by AsTH2(), ZBinCenter(), and ZToBin().