90 lines
3.8 KiB
C++
90 lines
3.8 KiB
C++
//
|
|
// ********************************************************************
|
|
// * License and Disclaimer *
|
|
// * *
|
|
// * The Geant4 software is copyright of the Copyright Holders of *
|
|
// * the Geant4 Collaboration. It is provided under the terms and *
|
|
// * conditions of the Geant4 Software License, included in the file *
|
|
// * LICENSE and available at http://cern.ch/geant4/license . These *
|
|
// * include a list of copyright holders. *
|
|
// * *
|
|
// * Neither the authors of this software system, nor their employing *
|
|
// * institutes,nor the agencies providing financial support for this *
|
|
// * work make any representation or warranty, express or implied, *
|
|
// * regarding this software system or assume any liability for its *
|
|
// * use. Please see the license in the file LICENSE and URL above *
|
|
// * for the full disclaimer and the limitation of liability. *
|
|
// * *
|
|
// * This code implementation is the result of the scientific and *
|
|
// * technical work of the GEANT4 collaboration. *
|
|
// * By using, copying, modifying or distributing the software (or *
|
|
// * any work based on the software) you agree to acknowledge its *
|
|
// * use in resulting scientific publications, and indicate your *
|
|
// * acceptance of all terms of the Geant4 Software license. *
|
|
// ********************************************************************
|
|
//
|
|
/// \file biasing/ReverseMC01/include/Histograms.hh
|
|
/// \brief Definition of the Histograms class
|
|
//
|
|
#ifndef Histograms_h
|
|
#define Histograms_h 1
|
|
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
//
|
|
// MODULE: Histograms.hh
|
|
//
|
|
// Version: 1.0
|
|
// Date: 09/03/00
|
|
// Author: P R Truscott
|
|
// Organisation: DERA UK
|
|
// Customer: ESA/ESTEC, NOORDWIJK
|
|
// Contract: 12115/96/NL/JG Work Order No. 3
|
|
//
|
|
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
//
|
|
// DESCRIPTION
|
|
// -----------
|
|
//
|
|
// This module defines the HistSpecialBin type which can have values
|
|
// underflow_bin (==0), overflow_bin (==1), or inrange(==2).
|
|
//
|
|
// C-preprocessor commands are also used to replace expressions BIN_UNDERFLOW
|
|
// and BIN_OVERFLOW with numerical values (-1 and-2 respectively).
|
|
// BIN_UNDERFLOW and BIN_OVERFLOW are used to denote underflow and overflow bin
|
|
// conditions when the return type required is integer rather than a
|
|
// HistSpecialBin type.
|
|
//
|
|
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
//
|
|
// PUBLIC MEMBER FUNCTIONS
|
|
// -----------------------
|
|
//
|
|
// (None)
|
|
//
|
|
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
//
|
|
// CHANGE HISTORY
|
|
// --------------
|
|
//
|
|
// 30 June 1999, P R Truscott, DERA UK
|
|
// Version number update 0.b.2 -> 0.b.3, but no functional change.
|
|
//
|
|
// 28 August 1999, F Lei, DERA UK
|
|
// Version number update 0.b.3 -> 0.b.4, but no functional change.
|
|
//
|
|
// 17 September 1999, P R Truscott, DERA UK
|
|
// Version number update 0.b.4 -> 0.b.5, but no functional change.
|
|
//
|
|
// 09 March 2000, P R Truscott, DERA UK
|
|
// Update 0.b.3 -> 1.0, for compliance with ISO ANSI C++ (no functional change).
|
|
|
|
// %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
//
|
|
enum HistSpecialBin {underflow_bin=0, overflow_bin=1, inrange=2};
|
|
#define BIN_UNDERFLOW -1
|
|
#define BIN_OVERFLOW -2
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
#endif
|
|
|
|
|