Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:48

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 //
0030 // ClassName:   G4OpticalPhysicsMessenger
0031 //
0032 // Author:      P.Gumplinger 30.09.2009
0033 //
0034 // Modified:    P.Gumplinger 29.09.2011
0035 //              (based on code from I. Hrivnacova)
0036 //
0037 //----------------------------------------------------------------------------
0038 //
0039 // This class defines commands for the optical physics
0040 //
0041 
0042 #ifndef G4OpticalParametersMessenger_h
0043 #define G4OpticalParametersMessenger_h 1
0044 
0045 #include "G4UImessenger.hh"
0046 
0047 #include "globals.hh"
0048 
0049 class G4VProcess;
0050 class G4OpticalParameters;
0051 
0052 class G4UIdirectory;
0053 class G4UIcmdWithABool;
0054 class G4UIcmdWithADouble;
0055 class G4UIcmdWithAString;
0056 class G4UIcmdWithAnInteger;
0057 class G4UIcommand;
0058 
0059 // Messenger class that defines commands for the optical physics
0060 
0061 class G4OpticalParametersMessenger : public G4UImessenger
0062 {
0063  public:
0064   G4OpticalParametersMessenger(G4OpticalParameters*);
0065   virtual ~G4OpticalParametersMessenger();
0066 
0067   // methods
0068   virtual void SetNewValue(G4UIcommand*, G4String);
0069 
0070  private:
0071   G4OpticalParametersMessenger() = delete;
0072   G4OpticalParametersMessenger(const G4OpticalParametersMessenger& right) =
0073     delete;
0074   G4OpticalParametersMessenger& operator=(
0075     const G4OpticalParametersMessenger& right) = delete;
0076 
0077   // data members
0078 
0079   /// associated class
0080   G4OpticalParameters* params;
0081 
0082   /// command directory
0083   G4UIdirectory* fDir;
0084   G4UIdirectory* fCerenkovDir;
0085   G4UIdirectory* fScintDir;
0086   G4UIdirectory* fWlsDir;
0087   G4UIdirectory* fWls2Dir;
0088   G4UIdirectory* fBoundaryDir;
0089   G4UIdirectory* fMieDir;
0090   G4UIdirectory* fAbsDir;
0091   G4UIdirectory* fRaylDir;
0092 
0093   /// selectOpProcess command
0094   G4UIcommand* fActivateProcessCmd;
0095 
0096   /// setProcessVerbose command
0097   G4UIcmdWithAnInteger* fVerboseCmd;
0098 
0099   // Cerenkov
0100 
0101   // setCerenkovMaxPhotons command
0102   G4UIcmdWithAnInteger* fCerenkovMaxPhotonsCmd;
0103 
0104   /// setCerenkovMaxBetaChange command
0105   G4UIcmdWithADouble* fCerenkovMaxBetaChangeCmd;
0106 
0107   /// setStackPhotons command
0108   G4UIcmdWithABool* fCerenkovStackPhotonsCmd;
0109 
0110   G4UIcmdWithABool* fCerenkovTrackSecondariesFirstCmd;
0111   G4UIcmdWithAnInteger* fCerenkovVerboseLevelCmd;
0112 
0113   // Scintillation
0114 
0115   /// setScintillationByParticleType command
0116   G4UIcmdWithABool* fScintByParticleTypeCmd;
0117 
0118   /// setScintillationTrackInfo command
0119   G4UIcmdWithABool* fScintTrackInfoCmd;
0120 
0121   /// setStackPhotons command
0122   G4UIcmdWithABool* fScintStackPhotonsCmd;
0123 
0124   G4UIcmdWithABool* fScintTrackSecondariesFirstCmd;
0125 
0126   /// setFiniteRiseTime command
0127   G4UIcmdWithABool* fScintFiniteRiseTimeCmd;
0128 
0129   G4UIcmdWithAnInteger* fScintVerboseLevelCmd;
0130 
0131   // WLS
0132 
0133   /// setWLSTimeProfile command
0134   G4UIcmdWithAString* fWLSTimeProfileCmd;
0135   G4UIcmdWithAnInteger* fWLSVerboseLevelCmd;
0136 
0137   // WLS2
0138 
0139   /// setWLS2TimeProfile command
0140   G4UIcmdWithAString* fWLS2TimeProfileCmd;
0141   G4UIcmdWithAnInteger* fWLS2VerboseLevelCmd;
0142 
0143   /// setInvokeSD command
0144   G4UIcmdWithABool* fBoundaryInvokeSDCmd;
0145   G4UIcmdWithAnInteger* fBoundaryVerboseLevelCmd;
0146 
0147   G4UIcmdWithAnInteger* fAbsorptionVerboseLevelCmd;
0148   G4UIcmdWithAnInteger* fRayleighVerboseLevelCmd;
0149   G4UIcmdWithAnInteger* fMieVerboseLevelCmd;
0150 
0151   G4UIcommand* fDumpCmd;
0152 };
0153 
0154 #endif  // G4OpticalParametersMessenger_h