125 lines
3.6 KiB
C++
125 lines
3.6 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. *
|
|
// ********************************************************************
|
|
//
|
|
// $Id: G4EmProcessOptions.hh,v 1.9 2006/06/29 19:54:29 gunter Exp $
|
|
// GEANT4 tag $Name: geant4-08-02 $
|
|
//
|
|
//
|
|
// -------------------------------------------------------------------
|
|
//
|
|
// GEANT4 Class header file
|
|
//
|
|
//
|
|
// File name: G4EmProcessOptions
|
|
//
|
|
// Author: Vladimir Ivanchenko
|
|
//
|
|
// Creation date: 27.02.2004
|
|
//
|
|
// Modifications:
|
|
// 10-01-06 PreciseRange -> CSDARange (V.Ivantchenko)
|
|
// 22-05-06 Add SetBremsstrahlungTh (V.Ivanchenko)
|
|
//
|
|
//
|
|
// Class Description:
|
|
//
|
|
// Provide options for EM processes
|
|
|
|
// -------------------------------------------------------------------
|
|
//
|
|
|
|
#ifndef G4EmProcessOptions_h
|
|
#define G4EmProcessOptions_h 1
|
|
|
|
#include <vector>
|
|
#include "globals.hh"
|
|
|
|
class G4LossTableManager;
|
|
class G4Region;
|
|
|
|
class G4EmProcessOptions
|
|
{
|
|
|
|
public:
|
|
|
|
G4EmProcessOptions();
|
|
|
|
~G4EmProcessOptions();
|
|
|
|
void SetLossFluctuations(G4bool val);
|
|
|
|
void SetSubCutoff(G4bool val, const G4Region* r=0);
|
|
|
|
void SetIntegral(G4bool val);
|
|
|
|
void SetMinSubRange(G4double val);
|
|
|
|
void SetMinEnergy(G4double val);
|
|
|
|
void SetMaxEnergy(G4double val);
|
|
|
|
void SetMaxEnergyForCSDARange(G4double val);
|
|
|
|
void SetMaxEnergyForMuons(G4double val);
|
|
|
|
void SetDEDXBinning(G4int val);
|
|
|
|
void SetDEDXBinningForCSDARange(G4int val);
|
|
|
|
void SetLambdaBinning(G4int val);
|
|
|
|
void SetStepFunction(G4double v1, G4double v2);
|
|
|
|
void SetRandomStep(G4bool val);
|
|
|
|
void SetApplyCuts(G4bool val);
|
|
|
|
void SetBuildCSDARange(G4bool val);
|
|
|
|
void SetVerbose(G4int val, const G4String& name = "all");
|
|
|
|
void SetLambdaFactor(G4double val);
|
|
|
|
void ActivateDeexcitation(G4bool val, const G4Region* r = 0);
|
|
|
|
void SetMscStepLimitation(G4bool algorithm, G4double factor = -1.);
|
|
|
|
void SetLPMFlag(G4bool val);
|
|
|
|
void SetBremsstrahlungTh(G4double val);
|
|
|
|
private:
|
|
|
|
G4EmProcessOptions & operator=(const G4EmProcessOptions &right);
|
|
G4EmProcessOptions(const G4EmProcessOptions&);
|
|
|
|
G4LossTableManager* theManager;
|
|
|
|
};
|
|
|
|
//....oooOO0OOooo.......oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|
|
|
#endif
|