Geant4 Cross Reference |
1 // 1 // 2 // ******************************************* 2 // ******************************************************************** 3 // * License and Disclaimer << 3 // * DISCLAIMER * 4 // * 4 // * * 5 // * The Geant4 software is copyright of th << 5 // * The following disclaimer summarizes all the specific disclaimers * 6 // * the Geant4 Collaboration. It is provided << 6 // * of contributors to this software. The specific disclaimers,which * 7 // * conditions of the Geant4 Software License << 7 // * govern, are listed with their locations in: * 8 // * LICENSE and available at http://cern.ch/ << 8 // * http://cern.ch/geant4/license * 9 // * include a list of copyright holders. << 10 // * 9 // * * 11 // * Neither the authors of this software syst 10 // * Neither the authors of this software system, nor their employing * 12 // * institutes,nor the agencies providing fin 11 // * institutes,nor the agencies providing financial support for this * 13 // * work make any representation or warran 12 // * work make any representation or warranty, express or implied, * 14 // * regarding this software system or assum 13 // * regarding this software system or assume any liability for its * 15 // * use. Please see the license in the file << 14 // * use. * 16 // * for the full disclaimer and the limitatio << 17 // * 15 // * * 18 // * This code implementation is the result << 16 // * This code implementation is the intellectual property of the * 19 // * technical work of the GEANT4 collaboratio << 17 // * GEANT4 collaboration. * 20 // * By using, copying, modifying or distri << 18 // * By copying, distributing or modifying the Program (or any work * 21 // * any work based on the software) you ag << 19 // * based on the Program) you indicate your acceptance of this * 22 // * use in resulting scientific publicati << 20 // * statement, and all its terms. * 23 // * acceptance of all terms of the Geant4 Sof << 24 // ******************************************* 21 // ******************************************************************** 25 // 22 // 26 // 23 // 27 24 28 #ifndef G4XAqmTotal_hh 25 #ifndef G4XAqmTotal_hh 29 #define G4XAqmTotal_hh 26 #define G4XAqmTotal_hh 30 27 31 #include "globals.hh" 28 #include "globals.hh" 32 #include "G4VCrossSectionSource.hh" 29 #include "G4VCrossSectionSource.hh" 33 #include "G4CrossSectionVector.hh" 30 #include "G4CrossSectionVector.hh" 34 31 35 class G4KineticTrack; 32 class G4KineticTrack; 36 33 37 class G4XAqmTotal : public G4VCrossSectionSour 34 class G4XAqmTotal : public G4VCrossSectionSource 38 { 35 { 39 36 40 public: 37 public: 41 38 42 G4XAqmTotal(); 39 G4XAqmTotal(); 43 40 44 virtual ~G4XAqmTotal(); 41 virtual ~G4XAqmTotal(); 45 42 46 G4bool operator==(const G4XAqmTotal &right) 43 G4bool operator==(const G4XAqmTotal &right) const; 47 G4bool operator!=(const G4XAqmTotal &right) 44 G4bool operator!=(const G4XAqmTotal &right) const; 48 45 49 virtual G4double CrossSection(const G4Kineti 46 virtual G4double CrossSection(const G4KineticTrack& trk1, const G4KineticTrack& trk2) const; 50 47 51 virtual const G4CrossSectionVector* GetCompo 48 virtual const G4CrossSectionVector* GetComponents() const { return 0; } 52 49 53 virtual G4bool IsValid(G4double e) const; 50 virtual G4bool IsValid(G4double e) const; 54 51 55 virtual G4String Name() const; 52 virtual G4String Name() const; 56 53 57 54 58 protected: 55 protected: 59 56 60 57 61 private: 58 private: 62 59 63 G4XAqmTotal(const G4XAqmTotal &right); 60 G4XAqmTotal(const G4XAqmTotal &right); 64 const G4XAqmTotal& operator=(const G4XAqmTot 61 const G4XAqmTotal& operator=(const G4XAqmTotal &right); 65 62 66 static const G4double _lowLimit; 63 static const G4double _lowLimit; 67 static const G4double _highLimit; 64 static const G4double _highLimit; 68 65 69 }; 66 }; 70 67 71 #endif 68 #endif 72 69 73 70 74 71 75 72 76 73 77 74 78 75 79 76 80 77 81 78 82 79 83 80 84 81 85 82 86 83 87 84 88 85 89 86 90 87