source: trunk/source/processes/decay/include/G4VExtDecayer.hh@ 1115

Last change on this file since 1115 was 1007, checked in by garnier, 17 years ago

update to geant4.9.2

File size: 3.1 KB
Line 
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: G4VExtDecayer.hh,v 1.4 2006/06/29 19:31:11 gunter Exp $
28// GEANT4 tag $Name: geant4-09-02 $
29//
30//
31// ------------------------------------------------------------
32// GEANT 4 class header file
33//
34//
35// ------------------------------------------------------------
36// New scheme 23 Feb. 2001 H.Kurahige
37// ------------------------------------------------------------
38//
39#ifndef G4VExtDecayer_h
40#define G4VExtDecayer_h 1
41
42#include "G4ios.hh"
43#include "globals.hh"
44#include "G4DecayProducts.hh"
45class G4Track;
46
47class G4VExtDecayer
48{
49 // Class Description
50 // This class is a Abstract class for external decayer
51 // G4VExtDecayer has one pure virtual method of
52 // ImportDecayProducts which return decay products
53
54 public: //With Description
55 // Constructors
56 G4VExtDecayer(const G4String& name ="");
57
58 // Destructor
59 virtual ~G4VExtDecayer(){}
60
61 private:
62 // copy constructor
63 G4VExtDecayer(const G4VExtDecayer &){}
64
65 // Assignment Operation (generated)
66 G4VExtDecayer & operator=(const G4VExtDecayer&){return *this;};
67
68 public: //With Description
69 virtual G4DecayProducts* ImportDecayProducts(
70 const G4Track& aTrack
71 ) = 0;
72
73 const G4String& GetName() const;
74
75 protected:
76 G4String decayerName;
77};
78
79inline
80 G4VExtDecayer::G4VExtDecayer(const G4String& name):
81 decayerName(name)
82{
83}
84
85inline
86 const G4String& G4VExtDecayer::GetName() const
87{
88 return decayerName;
89}
90
91#endif
92
93
94
95
96
97
98
99
100
101
Note: See TracBrowser for help on using the repository browser.