Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Histograms.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 //
28 //
29 #ifndef Histograms_h
30 #define Histograms_h 1
31 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
32 //
33 // MODULE: Histograms.hh
34 //
35 // Version: 1.0
36 // Date: 09/03/00
37 // Author: P R Truscott
38 // Organisation: DERA UK
39 // Customer: ESA/ESTEC, NOORDWIJK
40 // Contract: 12115/96/NL/JG Work Order No. 3
41 //
42 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
43 //
44 // DESCRIPTION
45 // -----------
46 //
47 // This module defines the HistSpecialBin type which can have values
48 // underflow_bin (==0), overflow_bin (==1), or inrange(==2).
49 //
50 // C-preprocessor commands are also used to replace expressions BIN_UNDERFLOW
51 // and BIN_OVERFLOW with numerical values (-1 and-2 respectively).
52 // BIN_UNDERFLOW and BIN_OVERFLOW are used to denote underflow and overflow bin
53 // conditions when the return type required is integer rather than a
54 // HistSpecialBin type.
55 //
56 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
57 //
58 // PUBLIC MEMBER FUNCTIONS
59 // -----------------------
60 //
61 // (None)
62 //
63 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
64 //
65 // CHANGE HISTORY
66 // --------------
67 //
68 // 30 June 1999, P R Truscott, DERA UK
69 // Version number update 0.b.2 -> 0.b.3, but no functional change.
70 //
71 // 28 August 1999, F Lei, DERA UK
72 // Version number update 0.b.3 -> 0.b.4, but no functional change.
73 //
74 // 17 September 1999, P R Truscott, DERA UK
75 // Version number update 0.b.4 -> 0.b.5, but no functional change.
76 //
77 // 09 March 2000, P R Truscott, DERA UK
78 // Update 0.b.3 -> 1.0, for compliance with ISO ANSI C++ (no functional change).
79 
80 // %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
82 //
84 #define BIN_UNDERFLOW -1
85 #define BIN_OVERFLOW -2
86 #endif
88 
89