Geant4-11
G4ScoringMessenger.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//
26//
27//
28// (HISTORY)
29// 03-Sep-2007 T.Aso Command definitions are introduced.
30// 01-Nov-2007 M.Asai Class is splitted into two.
31// 18-Feb-2008 T.Aso Command for cylindrical scorer.
32// 18-Feb-2008 T.Aso Command for color chart display.
33
34#ifndef G4ScoringMessenger_h
35#define G4ScoringMessenger_h 1
36
37#include "G4UImessenger.hh"
38
39#include <vector>
40#include "G4String.hh"
41
43class G4VScoringMesh;
44class G4UIdirectory;
51class G4UIcommand;
52
53typedef std::vector<G4String> G4TokenVec;
54
55// class description:
56//
57// This is a concrete class of G4UImessenger which handles the commands for
58// G4ScoringManager.
59//
60
62{
63 public:
65
67
68 void SetNewValue(G4UIcommand* command, G4String newValues);
69
71
72 protected:
73 void FillTokenVec(G4String newValues, G4TokenVec& token);
74 void MeshBinCommand(G4VScoringMesh* mesh, G4TokenVec& token);
75 void Fill1D(G4UIcommand* cmd, G4String newValues);
76
77 private:
83 //
87 // G4UIcmdWithAString* meshSphereCreateCmd;
90 //
91 // Mesh commands
94 //
96 // G4UIcmdWithABool* meshActCmd;
97 //
98 // Size commands
103 // G4UIcmdWith3VectorAndUnit* mSphereSizeCmd;
104 //
105 // Division command
107 //
108 // Placement command
113 // G4UIcmdWithoutParameter* mRResetCmd;
117 //
118 // Probe commands
122 //
123 // Draw Command
130 // G4UIcommand * chartCmd;
131 //
132 // Dump scoring result to file
137 //
138 // Command for direcly plotting to a histogram
140};
141
142#endif
std::vector< G4String > G4TokenVec
std::vector< G4String > G4TokenVec
G4UIcmdWith3VectorAndUnit * mBoxSizeCmd
G4UIcmdWith3VectorAndUnit * probeLocateCmd
G4UIcommand * mCylinderAngleCmd
G4UIcommand * dumpQtyToFileCmd
G4UIcmdWithoutParameter * dumpCmd
G4UIcmdWithADoubleAndUnit * mRotXCmd
G4ScoringManager * fSMan
G4UIcmdWithAString * meshBoxCreateCmd
G4UIdirectory * colorMapDir
void FillTokenVec(G4String newValues, G4TokenVec &token)
G4UIdirectory * meshDir
G4UIcmdWithoutParameter * mTResetCmd
G4UIdirectory * scoreDir
void MeshBinCommand(G4VScoringMesh *mesh, G4TokenVec &token)
G4ScoringMessenger(G4ScoringManager *SManager)
G4UIcmdWithAnInteger * verboseCmd
G4UIdirectory * mTransDir
G4UIcommand * probeCreateCmd
G4UIcommand * dumpAllQtsToFileCmd
G4UIcommand * drawColumnCmd
G4UIcmdWith3VectorAndUnit * mTXyzCmd
G4UIcmdWithADoubleAndUnit * mRotYCmd
G4UIcommand * mCylinderSizeCmd
void Fill1D(G4UIcommand *cmd, G4String newValues)
G4UIcmdWithAString * meshOpnCmd
G4UIcmdWithoutParameter * meshClsCmd
G4UIcmdWithADoubleAndUnit * mCylinderRMinCmd
G4String GetCurrentValue(G4UIcommand *command)
G4UIcommand * dumpAllQtsWithFactorCmd
G4UIcmdWithAString * probeMatCmd
G4UIdirectory * mRotDir
G4UIcommand * dumpQtyWithFactorCmd
G4UIcommand * colorMapMinMaxCmd
G4UIdirectory * probeDir
G4UIcmdWithAString * meshCylinderCreateCmd
G4UIdirectory * meshCreateDir
G4UIcmdWithoutParameter * listCmd
G4UIcmdWithADoubleAndUnit * mRotZCmd
G4UIcommand * meshRWLogVolCreateCmd
G4UIcmdWithoutParameter * listColorMapCmd
G4UIcmdWithAString * floatMinMaxCmd
void SetNewValue(G4UIcommand *command, G4String newValues)