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 // >> 23 // >> 24 // $Id: G4ExcitedBaryons.hh,v 1.5 2001/07/11 10:02:05 gunter Exp $ >> 25 // GEANT4 tag $Name: geant4-07-00-patch-01 $ >> 26 // >> 27 // 26 // ------------------------------------------- 28 // ------------------------------------------------------------ 27 // GEANT 4 class header file 29 // GEANT 4 class header file 28 // 30 // 29 // History: first implementation, based o 31 // History: first implementation, based on object model of 30 // Hisaya Kurashige, 27 June 1998 32 // Hisaya Kurashige, 27 June 1998 31 // ------------------------------------------- 33 // ---------------------------------------------------------------- 32 34 >> 35 33 #ifndef G4ExcitedBaryons_h 36 #ifndef G4ExcitedBaryons_h 34 #define G4ExcitedBaryons_h 1 37 #define G4ExcitedBaryons_h 1 35 38 36 #include "G4VShortLivedParticle.hh" << 37 #include "globals.hh" 39 #include "globals.hh" >> 40 #include "G4ios.hh" >> 41 #include "G4VShortLivedParticle.hh" >> 42 >> 43 // ###################################################################### >> 44 // ### ExcitedBaryons ### >> 45 // ###################################################################### 38 46 39 class G4ExcitedBaryons : public G4VShortLivedP 47 class G4ExcitedBaryons : public G4VShortLivedParticle 40 { 48 { 41 public: << 49 public: 42 // clang-format off << 43 G4ExcitedBaryons( 50 G4ExcitedBaryons( 44 const G4String& aName, G4dou 51 const G4String& aName, G4double mass, 45 G4double width, G4dou 52 G4double width, G4double charge, 46 G4int iSpin, G4int 53 G4int iSpin, G4int iParity, 47 G4int iConjugation, G4int 54 G4int iConjugation, G4int iIsospin, 48 G4int iIsospin3, G4int 55 G4int iIsospin3, G4int gParity, 49 const G4String& pType, G4int 56 const G4String& pType, G4int lepton, 50 G4int baryon, G4int 57 G4int baryon, G4int encoding, 51 G4bool stable, G4dou 58 G4bool stable, G4double lifetime, 52 G4DecayTable *decaytable 59 G4DecayTable *decaytable 53 ); 60 ); 54 // clang-format on << 61 G4ExcitedBaryons* ExcitedBaryonsDefinition(){return this;}; 55 ~G4ExcitedBaryons() override = default; << 62 G4ExcitedBaryons* ExcitedBaryons(){return this;}; 56 void SetMultipletName(const G4String& name << 63 void SetMultipletName(const G4String& name); 57 }; 64 }; 58 65 59 inline void G4ExcitedBaryons::SetMultipletName << 66 inline >> 67 void G4ExcitedBaryons::SetMultipletName(const G4String& name) 60 { 68 { 61 SetParticleSubType(name); << 69 SetParticleSubType(name); 62 } 70 } 63 71 64 #endif 72 #endif >> 73 >> 74 >> 75 >> 76 >> 77 >> 78 65 79