Go to the documentation of this file.
4 #ifndef tools_histo_sliced
5 #define tools_histo_sliced
18 inline h1d*
slice_x(
const h2d& a_from,
int aJbeg,
int aJend,
const std::string& a_title) {
29 inline h1d*
slice_y(
const h2d& a_from,
int aIbeg,
int aIend,
const std::string& a_title) {
50 inline p1d*
profile_x(
const h2d& a_from,
int aJbeg,
int aJend,
const std::string& a_title) {
61 inline p1d*
profile_y(
const h2d& a_from,
int aIbeg,
int aIend,
const std::string& a_title) {
83 inline h2d*
slice_xy(
const h3d& a_from,
int aKbeg,
int aKend,
const std::string& a_title) {
84 h2d* slice =
new h2d(a_title,
87 if(!
fill_slice_xy(a_from,aKbeg,aKend,*slice)) {
delete slice;
return 0;}
95 inline h2d*
slice_yz(
const h3d& a_from,
int aIbeg,
int aIend,
const std::string& a_title) {
96 h2d* slice =
new h2d(a_title,
99 if(!
fill_slice_yz(a_from,aIbeg,aIend,*slice)) {
delete slice;
return 0;}
107 inline h2d*
slice_xz(
const h3d& a_from,
int aJbeg,
int aJend,
const std::string& a_title) {
108 h2d* slice =
new h2d(a_title,
111 if(!
fill_slice_xz(a_from,aJbeg,aJend,*slice)) {
delete slice;
return 0;}