G4ExcitedBaryonConstructor.hh

Go to the documentation of this file.
00001 //
00002 // ********************************************************************
00003 // * License and Disclaimer                                           *
00004 // *                                                                  *
00005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
00006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
00007 // * conditions of the Geant4 Software License,  included in the file *
00008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
00009 // * include a list of copyright holders.                             *
00010 // *                                                                  *
00011 // * Neither the authors of this software system, nor their employing *
00012 // * institutes,nor the agencies providing financial support for this *
00013 // * work  make  any representation or  warranty, express or implied, *
00014 // * regarding  this  software system or assume any liability for its *
00015 // * use.  Please see the license in the file  LICENSE  and URL above *
00016 // * for the full disclaimer and the limitation of liability.         *
00017 // *                                                                  *
00018 // * This  code  implementation is the result of  the  scientific and *
00019 // * technical work of the GEANT4 collaboration.                      *
00020 // * By using,  copying,  modifying or  distributing the software (or *
00021 // * any work based  on the software)  you  agree  to acknowledge its *
00022 // * use  in  resulting  scientific  publications,  and indicate your *
00023 // * acceptance of all terms of the Geant4 Software license.          *
00024 // ********************************************************************
00025 //
00026 //
00027 // $Id$
00028 //
00029 // 
00030 // --------------------------------------------------------------
00031 //      GEANT 4 class implementation file 
00032 //
00033 //      History: first implementation, based on object model of
00034 //      10 oct 1998  H.Kurashige
00035 // ---------------------------------------------------------------
00036 #ifndef G4ExcitedBaryonConstructor_h
00037 #define G4ExcitedBaryonConstructor_h 1
00038 
00039 #include "globals.hh"
00040 #include "G4ios.hh"
00041 class     G4DecayTable;
00042 
00043 class G4ExcitedBaryonConstructor
00044 {
00045   //This class is a utility class for construction 
00046   //short lived particles
00047 
00048   public:
00049     G4ExcitedBaryonConstructor(G4int nStates = 0, G4int isoSpin=0);
00050     virtual  ~G4ExcitedBaryonConstructor();
00051   
00052   public:
00053     virtual  void Construct(G4int indexOfState = -1);
00054  
00055   protected:
00056     virtual  void ConstructParticle(G4int indexOfState);
00057     virtual  void ConstructAntiParticle(G4int indexOfState);
00058     
00059     
00060     virtual  G4double GetCharge(G4int iIsoSpin3);
00061     virtual  G4int    GetEncoding(G4int iIsoSpin3, G4int idxState);
00062 
00063   protected:
00064     G4int NumberOfStates;
00065     G4int iIsoSpin;
00066 
00067     const G4String type;
00068     const G4int    iConjugation;
00069     const G4int    iGParity;
00070     const G4int    leptonNumber;
00071     const G4int    baryonNumber;
00072 
00073     // following methods are pure virtual
00074     // thes methods should be implemented in derived classes
00075     virtual  G4bool   Exist( G4int ) = 0;
00076     virtual  G4int    GetQuarkContents(G4int, G4int)=0;
00077     virtual  G4String GetName(G4int, G4int )=0;
00078     virtual  G4String GetMultipletName(G4int)=0;
00079     virtual  G4double GetMass( G4int state, G4int iso)=0;
00080     virtual  G4double GetWidth( G4int state, G4int iso)=0;
00081     virtual  G4int    GetiSpin( G4int )=0;
00082     virtual  G4int    GetiParity( G4int )=0;
00083     virtual  G4int    GetEncodingOffset( G4int )=0;
00084     virtual  G4DecayTable* CreateDecayTable(const G4String&,
00085                                             G4int , G4int, G4bool)=0;
00086 };
00087 
00088 #endif
00089 
00090 
00091 
00092 
00093 
00094 
00095 
00096 
00097 
00098 
00099 
00100 

Generated on Mon May 27 17:48:13 2013 for Geant4 by  doxygen 1.4.7