Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/Geant4/G4XResonance.hh was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

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 #ifndef G4XRESONANCE_HH
0028 #define G4XRESONANCE_HH
0029 
0030 #include "globals.hh"
0031 #include "G4PhysicsVector.hh"
0032 #include "G4VCrossSectionSource.hh"
0033 #include "G4ParticleDefinition.hh"
0034 #include "G4VXResonanceTable.hh"
0035 #include "G4VXResonance.hh"
0036 
0037 class G4KineticTrack;
0038 
0039 class G4XResonance : public G4VXResonance
0040 
0041 {
0042 
0043 public:
0044 
0045   G4XResonance(const G4ParticleDefinition* in1, 
0046            const G4ParticleDefinition* in2,
0047            G4int iIsospinOut1, G4double iSpinOut1, G4double massOut1,
0048            G4int iIsospinOut2, G4double iSpinOut2, G4double massOut2,
0049            G4String subType1, G4String subType2,
0050            const G4VXResonanceTable& sigmaTable);
0051 
0052   virtual ~G4XResonance();
0053 
0054   G4bool operator==(const G4XResonance &right) const;
0055   G4bool operator!=(const G4XResonance &right) const;
0056 
0057   virtual G4double CrossSection(const G4KineticTrack& trk1, const G4KineticTrack& trk2) const;
0058 
0059   virtual const G4CrossSectionVector* GetComponents() const { return 0; }
0060 
0061   virtual G4String Name() const;
0062 
0063 
0064 protected:
0065 
0066 
0067 private:  
0068 
0069   G4XResonance(const G4XResonance &right);
0070   G4XResonance& operator=(const G4XResonance &right);
0071   
0072   G4int isoOut1;
0073   G4double iSpinOut1;
0074   G4double mOut1;
0075   
0076   G4int isoOut2;
0077   G4double iSpinOut2;
0078   G4double mOut2;
0079 
0080   // Owned pointer
0081   G4PhysicsVector* table;
0082 
0083   G4String name;
0084 
0085 };
0086 
0087 #endif
0088 
0089 
0090 
0091 
0092 
0093 
0094 
0095 
0096 
0097 
0098 
0099 
0100 
0101 
0102 
0103 
0104 
0105