]> git.uio.no Git - u/mrichter/AliRoot.git/blob - TGeant4/TG4VPhysicsConstructor.h
Changes by Massimo Masera to allow Recpoints and Clusters to be written
[u/mrichter/AliRoot.git] / TGeant4 / TG4VPhysicsConstructor.h
1 // $Id$
2 // Category: physics
3 //
4 // Author: I. Hrivnacova
5 //
6 // Class TG4PhysicsConstructorGeneral
7 // -----------------------------
8 // Base class for physics constructors with verbose.
9
10 #ifndef TG4_V_PHYSICS_CONSTRUCTOR_H
11 #define TG4_V_PHYSICS_CONSTRUCTOR_H
12
13 #include "TG4Verbose.h"
14
15 #include <G4VPhysicsConstructor.hh>
16 #include <globals.hh>
17
18 class TG4VPhysicsConstructor: public G4VPhysicsConstructor,
19                               public TG4Verbose
20 {
21   public:
22     // TG4VPhysicsConstructor(); --> protected
23     // TG4VPhysicsConstructor(const TG4VPhysicsConstructor& right);
24     //  --> protected
25     TG4VPhysicsConstructor(const G4String& name);
26     TG4VPhysicsConstructor(const G4String& name, G4int verboseLevel);
27     virtual ~TG4VPhysicsConstructor();
28
29   protected:
30     TG4VPhysicsConstructor();
31     TG4VPhysicsConstructor(const TG4VPhysicsConstructor& right);
32
33     // methods
34           // construct particle and physics
35     virtual void ConstructParticle() = 0;
36     virtual void ConstructProcess() = 0;
37
38     // overridden verbose methods
39     virtual void  VerboseLevel(G4int level);
40     virtual G4int VerboseLevel() const;
41 };
42
43 #endif //TG4_V_PHYSICS_CONSTRUCTOR_H
44