G4AdjointhMultipleScattering.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 // $Id: G4AdjointhMultipleScattering.hh 69844 2013-05-16 09:19:33Z gcosmo $
00027 //
00029 //      Class:          G4AdjointhMultipleScattering
00030 //      Author:         L. Desorgher
00031 //      Organisation:   SpaceIT GmbH
00032 //      Contract:       ESA contract 21435/08/NL/AT
00033 //      Customer:       ESA/ESTEC
00035 //
00036 // GEANT4 Class header file
00037 //
00038 // File name:     G4AdjointhMultipleScattering
00039 //
00040 // Author:        Desorgher Laurent
00041 //
00042 // Creation date: 03.06.2009 cloned from G4hMultipleScattering by U.Laszlo with slight modification for adjoint_ion. 
00043 //
00044 //
00045 //------------------------------------------------------------------------------
00047 //
00048 // CHANGE HISTORY
00049 // --------------
00050 //      ChangeHistory: 
00051 //              03.06.2009  Creation by L. Desorgher. Cloned from G4hMultipleScattering by U.Laszlo with slight modifications.                  
00052 //              09.11.2009  Remove      AlongStepGetPhysicalInteractionLength, to call the one of the base class.
00053 //-------------------------------------------------------------
00054 //      Documentation:
00055 //              The class simulates the multiple scattering for adjoint proton of charged particle. In this approximate implementation the reverse multiple scattering 
00056 //              is the same than the foward one. This should be changed in the future to have the MultipleScaterring computed for the energy  at the end of the step 
00057 //              and not before the step. 
00058 //
00059 
00060 
00061 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00062 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00063 
00064 #ifndef G4AdjointhMultipleScattering_h
00065 #define G4AdjointhMultipleScattering_h 1
00066 
00067 #include "G4VMultipleScattering.hh"
00068 
00069 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00070 
00071 class G4VMscModel;
00072 
00073 class G4AdjointhMultipleScattering : public G4VMultipleScattering
00074 
00075 {
00076 public:    // with description
00077 
00078   G4AdjointhMultipleScattering(const G4String& processName="msc");
00079 
00080   virtual ~G4AdjointhMultipleScattering();
00081 
00082   // returns true for charged particles, false otherwise
00083   G4bool IsApplicable (const G4ParticleDefinition& p);
00084 
00085   // PrG4int few lines of informations about the process: validity range,
00086   void PrintInfo();
00087 
00088   // geom. step length distribution should be sampled or not
00089   void Setsamplez(G4bool value) { samplez = value;};
00090 
00091   // to reduce the energy/step dependence
00092   void Setdtrl(G4double value) { dtrl = value;};
00093 
00094   // 'soften' step limitation above lambdalimit
00095   void SetLambdalimit(G4double value) { lambdalimit = value;};
00096 
00097  /* // The function overloads the corresponding function of the base
00098   // class.It limits the step near to boundaries only
00099   // and invokes the method GetMscContinuousStepLimit at every step.
00100   G4double AlongStepGetPhysicalInteractionLength(
00101                                             const G4Track&,
00102                                             G4double  previousStepSize,
00103                                             G4double  currentMinimalStep,
00104                                             G4double& currentSafety,
00105                                             G4GPILSelection* selection);
00106         */                                  
00107 
00108 protected:
00109 
00110   // This function initialise models
00111   void InitialiseProcess(const G4ParticleDefinition*);
00112 
00113 private:        // data members
00114 
00115   G4VMscModel* mscUrban;
00116 
00117   G4double lambdalimit;
00118   G4double dtrl;
00119 
00120   G4bool   samplez;
00121   G4bool   isInitialized;
00122   G4bool   isIon;
00123 
00124 };
00125 
00126 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
00127 
00128 #endif
00129 

Generated on Mon May 27 17:47:37 2013 for Geant4 by  doxygen 1.4.7