Geant4  10.03.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4ExcitedBaryonConstructor.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 // $Id: G4ExcitedBaryonConstructor.hh 67971 2013-03-13 10:13:24Z gcosmo $
28 //
29 //
30 // --------------------------------------------------------------
31 // GEANT 4 class implementation file
32 //
33 // History: first implementation, based on object model of
34 // 10 oct 1998 H.Kurashige
35 // ---------------------------------------------------------------
36 #ifndef G4ExcitedBaryonConstructor_h
37 #define G4ExcitedBaryonConstructor_h 1
38 
39 #include "globals.hh"
40 #include "G4ios.hh"
41 class G4DecayTable;
42 
44 {
45  //This class is a utility class for construction
46  //short lived particles
47 
48  public:
49  G4ExcitedBaryonConstructor(G4int nStates = 0, G4int isoSpin=0);
51 
52  public:
53  virtual void Construct(G4int indexOfState = -1);
54 
55  protected:
56  virtual void ConstructParticle(G4int indexOfState);
57  virtual void ConstructAntiParticle(G4int indexOfState);
58 
59 
60  virtual G4double GetCharge(G4int iIsoSpin3);
61  virtual G4int GetEncoding(G4int iIsoSpin3, G4int idxState);
62 
63  protected:
66 
67  const G4String type;
69  const G4int iGParity;
72 
73  // following methods are pure virtual
74  // thes methods should be implemented in derived classes
75  virtual G4bool Exist( G4int ) = 0;
76  virtual G4int GetQuarkContents(G4int, G4int)=0;
77  virtual G4String GetName(G4int, G4int )=0;
78  virtual G4String GetMultipletName(G4int)=0;
79  virtual G4double GetMass( G4int state, G4int iso)=0;
80  virtual G4double GetWidth( G4int state, G4int iso)=0;
81  virtual G4int GetiSpin( G4int )=0;
82  virtual G4int GetiParity( G4int )=0;
83  virtual G4int GetEncodingOffset( G4int )=0;
84  virtual G4DecayTable* CreateDecayTable(const G4String&,
85  G4int , G4int, G4bool)=0;
86 };
87 
88 #endif
89 
90 
91 
92 
93 
94 
95 
96 
97 
98 
99 
100 
G4ExcitedBaryonConstructor(G4int nStates=0, G4int isoSpin=0)
virtual G4double GetCharge(G4int iIsoSpin3)
virtual G4DecayTable * CreateDecayTable(const G4String &, G4int, G4int, G4bool)=0
virtual G4bool Exist(G4int)=0
virtual G4double GetMass(G4int state, G4int iso)=0
int G4int
Definition: G4Types.hh:78
virtual G4String GetName(G4int, G4int)=0
virtual void ConstructParticle(G4int indexOfState)
virtual G4String GetMultipletName(G4int)=0
virtual G4int GetiParity(G4int)=0
bool G4bool
Definition: G4Types.hh:79
virtual void Construct(G4int indexOfState=-1)
virtual G4double GetWidth(G4int state, G4int iso)=0
virtual G4int GetEncodingOffset(G4int)=0
virtual G4int GetiSpin(G4int)=0
virtual void ConstructAntiParticle(G4int indexOfState)
virtual G4int GetEncoding(G4int iIsoSpin3, G4int idxState)
double G4double
Definition: G4Types.hh:76
virtual G4int GetQuarkContents(G4int, G4int)=0