Geant4  10.02.p02
G4VExtDecayer.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: G4VExtDecayer.hh 71045 2013-06-10 09:34:33Z gcosmo $
28 //
29 //
30 // ------------------------------------------------------------
31 // GEANT 4 class header file
32 //
33 //
34 // ------------------------------------------------------------
35 // New scheme 23 Feb. 2001 H.Kurahige
36 // ------------------------------------------------------------
37 //
38 #ifndef G4VExtDecayer_h
39 #define G4VExtDecayer_h 1
40 
41 #include "G4ios.hh"
42 #include "globals.hh"
43 #include "G4DecayProducts.hh"
44 class G4Track;
45 
47 {
48  // Class Description
49  // This class is a Abstract class for external decayer
50  // G4VExtDecayer has one pure virtual method of
51  // ImportDecayProducts which return decay products
52 
53  public: //With Description
54  // Constructors
55  G4VExtDecayer(const G4String& name ="");
56 
57  // Destructor
58  virtual ~G4VExtDecayer(){}
59 
60  private:
61  // copy constructor
63 
64  // Assignment Operation (generated)
65  G4VExtDecayer & operator=(const G4VExtDecayer&){return *this;};
66 
67  public: //With Description
69  const G4Track& aTrack
70  ) = 0;
71 
72  const G4String& GetName() const;
73 
74  protected:
76 };
77 
78 inline
80  decayerName(name)
81 {
82 }
83 
84 inline
86 {
87  return decayerName;
88 }
89 
90 #endif
91 
92 
93 
94 
95 
96 
97 
98 
99 
100 
G4VExtDecayer & operator=(const G4VExtDecayer &)
virtual G4DecayProducts * ImportDecayProducts(const G4Track &aTrack)=0
G4String name
Definition: TRTMaterials.hh:40
const G4String & GetName() const
G4VExtDecayer(const G4String &name="")
G4String decayerName
virtual ~G4VExtDecayer()
G4VExtDecayer(const G4VExtDecayer &)