Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-02-23 09:20:46

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 /// \file biasing/ReverseMC01/include/G4AdjointPhysicsList.hh
0027 /// \brief Definition of the G4AdjointPhysicsList class
0028 //
0029 //
0030 //////////////////////////////////////////////////////////////
0031 //  Class Name:             G4AdjointPhysicsList
0032 //        Author:               L. Desorgher
0033 //        Organisation:         SpaceIT GmbH
0034 //        Contract:        ESA contract 21435/08/NL/AT
0035 //        Customer:             ESA/ESTEC
0036 //////////////////////////////////////////////////////////////
0037 // CHANGE HISTORY
0038 //--------------
0039 //      ChangeHistory:
0040 //                 17-11-2009 creation by L. Desorgher
0041 //
0042 //-------------------------------------------------------------
0043 
0044 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0045 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0046 
0047 #ifndef G4AdjointPhysicsList_h
0048 #define G4AdjointPhysicsList_h 1
0049 #include "G4VUserPhysicsList.hh"
0050 #include "G4eIonisation.hh"
0051 #include "G4hIonisation.hh"
0052 #include "globals.hh"
0053 class G4AdjointPhysicsMessenger;
0054 
0055 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0056 
0057 class G4AdjointPhysicsList : public G4VUserPhysicsList
0058 {
0059   public:
0060     G4AdjointPhysicsList();
0061     virtual ~G4AdjointPhysicsList();
0062     void SetLossFluctuationFlag(bool aBool);
0063     inline void SetUseIonisation(bool aBool) { fUse_eionisation = aBool; }
0064     inline void SetUseProtonIonisation(bool aBool) { fUse_pionisation = aBool; }
0065     inline void SetUseBrem(bool aBool) { fUse_brem = aBool; }
0066     inline void SetUseCompton(bool aBool) { fUse_compton = aBool; }
0067     inline void SetUseMS(bool aBool) { fUse_ms = aBool; }
0068     inline void SetUsePEEffect(bool aBool) { fUse_peeffect = aBool; }
0069     inline void SetUseGammaConversion(bool aBool) { fUse_gamma_conversion = aBool; }
0070     inline void SetUseEgainFluctuation(bool aBool) { fUse_egain_fluctuation = aBool; }
0071     inline void SetEminAdjModels(G4double aVal) { fEmin_adj_models = aVal; }
0072     inline void SetEmaxAdjModels(G4double aVal) { fEmax_adj_models = aVal; }
0073 
0074   protected:
0075     // Construct particle and physics
0076     virtual void ConstructParticle();
0077     virtual void ConstructProcess();
0078     virtual void SetCuts();
0079 
0080     // these methods Construct particles
0081     void ConstructBosons();
0082     void ConstructLeptons();
0083     void ConstructMesons();
0084     void ConstructBaryons();
0085     void ConstructAdjointParticles();
0086 
0087     // these methods Construct physics processes and register them
0088     void ConstructGeneral();
0089     void ConstructEM();
0090     G4eIonisation* fEminusIonisation;
0091     G4hIonisation* fPIonisation;
0092 
0093   private:
0094     G4AdjointPhysicsMessenger* fPhysicsMessenger;
0095     G4bool fUse_forced_interaction;
0096     G4bool fUse_eionisation;
0097     G4bool fUse_pionisation;
0098     G4bool fUse_brem;
0099     G4bool fUse_compton;
0100     G4bool fUse_ms;
0101     G4bool fUse_egain_fluctuation;
0102     G4bool fUse_peeffect;
0103     G4bool fUse_gamma_conversion;
0104     G4double fEmin_adj_models;
0105     G4double fEmax_adj_models;
0106     G4double fCS_biasing_factor_compton;
0107     G4double fCS_biasing_factor_brem;
0108     G4double fCS_biasing_factor_ionisation;
0109     G4double fCS_biasing_factor_PEeffect;
0110 };
0111 
0112 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo......
0113 
0114 #endif