G4XAnnihilationChannel.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 //
00027 
00028 #ifndef G4XAnnihilationChannel_h
00029 #define G4XAnnihilationChannel_h
00030 
00031 #include "globals.hh"
00032 #include "G4VCrossSectionSource.hh"
00033 #include "G4CrossSectionVector.hh"
00034 #include "G4Clebsch.hh"
00035 #include "G4ResonanceNames.hh"
00036 
00037 #include <map>
00038 
00039 class G4ParticleDefinition;
00040 class G4PhysicsVector;
00041 class G4KineticTrack;
00042 class G4ResonanceWidth;
00043 class G4ResonancePartialWidth;
00044 class G4PartialWidthTable;
00045 
00046 class G4XAnnihilationChannel : public G4VCrossSectionSource
00047 {
00048 public:
00049 
00050   G4XAnnihilationChannel();
00051 
00052   G4XAnnihilationChannel(const G4ParticleDefinition* resDefinition,
00053                          const G4ResonanceWidth& resWidths,
00054                          const G4ResonancePartialWidth& resPartWidths,
00055                          const G4String& partWidthLabel);
00056 
00057   virtual ~G4XAnnihilationChannel();
00058 
00059   G4bool operator==(const G4XAnnihilationChannel &right) const;
00060   G4bool operator!=(const G4XAnnihilationChannel &right) const;
00061 
00062   virtual G4double CrossSection(const G4KineticTrack& trk1, const G4KineticTrack& trk2) const;
00063  
00064   virtual const G4CrossSectionVector* GetComponents() const { return 0; }
00065 
00066   virtual G4bool IsValid(G4double e) const;
00067 
00068   virtual G4String Name() const;
00069 
00070 
00071 protected:
00072 
00073 private:  
00074 
00075   G4XAnnihilationChannel(const G4XAnnihilationChannel &right);
00076   const G4XAnnihilationChannel& operator=(const G4XAnnihilationChannel &right);
00077   
00078   G4double Branch(const G4KineticTrack& trk1, 
00079                   const G4KineticTrack& trk2) const;
00080 
00081   G4double VariableWidth(const G4KineticTrack& trk1, 
00082                          const G4KineticTrack& trk2) const;
00083  
00084   G4double VariablePartialWidth(const G4KineticTrack& trk1, 
00085                                 const G4KineticTrack& trk2) const;
00086 
00087   G4double NormalizedClebsch(const G4KineticTrack& trk1, 
00088                              const G4KineticTrack& trk2) const;
00089 
00090   G4double lowLimit;
00091   G4double highLimit;
00092 
00093   G4Clebsch clebsch;
00094   G4ResonanceNames theNames;
00095   
00096   // Owned pointers
00097   G4PhysicsVector* widthTable;
00098   G4PhysicsVector* partWidthTable;
00099 
00100   // Unowned pointer
00101   const G4ParticleDefinition* resonance;
00102 };
00103 
00104 #endif
00105 
00106 
00107 
00108 
00109 
00110 
00111 
00112 
00113 
00114 
00115 
00116 
00117 
00118 
00119 
00120 
00121 
00122 

Generated on Mon May 27 17:50:26 2013 for Geant4 by  doxygen 1.4.7