Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 09:59:21

0001 //
0002 // ********************************************************************
0003 // * License and Disclaimer                                           *
0004 // *                                                                  *
0005 // * The  Geant4 software  is  copyright of the Copyright Holders  of *
0006 // * the Geant4 Collaboration.  It is provided  under  the terms  and *
0007 // * conditions of the Geant4 Software License,  included in the file *
0008 // * LICENSE and available at  http://cern.ch/geant4/license .  These *
0009 // * include a list of copyright holders.                             *
0010 // *                                                                  *
0011 // * Neither the authors of this software system, nor their employing *
0012 // * institutes,nor the agencies providing financial support for this *
0013 // * work  make  any representation or  warranty, express or implied, *
0014 // * regarding  this  software system or assume any liability for its *
0015 // * use.  Please see the license in the file  LICENSE  and URL above *
0016 // * for the full disclaimer and the limitation of liability.         *
0017 // *                                                                  *
0018 // * This  code  implementation is the result of  the  scientific and *
0019 // * technical work of the GEANT4 collaboration.                      *
0020 // * By using,  copying,  modifying or  distributing the software (or *
0021 // * any work based  on the software)  you  agree  to acknowledge its *
0022 // * use  in  resulting  scientific  publications,  and indicate your *
0023 // * acceptance of all terms of the Geant4 Software license.          *
0024 // ********************************************************************
0025 //
0026 //
0027 //
0028 //
0029 // ------------------------------------------------------------
0030 //      GEANT 4 class header file
0031 //
0032 //
0033 // ------------------------------------------------------------
0034 //  New  scheme                      23 Feb. 2001  H.Kurahige
0035 // ------------------------------------------------------------
0036 //
0037 #ifndef G4VExtDecayer_h
0038 #define G4VExtDecayer_h 1
0039 
0040 #include "G4ios.hh"
0041 #include "globals.hh"
0042 #include "G4DecayProducts.hh"
0043 class G4Track;
0044 
0045 class G4VExtDecayer 
0046 {
0047  // Class Description
0048  //  This class is a Abstract class for external decayer
0049  // G4VExtDecayer has one pure virtual method of
0050  // ImportDecayProducts which return decay products  
0051 
0052   public: //With Description
0053     //  Constructors 
0054     G4VExtDecayer(const G4String& name ="");
0055 
0056     //  Destructor
0057     virtual ~G4VExtDecayer(){}
0058 
0059   private:
0060     //  copy constructor
0061       G4VExtDecayer(const G4VExtDecayer &){}
0062 
0063     //  Assignment Operation (generated)
0064       G4VExtDecayer & operator=(const G4VExtDecayer&){return *this;};
0065 
0066   public: //With Description
0067     virtual G4DecayProducts* ImportDecayProducts(
0068                      const G4Track& aTrack
0069                             ) = 0;
0070 
0071     const G4String& GetName() const;
0072 
0073   protected:
0074     G4String decayerName;
0075 };
0076 
0077 inline
0078  G4VExtDecayer::G4VExtDecayer(const G4String& name):
0079    decayerName(name)
0080 {
0081 }
0082 
0083 inline
0084  const G4String& G4VExtDecayer::GetName() const
0085 {
0086    return decayerName;
0087 }
0088 
0089 #endif
0090 
0091 
0092 
0093 
0094 
0095 
0096 
0097 
0098 
0099