Geant4
10.01.p03
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
G4BaseToolsManager.hh
Go to the documentation of this file.
1
//
2
// ********************************************************************
3
// * License and Disclaimer *
4
// * *
5
// * The Geant4 software is copyright of the Copyright Holders of *
6
// * the Geant4 Collaboration. It is provided under the terms and *
7
// * conditions of the Geant4 Software License, included in the file *
8
// * LICENSE and available at http://cern.ch/geant4/license . These *
9
// * include a list of copyright holders. *
10
// * *
11
// * Neither the authors of this software system, nor their employing *
12
// * institutes,nor the agencies providing financial support for this *
13
// * work make any representation or warranty, express or implied, *
14
// * regarding this software system or assume any liability for its *
15
// * use. Please see the license in the file LICENSE and URL above *
16
// * for the full disclaimer and the limitation of liability. *
17
// * *
18
// * This code implementation is the result of the scientific and *
19
// * technical work of the GEANT4 collaboration. *
20
// * By using, copying, modifying or distributing the software (or *
21
// * any work based on the software) you agree to acknowledge its *
22
// * use in resulting scientific publications, and indicate your *
23
// * acceptance of all terms of the Geant4 Software license. *
24
// ********************************************************************
25
//
26
// $Id$
27
28
// Manager class for tools::histo::base_histo functions.
29
// It implements functions common to all histograms and profiles.
30
//
31
// Author: Ivana Hrivnacova, 24/07/2014 (ivana@ipno.in2p3.fr)
32
33
#ifndef G4BaseToolsManager_h
34
#define G4BaseToolsManager_h 1
35
36
#include "
globals.hh
"
37
38
#include "tools/histo/base_histo"
39
40
class
G4BaseToolsManager
//: public G4VH1Manager
41
{
42
public
:
43
G4BaseToolsManager
(
const
G4String
& hnType);
44
virtual
~G4BaseToolsManager
();
45
46
friend
class
G4H1ToolsManager
;
47
friend
class
G4H2ToolsManager
;
48
friend
class
G4H3ToolsManager
;
49
friend
class
G4P1ToolsManager
;
50
friend
class
G4P2ToolsManager
;
51
52
protected
:
53
typedef
tools::histo::base_histo<double, unsigned int, unsigned int, double, double>
54
G4ToolsBaseHisto
;
55
56
// Access to datA parameters
57
G4int
GetNbins
(
const
G4ToolsBaseHisto
& baseHisto,
G4int
dimension)
const
;
58
G4double
GetMin
(
const
G4ToolsBaseHisto
& baseHisto,
G4int
dimension)
const
;
59
G4double
GetMax
(
const
G4ToolsBaseHisto
& baseHisto,
G4int
dimension)
const
;
60
G4double
GetWidth
(
const
G4ToolsBaseHisto
& baseHisto,
G4int
dimension)
const
;
61
62
// Attributes for plotting
63
//
64
65
// Setters
66
G4bool
SetTitle
(
G4ToolsBaseHisto
& baseHisto,
const
G4String
& title);
67
G4bool
SetAxisTitle
(
G4ToolsBaseHisto
& baseHisto,
G4int
dimension,
const
G4String
& title);
68
69
// Accessors
70
G4String
GetTitle
(
const
G4ToolsBaseHisto
& baseHisto)
const
;
71
G4String
GetAxisTitle
(
const
G4ToolsBaseHisto
& baseHisto,
G4int
dimension)
const
;
72
73
// Static data members
74
static
const
G4int
kX
;
75
static
const
G4int
kY
;
76
static
const
G4int
kZ
;
77
78
private
:
79
// Data members
80
G4String
fHnType
;
81
};
82
83
#endif
84
G4BaseToolsManager::SetTitle
G4bool SetTitle(G4ToolsBaseHisto &baseHisto, const G4String &title)
Definition:
G4BaseToolsManager.cc:101
G4BaseToolsManager::GetTitle
G4String GetTitle(const G4ToolsBaseHisto &baseHisto) const
Definition:
G4BaseToolsManager.cc:125
G4BaseToolsManager::kY
static const G4int kY
Definition:
G4BaseToolsManager.hh:75
G4BaseToolsManager::fHnType
G4String fHnType
Definition:
G4BaseToolsManager.hh:80
G4BaseToolsManager::kZ
static const G4int kZ
Definition:
G4BaseToolsManager.hh:76
G4int
int G4int
Definition:
G4Types.hh:78
G4BaseToolsManager::GetAxisTitle
G4String GetAxisTitle(const G4ToolsBaseHisto &baseHisto, G4int dimension) const
Definition:
G4BaseToolsManager.cc:132
G4BaseToolsManager::G4BaseToolsManager
G4BaseToolsManager(const G4String &hnType)
Definition:
G4BaseToolsManager.cc:46
G4BaseToolsManager::GetNbins
G4int GetNbins(const G4ToolsBaseHisto &baseHisto, G4int dimension) const
Definition:
G4BaseToolsManager.cc:57
G4bool
bool G4bool
Definition:
G4Types.hh:79
G4BaseToolsManager::GetWidth
G4double GetWidth(const G4ToolsBaseHisto &baseHisto, G4int dimension) const
Definition:
G4BaseToolsManager.cc:82
globals.hh
G4BaseToolsManager
Definition:
G4BaseToolsManager.hh:40
G4P1ToolsManager
Definition:
G4P1ToolsManager.hh:52
G4BaseToolsManager::G4ToolsBaseHisto
tools::histo::base_histo< double, unsigned int, unsigned int, double, double > G4ToolsBaseHisto
Definition:
G4BaseToolsManager.hh:54
G4BaseToolsManager::GetMax
G4double GetMax(const G4ToolsBaseHisto &baseHisto, G4int dimension) const
Definition:
G4BaseToolsManager.cc:73
G4P2ToolsManager
Definition:
G4P2ToolsManager.hh:51
G4double
double G4double
Definition:
G4Types.hh:76
G4H1ToolsManager
Definition:
G4H1ToolsManager.hh:52
G4BaseToolsManager::GetMin
G4double GetMin(const G4ToolsBaseHisto &baseHisto, G4int dimension) const
Definition:
G4BaseToolsManager.cc:64
G4BaseToolsManager::~G4BaseToolsManager
virtual ~G4BaseToolsManager()
Definition:
G4BaseToolsManager.cc:52
G4H3ToolsManager
Definition:
G4H3ToolsManager.hh:51
G4H2ToolsManager
Definition:
G4H2ToolsManager.hh:51
G4BaseToolsManager::SetAxisTitle
G4bool SetAxisTitle(G4ToolsBaseHisto &baseHisto, G4int dimension, const G4String &title)
Definition:
G4BaseToolsManager.cc:108
G4String
Definition:
G4String.hh:45
G4BaseToolsManager::kX
static const G4int kX
Definition:
G4BaseToolsManager.hh:74
geant4.10.01.p03
source
analysis
hntools
include
G4BaseToolsManager.hh
Generated on Fri Feb 19 2016 15:53:17 for Geant4 by
1.8.8