1 #ifndef LARRECO_QUADVTX_HEATMAP_H 2 #define LARRECO_QUADVTX_HEATMAP_H 12 HeatMap(
int _Nz,
double _minz,
double _maxz,
int _Nx,
double _minx,
double _maxx);
14 std::unique_ptr<TH2F>
AsTH2()
const;
24 std::vector<float>
map;
28 inline int fast_floor(
double x)
const {
return int(x + 100000) - 100000; }
int XToBin(double x) const
int ZToBin(double z) const
double ZBinCenter(int iz) const
HeatMap(int _Nz, double _minz, double _maxz, int _Nx, double _minx, double _maxx)
int fast_floor(double x) const
double XBinCenter(int ix) const
std::unique_ptr< TH2F > AsTH2() const