| [819] | 1 | //
|
|---|
| 2 | // ********************************************************************
|
|---|
| 3 | // * License and Disclaimer *
|
|---|
| 4 | // * *
|
|---|
| 5 | // * The Geant4 software is copyright of the Copyright Holders of *
|
|---|
| 6 | // * the Geant4 Collaboration. It is provided under the terms and *
|
|---|
| 7 | // * conditions of the Geant4 Software License, included in the file *
|
|---|
| 8 | // * LICENSE and available at http://cern.ch/geant4/license . These *
|
|---|
| 9 | // * include a list of copyright holders. *
|
|---|
| 10 | // * *
|
|---|
| 11 | // * Neither the authors of this software system, nor their employing *
|
|---|
| 12 | // * institutes,nor the agencies providing financial support for this *
|
|---|
| 13 | // * work make any representation or warranty, express or implied, *
|
|---|
| 14 | // * regarding this software system or assume any liability for its *
|
|---|
| 15 | // * use. Please see the license in the file LICENSE and URL above *
|
|---|
| 16 | // * for the full disclaimer and the limitation of liability. *
|
|---|
| 17 | // * *
|
|---|
| 18 | // * This code implementation is the result of the scientific and *
|
|---|
| 19 | // * technical work of the GEANT4 collaboration. *
|
|---|
| 20 | // * By using, copying, modifying or distributing the software (or *
|
|---|
| 21 | // * any work based on the software) you agree to acknowledge its *
|
|---|
| 22 | // * use in resulting scientific publications, and indicate your *
|
|---|
| 23 | // * acceptance of all terms of the Geant4 Software license. *
|
|---|
| 24 | // ********************************************************************
|
|---|
| 25 | //
|
|---|
| [991] | 26 | // $Id: G4EmProcessOptions.hh,v 1.14 2008/04/17 10:33:26 vnivanch Exp $
|
|---|
| 27 | // GEANT4 tag $Name: geant4-09-02 $
|
|---|
| [819] | 28 | //
|
|---|
| 29 | //
|
|---|
| 30 | // -------------------------------------------------------------------
|
|---|
| 31 | //
|
|---|
| 32 | // GEANT4 Class header file
|
|---|
| 33 | //
|
|---|
| 34 | //
|
|---|
| 35 | // File name: G4EmProcessOptions
|
|---|
| 36 | //
|
|---|
| 37 | // Author: Vladimir Ivanchenko
|
|---|
| 38 | //
|
|---|
| 39 | // Creation date: 27.02.2004
|
|---|
| 40 | //
|
|---|
| 41 | // Modifications:
|
|---|
| 42 | // 10-01-06 PreciseRange -> CSDARange (V.Ivantchenko)
|
|---|
| 43 | // 22-05-06 Add SetBremsstrahlungTh (V.Ivanchenko)
|
|---|
| 44 | // 12-02-07 Add SetSkin, SetLinearLossLimit (V.Ivanchenko)
|
|---|
| 45 | //
|
|---|
| 46 | //
|
|---|
| 47 | // Class Description:
|
|---|
| 48 | //
|
|---|
| 49 | // Provide options for EM processes
|
|---|
| 50 |
|
|---|
| 51 | // -------------------------------------------------------------------
|
|---|
| 52 | //
|
|---|
| 53 |
|
|---|
| 54 | #ifndef G4EmProcessOptions_h
|
|---|
| 55 | #define G4EmProcessOptions_h 1
|
|---|
| 56 |
|
|---|
| 57 | #include <vector>
|
|---|
| 58 | #include "globals.hh"
|
|---|
| 59 | #include "G4MscStepLimitType.hh"
|
|---|
| 60 |
|
|---|
| 61 | class G4LossTableManager;
|
|---|
| 62 | class G4Region;
|
|---|
| 63 |
|
|---|
| 64 | class G4EmProcessOptions
|
|---|
| 65 | {
|
|---|
| 66 |
|
|---|
| 67 | public:
|
|---|
| 68 |
|
|---|
| 69 | G4EmProcessOptions();
|
|---|
| 70 |
|
|---|
| 71 | ~G4EmProcessOptions();
|
|---|
| 72 |
|
|---|
| 73 | void SetLossFluctuations(G4bool val);
|
|---|
| 74 |
|
|---|
| 75 | void SetSubCutoff(G4bool val, const G4Region* r=0);
|
|---|
| 76 |
|
|---|
| 77 | void SetIntegral(G4bool val);
|
|---|
| 78 |
|
|---|
| 79 | void SetMinSubRange(G4double val);
|
|---|
| 80 |
|
|---|
| 81 | void SetMinEnergy(G4double val);
|
|---|
| 82 |
|
|---|
| 83 | void SetMaxEnergy(G4double val);
|
|---|
| 84 |
|
|---|
| 85 | void SetMaxEnergyForCSDARange(G4double val);
|
|---|
| 86 |
|
|---|
| 87 | void SetMaxEnergyForMuons(G4double val);
|
|---|
| 88 |
|
|---|
| 89 | void SetDEDXBinning(G4int val);
|
|---|
| 90 |
|
|---|
| 91 | void SetDEDXBinningForCSDARange(G4int val);
|
|---|
| 92 |
|
|---|
| 93 | void SetLambdaBinning(G4int val);
|
|---|
| 94 |
|
|---|
| 95 | void SetStepFunction(G4double v1, G4double v2);
|
|---|
| 96 |
|
|---|
| 97 | void SetRandomStep(G4bool val);
|
|---|
| 98 |
|
|---|
| 99 | void SetApplyCuts(G4bool val);
|
|---|
| 100 |
|
|---|
| 101 | void SetBuildCSDARange(G4bool val);
|
|---|
| 102 |
|
|---|
| 103 | void SetVerbose(G4int val, const G4String& name = "all");
|
|---|
| 104 |
|
|---|
| 105 | void SetLambdaFactor(G4double val);
|
|---|
| 106 |
|
|---|
| 107 | void SetLinearLossLimit(G4double val);
|
|---|
| 108 |
|
|---|
| [991] | 109 | void ActivateDeexcitation(G4bool val, const G4Region* r = 0);
|
|---|
| [819] | 110 |
|
|---|
| 111 | void SetMscStepLimitation(G4MscStepLimitType val);
|
|---|
| 112 |
|
|---|
| 113 | void SetMscLateralDisplacement(G4bool val);
|
|---|
| 114 |
|
|---|
| 115 | void SetSkin(G4double val);
|
|---|
| 116 |
|
|---|
| 117 | void SetMscRangeFactor(G4double val);
|
|---|
| 118 |
|
|---|
| 119 | void SetMscGeomFactor(G4double val);
|
|---|
| 120 |
|
|---|
| 121 | void SetLPMFlag(G4bool val);
|
|---|
| 122 |
|
|---|
| [961] | 123 | void SetSplineFlag(G4bool val);
|
|---|
| 124 |
|
|---|
| [819] | 125 | void SetBremsstrahlungTh(G4double val);
|
|---|
| 126 |
|
|---|
| [961] | 127 | void SetPolarAngleLimit(G4double val);
|
|---|
| 128 |
|
|---|
| [819] | 129 | private:
|
|---|
| 130 |
|
|---|
| 131 | G4EmProcessOptions & operator=(const G4EmProcessOptions &right);
|
|---|
| 132 | G4EmProcessOptions(const G4EmProcessOptions&);
|
|---|
| 133 |
|
|---|
| 134 | G4LossTableManager* theManager;
|
|---|
| 135 |
|
|---|
| 136 | };
|
|---|
| 137 |
|
|---|
| 138 | //....oooOO0OOooo.......oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
|
|---|
| 139 |
|
|---|
| 140 | #endif
|
|---|