Geant4  10.02.p01
G4XResonance.hh
Go to the documentation of this file.
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 
27 #ifndef G4XRESONANCE_HH
28 #define G4XRESONANCE_HH
29 
30 #include "globals.hh"
31 #include "G4PhysicsVector.hh"
32 #include "G4VCrossSectionSource.hh"
33 #include "G4ParticleDefinition.hh"
34 #include "G4VXResonanceTable.hh"
35 #include "G4VXResonance.hh"
36 
37 class G4KineticTrack;
38 
40 
41 {
42 
43 public:
44 
46  const G4ParticleDefinition* in2,
47  G4int iIsospinOut1, G4double iSpinOut1, G4double massOut1,
48  G4int iIsospinOut2, G4double iSpinOut2, G4double massOut2,
49  G4String subType1, G4String subType2,
50  const G4VXResonanceTable& sigmaTable);
51 
52  virtual ~G4XResonance();
53 
54  G4bool operator==(const G4XResonance &right) const;
55  G4bool operator!=(const G4XResonance &right) const;
56 
57  virtual G4double CrossSection(const G4KineticTrack& trk1, const G4KineticTrack& trk2) const;
58 
59  virtual const G4CrossSectionVector* GetComponents() const { return 0; }
60 
61  virtual G4String Name() const;
62 
63 
64 protected:
65 
66 
67 private:
68 
69  G4XResonance(const G4XResonance &right);
70  G4XResonance& operator=(const G4XResonance &right);
71 
75 
79 
80  // Owned pointer
82 
84 
85 };
86 
87 #endif
88 
89 
90 
91 
92 
93 
94 
95 
96 
97 
98 
99 
100 
101 
102 
103 
104 
105 
G4double mOut2
Definition: G4XResonance.hh:78
G4double mOut1
Definition: G4XResonance.hh:74
G4double iSpinOut1
Definition: G4XResonance.hh:73
virtual const G4CrossSectionVector * GetComponents() const
Definition: G4XResonance.hh:59
int G4int
Definition: G4Types.hh:78
G4XResonance(const G4ParticleDefinition *in1, const G4ParticleDefinition *in2, G4int iIsospinOut1, G4double iSpinOut1, G4double massOut1, G4int iIsospinOut2, G4double iSpinOut2, G4double massOut2, G4String subType1, G4String subType2, const G4VXResonanceTable &sigmaTable)
Definition: G4XResonance.cc:35
virtual G4double CrossSection(const G4KineticTrack &trk1, const G4KineticTrack &trk2) const
Definition: G4XResonance.cc:78
G4String name
Definition: G4XResonance.hh:83
virtual G4String Name() const
Definition: G4XResonance.cc:73
bool G4bool
Definition: G4Types.hh:79
G4double iSpinOut2
Definition: G4XResonance.hh:77
G4PhysicsVector * table
Definition: G4XResonance.hh:81
std::vector< G4CrossSectionSourcePtr > G4CrossSectionVector
G4XResonance & operator=(const G4XResonance &right)
virtual ~G4XResonance()
Definition: G4XResonance.cc:54
double G4double
Definition: G4Types.hh:76
G4bool operator!=(const G4XResonance &right) const
Definition: G4XResonance.cc:67
G4bool operator==(const G4XResonance &right) const
Definition: G4XResonance.cc:61