Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:58:19

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 ///////////////////////////////////////////////////////////////////////////
0027 //
0028 // Rough process describing a radiator of X-ray transition radiation.
0029 // Thicknesses of plates and gas gaps are distributed according to gamma
0030 // distribution. x are thicknesses of plates or gas gaps:
0031 //
0032 // p(x) = (alpha/<x>)^alpha * x^(alpha-1) * std::exp(-alpha*x/<x>) / G(alpha)
0033 //
0034 // G(alpha) is Euler's gamma function.
0035 // Plates have mean <x> = fPlateThick > 0 and power alpha = fAlphaPlate > 0 :
0036 // Gas gaps have mean <x> = fGasThick > 0 and power alpha = fAlphaGas > 0 :
0037 // We suppose that:
0038 // formation zone ~ mean thickness << absorption length
0039 // for each material and in the range 1-100 keV. This allows us to simplify
0040 // interference effects in radiator stack (GetStackFactor method).
0041 //
0042 // History:
0043 // 21.01.02 V. Grichine, first version
0044 //
0045 
0046 #ifndef G4GammaXTRadiator_h
0047 #define G4GammaXTRadiator_h 1
0048 
0049 #include "G4LogicalVolume.hh"
0050 #include "G4Material.hh"
0051 #include "G4VXTRenergyLoss.hh"
0052 
0053 class G4GammaXTRadiator : public G4VXTRenergyLoss
0054 {
0055  public:
0056   explicit G4GammaXTRadiator(G4LogicalVolume* anEnvelope, G4double, G4double,
0057                              G4Material*, G4Material*, G4double, G4double,
0058                              G4int,
0059                              const G4String& processName = "XTRgammaRadiator");
0060   ~G4GammaXTRadiator();
0061 
0062   void ProcessDescription(std::ostream&) const override;
0063   void DumpInfo() const override { ProcessDescription(G4cout); };
0064 
0065   G4double GetStackFactor(G4double energy, G4double gamma,
0066                           G4double varAngle) override;
0067 };
0068 
0069 #endif