Geant4 Cross Reference |
1 // 1 2 // ******************************************* 3 // * License and Disclaimer 4 // * 5 // * The Geant4 software is copyright of th 6 // * the Geant4 Collaboration. It is provided 7 // * conditions of the Geant4 Software License 8 // * LICENSE and available at http://cern.ch/ 9 // * include a list of copyright holders. 10 // * 11 // * Neither the authors of this software syst 12 // * institutes,nor the agencies providing fin 13 // * work make any representation or warran 14 // * regarding this software system or assum 15 // * use. Please see the license in the file 16 // * for the full disclaimer and the limitatio 17 // * 18 // * This code implementation is the result 19 // * technical work of the GEANT4 collaboratio 20 // * By using, copying, modifying or distri 21 // * any work based on the software) you ag 22 // * use in resulting scientific publicati 23 // * acceptance of all terms of the Geant4 Sof 24 // ******************************************* 25 // 26 // G4PhysicsLogVector 27 // 28 // Class description: 29 // 30 // A physics vector which has values of energy 31 // and other physics values of a particle in m 32 // range of energy, momentum, etc. The scale o 33 // bins is logarithmic. 34 35 // Authors: 36 // - 02 Dec. 1995, G.Cosmo: Structure created 37 // - 03 Mar. 1996, K.Amako: Implemented the 1s 38 // Revisions: 39 // - 11 Nov. 2000, H.Kurashige : Use STL vecto 40 // ------------------------------------------- 41 #ifndef G4PhysicsLogVector_hh 42 #define G4PhysicsLogVector_hh 1 43 44 #include "G4PhysicsVector.hh" 45 #include "globals.hh" 46 47 class G4PhysicsLogVector : public G4PhysicsVec 48 { 49 public: 50 // The vector will be filled from external f 51 explicit G4PhysicsLogVector(G4bool spline = 52 53 // Energies will be computed and filled at c 54 // filled with zeros. Required Nbin > 1 and 55 // Use PutValue(..) to fill the data vector 56 explicit G4PhysicsLogVector(G4double Emin, G 57 G4bool spline = 58 59 ~G4PhysicsLogVector() override = default; 60 61 protected: 62 63 void Initialise() final; 64 }; 65 66 #endif 67