/[PAMELA software]/PamG4/include/GeneralPhysics.hh
ViewVC logotype

Annotation of /PamG4/include/GeneralPhysics.hh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Tue Dec 13 16:20:39 2005 UTC (18 years, 11 months ago) by cafagna
Branch point for: start, MAIN
Initial revision

1 cafagna 1.1
2     #ifndef GeneralPhysics_h
3     #define GeneralPhysics_h 1
4    
5     #include "globals.hh"
6     #include "G4ios.hh"
7    
8     #include "G4VPhysicsConstructor.hh"
9    
10    
11     #include "G4Decay.hh"
12    
13     class GeneralPhysics : public G4VPhysicsConstructor
14     {
15     public:
16     GeneralPhysics(const G4String& name = "general");
17     virtual ~GeneralPhysics();
18    
19     public:
20     // This method will be invoked in the Construct() method.
21     // each particle type will be instantiated
22     virtual void ConstructParticle();
23    
24     // This method will be invoked in the Construct() method.
25     // each physics process will be instantiated and
26     // registered to the process manager of each particle type
27     virtual void ConstructProcess();
28    
29     protected:
30     G4Decay fDecayProcess;
31     };
32    
33    
34     #endif
35    
36    
37    
38    
39    
40    
41    
42    

  ViewVC Help
Powered by ViewVC 1.1.23