source: trunk/source/processes/hadronic/models/incl/include/G4VInclLogger.hh @ 1350

Last change on this file since 1350 was 1350, checked in by garnier, 13 years ago

update to last version 4.9.4

File size: 2.8 KB
Line 
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: G4VInclLogger.hh,v 1.2 2010/10/26 02:47:59 kaitanie Exp $
27// Translation of INCL4.2/ABLA V3
28// Pekka Kaitaniemi, HIP (translation)
29// Christelle Schmidt, IPNL (fission code)
30// Alain Boudard, CEA (contact person INCL/ABLA)
31// Aatos Heikkinen, HIP (project coordination)
32
33#ifndef G4VInclLogger_hh
34#define G4VInclLogger_hh 1
35
36#include "globals.hh"
37#include "G4String.hh"
38
39/**
40 * INCL logger interface
41 *
42 * Interface that allows us to generate graphs and histograms of the
43 * INCL internal variables.
44 */
45class G4VInclLogger {
46
47public:
48  G4VInclLogger() {};
49  ~G4VInclLogger() {};
50
51  /**
52   * Book 1D histogram.
53   */
54  virtual void bookHistogram1D(G4String name, G4int bins, G4double xmin, G4double xmax) = 0;
55
56  /**
57   * Book 2D histogram.
58   */
59  virtual void bookHistogram2D(G4String name, G4int binsx, G4double xmin, G4double xmax,
60                               G4int binsy, G4double ymin, G4double ymax) = 0;
61
62  /**
63   * Fill 1D histogram.
64   */
65  virtual void fillHistogram1D(G4String name, G4double value) = 0;
66
67  /**
68   * Fill 2D histogram.
69   */
70  virtual void fillHistogram2D(G4String name, G4double xvalue, G4double yvalue) = 0;
71
72  /**
73   * Save the histograms.
74   */
75  virtual void saveHistograms() = 0;
76};
77
78#endif
Note: See TracBrowser for help on using the repository browser.