HerdSoftware  0.1.1
TRPhysicsConstructor.h
Go to the documentation of this file.
1 /*
2  * TRPhysicsConstructor.h
3  *
4  * Created on: 7 Jul 2020
5  * Author: Nicola Mori
6  * Based on code from: C. Dai
7  * and from: extended/electromagnetic/TestEm10 Geant4 example
8  */
9 
12 #ifndef TRPHYSICSCONSTRUCTOR_H_
13 #define TRPHYSICSCONSTRUCTOR_H_
14 
15 // Geant4 headers
16 #include "G4VPhysicsConstructor.hh"
17 class G4VXTRenergyLoss;
18 
30 class TRPhysicsConstructor : public G4VPhysicsConstructor {
31 public:
32  TRPhysicsConstructor(const G4String &xtrModelName);
33 
34  void ConstructProcess();
35 
37 
38 private:
39  G4String _xtrModelName;
40  G4VXTRenergyLoss *_xtrProcess;
41 };
42 
43 #endif /* TRPHYSICSCONSTRUCTOR_H_ */
G4String _xtrModelName
Definition: TRPhysicsConstructor.h:39
Constructor class for TR physics.
Definition: TRPhysicsConstructor.h:30
G4VXTRenergyLoss * _xtrProcess
Definition: TRPhysicsConstructor.h:40
TRPhysicsConstructor(const G4String &xtrModelName)
Definition: TRPhysicsConstructor.cpp:40
void ConstructParticle()
Definition: TRPhysicsConstructor.h:36
void ConstructProcess()
Definition: TRPhysicsConstructor.cpp:43