source: trunk/source/processes/hadronic/models/incl/include/G4AblaFissionBase.hh @ 1340

Last change on this file since 1340 was 1340, checked in by garnier, 14 years ago

update ti head

File size: 2.7 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: G4AblaFissionBase.hh,v 1.5 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 G4AblaFissionBase_hh
34#define G4AblaFissionBase_hh 1
35
36#include "globals.hh"
37#include "G4InclUtils.hh"
38
39/*
40 * Abstract interface to fission models.
41 */
42
43class G4AblaFissionBase {
44
45public:
46  G4AblaFissionBase();
47  virtual ~G4AblaFissionBase();
48
49  virtual void doFission(G4double &A, G4double &Z, G4double &E,
50                         G4double &A1, G4double &Z1, G4double &E1, G4double &K1,
51                         G4double &A2, G4double &Z2, G4double &E2, G4double &K2) = 0;
52
53  void setVerboseLevel(G4int level) {
54    verboseLevel = level;
55    if(verboseLevel > G4InclUtils::silent) {
56      about();
57      G4cout <<";; Fission model verbosity level set to " << verboseLevel << G4endl;
58    }
59  }
60
61  void about() {
62    G4cout << ";; " << aboutModel << G4endl;
63  }
64
65  void setAboutString(G4String about) {
66    aboutModel = about;
67  }
68
69private:
70  G4int verboseLevel;
71  G4String aboutModel;
72};
73
74#endif
Note: See TracBrowser for help on using the repository browser.