Files
geant4/source/processes/electromagnetic/utils/include/G4OpticalParametersMessenger.hh
T
2021-12-10 16:15:15 +00:00

155 lines
4.7 KiB
C++

//
// ********************************************************************
// * License and Disclaimer *
// * *
// * The Geant4 software is copyright of the Copyright Holders of *
// * the Geant4 Collaboration. It is provided under the terms and *
// * conditions of the Geant4 Software License, included in the file *
// * LICENSE and available at http://cern.ch/geant4/license . These *
// * include a list of copyright holders. *
// * *
// * Neither the authors of this software system, nor their employing *
// * institutes,nor the agencies providing financial support for this *
// * work make any representation or warranty, express or implied, *
// * regarding this software system or assume any liability for its *
// * use. Please see the license in the file LICENSE and URL above *
// * for the full disclaimer and the limitation of liability. *
// * *
// * This code implementation is the result of the scientific and *
// * technical work of the GEANT4 collaboration. *
// * By using, copying, modifying or distributing the software (or *
// * any work based on the software) you agree to acknowledge its *
// * use in resulting scientific publications, and indicate your *
// * acceptance of all terms of the Geant4 Software license. *
// ********************************************************************
//
//
//
//---------------------------------------------------------------------------
//
// ClassName: G4OpticalPhysicsMessenger
//
// Author: P.Gumplinger 30.09.2009
//
// Modified: P.Gumplinger 29.09.2011
// (based on code from I. Hrivnacova)
//
//----------------------------------------------------------------------------
//
// This class defines commands for the optical physics
//
#ifndef G4OpticalParametersMessenger_h
#define G4OpticalParametersMessenger_h 1
#include "G4UImessenger.hh"
#include "globals.hh"
class G4VProcess;
class G4OpticalParameters;
class G4UIdirectory;
class G4UIcmdWithABool;
class G4UIcmdWithADouble;
class G4UIcmdWithAString;
class G4UIcmdWithAnInteger;
class G4UIcommand;
// Messenger class that defines commands for the optical physics
class G4OpticalParametersMessenger : public G4UImessenger
{
public:
G4OpticalParametersMessenger(G4OpticalParameters*);
virtual ~G4OpticalParametersMessenger();
// methods
virtual void SetNewValue(G4UIcommand*, G4String);
private:
G4OpticalParametersMessenger() = delete;
G4OpticalParametersMessenger(const G4OpticalParametersMessenger& right) =
delete;
G4OpticalParametersMessenger& operator=(
const G4OpticalParametersMessenger& right) = delete;
// data members
/// associated class
G4OpticalParameters* params;
/// command directory
G4UIdirectory* fDir;
G4UIdirectory* fCerenkovDir;
G4UIdirectory* fScintDir;
G4UIdirectory* fWlsDir;
G4UIdirectory* fWls2Dir;
G4UIdirectory* fBoundaryDir;
G4UIdirectory* fMieDir;
G4UIdirectory* fAbsDir;
G4UIdirectory* fRaylDir;
/// selectOpProcess command
G4UIcommand* fActivateProcessCmd;
/// setProcessVerbose command
G4UIcmdWithAnInteger* fVerboseCmd;
// Cerenkov
// setCerenkovMaxPhotons command
G4UIcmdWithAnInteger* fCerenkovMaxPhotonsCmd;
/// setCerenkovMaxBetaChange command
G4UIcmdWithADouble* fCerenkovMaxBetaChangeCmd;
/// setStackPhotons command
G4UIcmdWithABool* fCerenkovStackPhotonsCmd;
G4UIcmdWithABool* fCerenkovTrackSecondariesFirstCmd;
G4UIcmdWithAnInteger* fCerenkovVerboseLevelCmd;
// Scintillation
/// setScintillationByParticleType command
G4UIcmdWithABool* fScintByParticleTypeCmd;
/// setScintillationTrackInfo command
G4UIcmdWithABool* fScintTrackInfoCmd;
/// setStackPhotons command
G4UIcmdWithABool* fScintStackPhotonsCmd;
G4UIcmdWithABool* fScintTrackSecondariesFirstCmd;
/// setFiniteRiseTime command
G4UIcmdWithABool* fScintFiniteRiseTimeCmd;
G4UIcmdWithAnInteger* fScintVerboseLevelCmd;
// WLS
/// setWLSTimeProfile command
G4UIcmdWithAString* fWLSTimeProfileCmd;
G4UIcmdWithAnInteger* fWLSVerboseLevelCmd;
// WLS2
/// setWLS2TimeProfile command
G4UIcmdWithAString* fWLS2TimeProfileCmd;
G4UIcmdWithAnInteger* fWLS2VerboseLevelCmd;
/// setInvokeSD command
G4UIcmdWithABool* fBoundaryInvokeSDCmd;
G4UIcmdWithAnInteger* fBoundaryVerboseLevelCmd;
G4UIcmdWithAnInteger* fAbsorptionVerboseLevelCmd;
G4UIcmdWithAnInteger* fRayleighVerboseLevelCmd;
G4UIcmdWithAnInteger* fMieVerboseLevelCmd;
G4UIcommand* fDumpCmd;
};
#endif // G4OpticalParametersMessenger_h