G4AnalysisMessenger.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 // $Id$
00027 
00028 // Author: Ivana Hrivnacova, 04/07/2012  (ivana@ipno.in2p3.fr)
00029 //
00030 // This messenger class is a generalization of the HistoMessenger class,
00031 // originally developed for the extended/electromagnetic examples
00032 // by Michel Maire (michel.maire@lapp.in2p3.fr)
00033 
00034 #ifndef G4AnalysisMessenger_h
00035 #define G4AnalysisMessenger_h 1
00036 
00037 #include "G4UImessenger.hh"
00038 #include "globals.hh"
00039 
00040 class G4VAnalysisManager;
00041 class G4UIdirectory;
00042 class G4UIcommand;
00043 class G4UIcmdWithAString;
00044 class G4UIcmdWithABool;
00045 class G4UIcmdWithAnInteger;
00046 
00047 class G4AnalysisMessenger : public G4UImessenger
00048 {
00049   public:
00050     G4AnalysisMessenger(G4VAnalysisManager* manager);
00051     virtual ~G4AnalysisMessenger();
00052    
00053     // methods
00054     virtual void SetNewValue(G4UIcommand* command, G4String value);
00055     
00056   private:
00057     void CreateH1Cmd();
00058     void SetH1Cmd();
00059     void SetH1TitleCmd();
00060     void SetH1XAxisCmd();
00061     void SetH1YAxisCmd();
00062     void SetH1ActivationCmd();
00063     void CreateH2Cmd();
00064     void SetH2Cmd();
00065     void SetH2TitleCmd();
00066     void SetH2XAxisCmd();
00067     void SetH2YAxisCmd();
00068     void SetH2ZAxisCmd();
00069     void SetH2ActivationCmd();
00070  
00071     G4VAnalysisManager*  fManager; 
00072     
00073     G4UIdirectory*         fAnalysisDir;   
00074     G4UIcmdWithAString*    fSetFileNameCmd;
00075     G4UIcmdWithAString*    fSetHistoDirNameCmd;
00076     G4UIcmdWithAString*    fSetNtupleDirNameCmd;
00077     G4UIcmdWithABool*      fSetActivationCmd;   
00078     G4UIcmdWithAnInteger*  fVerboseCmd;   
00079     G4UIdirectory*         fH1Dir;   
00080     G4UIcommand*           fCreateH1Cmd;
00081     G4UIcommand*           fSetH1Cmd;
00082     G4UIcmdWithAnInteger*  fSetH1AsciiCmd;   
00083     G4UIcommand*           fSetH1TitleCmd;   
00084     G4UIcommand*           fSetH1XAxisCmd;   
00085     G4UIcommand*           fSetH1YAxisCmd;   
00086     G4UIcommand*           fSetH1ActivationCmd;   
00087     G4UIcmdWithABool*      fSetH1ActivationAllCmd;   
00088     G4UIdirectory*         fH2Dir;   
00089     G4UIcommand*           fCreateH2Cmd;
00090     G4UIcommand*           fSetH2Cmd;
00091     G4UIcmdWithAnInteger*  fSetH2AsciiCmd;   
00092     G4UIcommand*           fSetH2TitleCmd;   
00093     G4UIcommand*           fSetH2XAxisCmd;   
00094     G4UIcommand*           fSetH2YAxisCmd;   
00095     G4UIcommand*           fSetH2ZAxisCmd;   
00096     G4UIcommand*           fSetH2ActivationCmd;   
00097     G4UIcmdWithABool*      fSetH2ActivationAllCmd;   
00098 };
00099   
00100 #endif
00101 

Generated on Mon May 27 17:47:38 2013 for Geant4 by  doxygen 1.4.7