| 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 | //
|
|---|
| 26 | // $Id: G4PolarizedPEEffectModel.hh,v 1.1 2007/11/01 17:29:09 schaelic Exp $
|
|---|
| 27 | // GEANT4 tag $Name: geant4-09-04-beta-01 $
|
|---|
| 28 | //
|
|---|
| 29 | // -------------------------------------------------------------------
|
|---|
| 30 | //
|
|---|
| 31 | // GEANT4 Class header file
|
|---|
| 32 | //
|
|---|
| 33 | //
|
|---|
| 34 | // File name: G4PolarizedPEEffectModel
|
|---|
| 35 | //
|
|---|
| 36 | // Author: Andreas Schaelicke & Karim Laihem
|
|---|
| 37 | //
|
|---|
| 38 | // Creation date: 22.02.2007
|
|---|
| 39 | //
|
|---|
| 40 | // Modifications:
|
|---|
| 41 | // 02.08.2007 : adapt to design change in version 4.9 (AS)
|
|---|
| 42 | //
|
|---|
| 43 | //
|
|---|
| 44 | // Class Description:
|
|---|
| 45 | //
|
|---|
| 46 | // Implementation of polarization transfer in Photoelectric Effect
|
|---|
| 47 | //
|
|---|
| 48 |
|
|---|
| 49 | // -------------------------------------------------------------------
|
|---|
| 50 | //
|
|---|
| 51 |
|
|---|
| 52 | #ifdef NOIONIZATIONAS
|
|---|
| 53 | #define G4PolarizedPEEffectModel_h 1
|
|---|
| 54 | #endif
|
|---|
| 55 |
|
|---|
| 56 | #ifndef G4PolarizedPEEffectModel_h
|
|---|
| 57 | #define G4PolarizedPEEffectModel_h 1
|
|---|
| 58 |
|
|---|
| 59 | #include "G4PEEffectModel.hh"
|
|---|
| 60 | #include "G4StokesVector.hh"
|
|---|
| 61 |
|
|---|
| 62 |
|
|---|
| 63 | class G4PolarizedPEEffectCrossSection;
|
|---|
| 64 |
|
|---|
| 65 | class G4PolarizedPEEffectModel : public G4PEEffectModel
|
|---|
| 66 | {
|
|---|
| 67 |
|
|---|
| 68 | public:
|
|---|
| 69 |
|
|---|
| 70 | G4PolarizedPEEffectModel(const G4ParticleDefinition* p = 0,
|
|---|
| 71 | const G4String& nam = "Polarized-PhotoElectric");
|
|---|
| 72 |
|
|---|
| 73 | void Initialise(const G4ParticleDefinition* pd, const G4DataVector& dv);
|
|---|
| 74 | virtual ~G4PolarizedPEEffectModel();
|
|---|
| 75 |
|
|---|
| 76 | virtual void SampleSecondaries(std::vector<G4DynamicParticle*>*,
|
|---|
| 77 | const G4MaterialCutsCouple*,
|
|---|
| 78 | const G4DynamicParticle*,
|
|---|
| 79 | G4double tmin,
|
|---|
| 80 | G4double maxEnergy);
|
|---|
| 81 |
|
|---|
| 82 | // polarized routines
|
|---|
| 83 | /*
|
|---|
| 84 | inline void SetTargetPolarization(const G4ThreeVector & pTarget);
|
|---|
| 85 | inline void SetBeamPolarization(const G4ThreeVector & pBeam);
|
|---|
| 86 | inline const G4ThreeVector & GetTargetPolarization() const;
|
|---|
| 87 | inline const G4ThreeVector & GetBeamPolarization() const;
|
|---|
| 88 | inline const G4ThreeVector & GetFinalGammaPolarization() const;
|
|---|
| 89 | inline const G4ThreeVector & GetFinalElectronPolarization() const;
|
|---|
| 90 | */
|
|---|
| 91 | private:
|
|---|
| 92 |
|
|---|
| 93 | // hide assignment operator
|
|---|
| 94 | G4PolarizedPEEffectModel & operator=(const G4PolarizedPEEffectModel &right);
|
|---|
| 95 | G4PolarizedPEEffectModel(const G4PolarizedPEEffectModel&);
|
|---|
| 96 |
|
|---|
| 97 | G4PolarizedPEEffectCrossSection * crossSectionCalculator;
|
|---|
| 98 | // incomming
|
|---|
| 99 | G4StokesVector theBeamPolarization; // photon
|
|---|
| 100 | // outgoing
|
|---|
| 101 | G4StokesVector finalElectronPolarization;
|
|---|
| 102 |
|
|---|
| 103 | G4int verboseLevel;
|
|---|
| 104 | };
|
|---|
| 105 |
|
|---|
| 106 | //....oooOO0OOooo........oooOO0OOooo........oooOO0OOooo........oooOO0OOooo....
|
|---|
| 107 |
|
|---|
| 108 |
|
|---|
| 109 | #endif
|
|---|