5 #ifndef ISF_FASTCALOSIMEVENT_TFCS1DFunctionTemplateHistogram_h
6 #define ISF_FASTCALOSIMEVENT_TFCS1DFunctionTemplateHistogram_h
14 template <
typename Txvec,
typename Ty,
typename Trandom =
float>
47 std::vector<double> temp_HistoContents;
57 hist->GetXaxis()->GetBinUpEdge(last + 1));
59 for (Int_t ibin =
first; ibin <= last; ++ibin) {
61 hist->GetXaxis()->GetBinLowEdge(ibin + 1));
68 <<
" x=" <<
hist->GetXaxis()->GetBinLowEdge(ibin + 1)
74 <<
" x=" <<
hist->GetXaxis()->GetBinLowEdge(ibin)
78 temp_HistoContents[ibin] /
integral);
96 ATH_MSG_INFO(
"bin=" << ibin + 1 <<
" fbin=" << ihist <<
"/"
98 <<
hist->GetXaxis()->GetBinLowEdge(ibin + 1)
99 <<
"," <<
hist->GetXaxis()->GetBinUpEdge(ibin + 1)
101 <<
" int=" << temp_HistoContents[ibin] /
integral
107 if (ihist !=
nbins) {
110 hist->GetXaxis()->GetBinUpEdge(last + 1));
122 Trandom residual_rnd;
152 TFCS1DFunction_HistogramInt8BinEdges, uint8_t, float> {
164 TFCS1DFunction_HistogramInt8BinEdges, uint16_t, float> {
176 TFCS1DFunction_HistogramInt8BinEdges, uint32_t, float> {
188 TFCS1DFunction_HistogramInt16BinEdges, uint16_t, float> {
200 TFCS1DFunction_HistogramInt16BinEdges, uint32_t, float> {
212 TFCS1DFunction_HistogramInt32BinEdges, uint32_t, float> {