G4PolarizedComptonModel.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: G4PolarizedComptonModel.hh 69847 2013-05-16 09:36:18Z gcosmo $
00027 //
00028 // -------------------------------------------------------------------
00029 //
00030 // GEANT4 Class header file
00031 //
00032 //
00033 // File name:     G4PolarizedComptonModel
00034 //
00035 // Author:        Andreas Schaelicke
00036 //
00037 // Creation date: 01.05.2005
00038 //
00039 // Modifications:
00040 // 18-07-06 use newly calculated cross sections (P. Starovoitov)
00041 // 21-08-05 update interface (A. Schaelicke)
00042 //
00043 //
00044 // Class Description:
00045 //
00046 // Implementation of polarized gamma Compton scattering on free electron
00047 // 
00048 
00049 // -------------------------------------------------------------------
00050 //
00051 
00052 #ifndef G4PolarizedComptonModel_h
00053 #define G4PolarizedComptonModel_h 1
00054 
00055 #include "G4KleinNishinaCompton.hh"
00056 #include "G4StokesVector.hh"
00057 
00058 class G4ParticleChangeForGamma;
00059 class G4PolarizedComptonCrossSection;
00060 
00061 class G4PolarizedComptonModel : public G4KleinNishinaCompton
00062 {
00063 
00064 public:
00065 
00066   G4PolarizedComptonModel(const G4ParticleDefinition* p = 0, 
00067                         const G4String& nam = "Polarized-Compton");
00068 
00069   virtual G4double ComputeCrossSectionPerAtom(
00070                                 const G4ParticleDefinition*,
00071                                       G4double kinEnergy, 
00072                                       G4double Z, 
00073                                       G4double A, 
00074                                       G4double cut,
00075                                       G4double emax);
00076   G4double ComputeAsymmetryPerAtom(G4double gammaEnergy, G4double Z);
00077   virtual ~G4PolarizedComptonModel();
00078 
00079   virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
00080                                  const G4MaterialCutsCouple*,
00081                                  const G4DynamicParticle*,
00082                                  G4double tmin,
00083                                  G4double maxEnergy);
00084 
00085   // polarized routines 
00086   inline void SetTargetPolarization(const G4ThreeVector & pTarget);
00087   inline void SetBeamPolarization(const G4ThreeVector & pBeam);
00088   inline const G4ThreeVector & GetTargetPolarization() const;
00089   inline const G4ThreeVector & GetBeamPolarization() const;
00090   inline const G4ThreeVector & GetFinalGammaPolarization() const;
00091   inline const G4ThreeVector & GetFinalElectronPolarization() const;
00092 private:
00093 
00094   // hide assignment operator
00095   G4PolarizedComptonModel & operator=(const  G4PolarizedComptonModel &right);
00096   G4PolarizedComptonModel(const  G4PolarizedComptonModel&);
00097 
00098   G4PolarizedComptonCrossSection * crossSectionCalculator;
00099   // incomming
00100   G4StokesVector theBeamPolarization;    // photon
00101   G4StokesVector theTargetPolarization;  // electron
00102   // outgoing
00103   G4StokesVector finalGammaPolarization;
00104   G4StokesVector finalElectronPolarization;
00105 
00106   G4int verboseLevel;
00107 };
00108 
00109 //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
00110 
00111 inline void G4PolarizedComptonModel::SetTargetPolarization(const G4ThreeVector & pTarget)
00112 {
00113   theTargetPolarization = pTarget;
00114 }
00115 inline void G4PolarizedComptonModel::SetBeamPolarization(const G4ThreeVector & pBeam)
00116 {
00117   theBeamPolarization = pBeam;
00118 }
00119 inline const G4ThreeVector & G4PolarizedComptonModel::GetTargetPolarization() const
00120 {
00121   return theTargetPolarization;
00122 }
00123 inline const G4ThreeVector & G4PolarizedComptonModel::GetBeamPolarization() const
00124 {
00125   return theBeamPolarization;
00126 }
00127 inline const G4ThreeVector &  G4PolarizedComptonModel::GetFinalGammaPolarization() const
00128 {
00129   return finalGammaPolarization;
00130 }
00131 inline const G4ThreeVector & G4PolarizedComptonModel::GetFinalElectronPolarization() const
00132 {
00133   return finalElectronPolarization;
00134 }
00135 
00136 #endif

Generated on Mon May 27 17:49:23 2013 for Geant4 by  doxygen 1.4.7