source: trunk/source/processes/electromagnetic/lowenergy/test/processTest/include/G4TestUI.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: 3.2 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//
27// $Id: G4TestUI.hh,v 1.6 2006/06/29 19:48:36 gunter Exp $
28// GEANT4 tag $Name: geant4-09-04-ref-00 $
29//
30// -------------------------------------------------------------------
31//
32// File name:     G4TestUI
33//
34// Author:        Maria Grazia Pia
35//
36// Creation date: 1 October 2001
37//
38// Modifications:
39//
40// -------------------------------------------------------------------
41
42#ifndef G4TESTUI_HH
43#define G4TESTUI_HH
44
45#include "globals.hh"
46#include <vector>
47
48class G4ProcessTest;
49class G4Material;
50class G4ParticleDefinition;
51
52class G4TestUI
53{
54  public:
55
56  G4TestUI();
57  virtual ~G4TestUI();
58 
59  void configure();
60
61  void selectNumberOfIterations();
62
63  void selectMaterial(); 
64
65  void selectProcess();
66
67  void selectTestTopic(); 
68
69  void selectEnergyRange();
70
71  G4int getNumberOfIterations() const;
72
73  const G4Material* getSelectedMaterial() const;
74
75  const G4String& getProcessType() const;
76
77  const G4String& getProcessCategory() const;
78
79  const G4String& getTestTopic() const ;
80
81  G4bool getPolarisationSelection() const;
82
83  G4ParticleDefinition* getParticleDefinition() const;
84
85  G4double getMinEnergy() const { return eMin; }
86
87  G4double getMaxEnergy() const { return eMax; }
88 
89 private:
90
91  void operator=(const G4TestUI& right);
92
93  void selectProcessType();
94  void selectProcessCategory();
95  void isPolarised();
96
97  G4int nIterations;
98  G4int materialId;           
99  G4int type;
100  G4int category;
101  G4int topic;
102  G4bool polarised;
103  G4double eMin;
104  G4double eMax;
105  std::vector<G4String> types;
106  std::vector<G4String> topics;
107  std::vector<G4String> categories;
108
109};
110
111#endif
Note: See TracBrowser for help on using the repository browser.