The Gaudi Framework  master (b9786168)
Loading...
Searching...
No Matches
HistoDump.h
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3* *
4* This software is distributed under the terms of the Apache version 2 licence, *
5* copied verbatim in the file "LICENSE". *
6* *
7* In applying this licence, CERN does not waive the privileges and immunities *
8* granted to it by virtue of its status as an Intergovernmental Organization *
9* or submit itself to any jurisdiction. *
10\***********************************************************************************/
11#pragma once
12
13#include <GaudiKernel/Kernel.h>
14
15#include <string>
16
17namespace AIDA {
18 class IHistogram1D; // AIDA
19 class IProfile1D; // AIDA
20} // namespace AIDA
21
22class TH1; // ROOT
23class TProfile; // ROOT
24
25namespace Gaudi {
26 namespace Utils {
27 namespace Histos {
28
39 std::string histoDump( const AIDA::IHistogram1D* histo, const std::size_t width = 80,
40 const std::size_t height = 50, const bool errors = false );
41
52 std::string histoDump( const AIDA::IProfile1D* histo, const std::size_t width = 80, const std::size_t height = 50,
53 const bool spread = true );
54
65 std::string histoDump( const TProfile* histo, const std::size_t width = 80, const std::size_t height = 50 );
66
77 std::string histoDump( const TH1* histo, const std::size_t width = 80, const std::size_t height = 50,
78 const bool errors = false );
79 } // namespace Histos
80
81 } // namespace Utils
82
83} // end of namespace Gaudi
#define GAUDI_API
Definition Kernel.h:49
Collection of useful utilities for manipulations with AIDA hisgograms.
Definition HistoDump.h:27
GAUDI_API std::string histoDump(const AIDA::IHistogram1D *histo, const std::size_t width=80, const std::size_t height=50, const bool errors=false)
dump the text representation of the histogram
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition __init__.py:1