Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-31 09:21:49

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 /*
0027  * =============================================================================
0028  *
0029  *       Filename:  CexmcMessenger.hh
0030  *
0031  *    Description:  common messenger stuff (directories etc.)
0032  *
0033  *        Version:  1.0
0034  *        Created:  15.11.2009 12:48:40
0035  *       Revision:  none
0036  *       Compiler:  gcc
0037  *
0038  *         Author:  Alexey Radkov (), 
0039  *        Company:  PNPI
0040  *
0041  * =============================================================================
0042  */
0043 
0044 #ifndef CEXMC_MESSENGER_HH
0045 #define CEXMC_MESSENGER_HH
0046 
0047 #include <G4String.hh>
0048 
0049 class  G4UIdirectory;
0050 
0051 
0052 class  CexmcMessenger
0053 {
0054     public:
0055         static CexmcMessenger *  Instance( void );
0056 
0057         static void              Destroy( void );
0058 
0059     private:
0060         CexmcMessenger();
0061 
0062         ~CexmcMessenger();
0063 
0064     public:
0065         static G4String  mainDirName;
0066 
0067         static G4String  geometryDirName;
0068 
0069         static G4String  physicsDirName;
0070 
0071         static G4String  gunDirName;
0072 
0073         static G4String  detectorDirName;
0074 
0075         static G4String  eventDirName;
0076 
0077         static G4String  runDirName;
0078 
0079         static G4String  monitorDirName;
0080 
0081         static G4String  targetDirName;
0082 
0083         static G4String  vetoCounterDirName;
0084 
0085         static G4String  vetoCounterLeftDirName;
0086 
0087         static G4String  vetoCounterRightDirName;
0088 
0089         static G4String  calorimeterDirName;
0090 
0091         static G4String  calorimeterLeftDirName;
0092 
0093         static G4String  calorimeterRightDirName;
0094 
0095         static G4String  monitorEDDirName;
0096 
0097         static G4String  vetoCounterEDDirName;
0098 
0099         static G4String  vetoCounterLeftEDDirName;
0100 
0101         static G4String  vetoCounterRightEDDirName;
0102 
0103         static G4String  calorimeterEDDirName;
0104 
0105         static G4String  calorimeterLeftEDDirName;
0106 
0107         static G4String  calorimeterRightEDDirName;
0108 
0109         static G4String  reconstructorDirName;
0110 
0111         static G4String  visDirName;
0112 
0113 #ifdef CEXMC_USE_ROOT
0114         static G4String  histoDirName;
0115 #endif
0116 
0117     private:
0118         static CexmcMessenger *  instance;
0119 
0120     private:
0121         G4UIdirectory *  mainDir;
0122 
0123         G4UIdirectory *  geometryDir;
0124 
0125         G4UIdirectory *  physicsDir;
0126 
0127         G4UIdirectory *  gunDir;
0128 
0129         G4UIdirectory *  detectorDir;
0130 
0131         G4UIdirectory *  eventDir;
0132 
0133         G4UIdirectory *  runDir;
0134 
0135         G4UIdirectory *  monitorDir;
0136 
0137         G4UIdirectory *  targetDir;
0138 
0139         G4UIdirectory *  vetoCounterDir;
0140 
0141         G4UIdirectory *  vetoCounterLeftDir;
0142 
0143         G4UIdirectory *  vetoCounterRightDir;
0144 
0145         G4UIdirectory *  calorimeterDir;
0146 
0147         G4UIdirectory *  calorimeterLeftDir;
0148 
0149         G4UIdirectory *  calorimeterRightDir;
0150 
0151         G4UIdirectory *  monitorEDDir;
0152 
0153         G4UIdirectory *  vetoCounterEDDir;
0154 
0155         G4UIdirectory *  vetoCounterLeftEDDir;
0156 
0157         G4UIdirectory *  vetoCounterRightEDDir;
0158 
0159         G4UIdirectory *  calorimeterEDDir;
0160 
0161         G4UIdirectory *  calorimeterLeftEDDir;
0162 
0163         G4UIdirectory *  calorimeterRightEDDir;
0164 
0165         G4UIdirectory *  reconstructorDir;
0166 
0167         G4UIdirectory *  visDir;
0168 
0169 #ifdef CEXMC_USE_ROOT
0170         G4UIdirectory *  histoDir;
0171 #endif
0172 };
0173 
0174 
0175 #endif
0176