GGS(GenericGEANT4Simulation)Software  2.6.0
 All Data Structures Namespaces Files Functions Variables Typedefs Macros
Data Structures | Macros | Typedefs | Variables
GGSPartHit.h File Reference
#include "G4VHit.hh"
#include "G4THitsCollection.hh"
#include "G4Step.hh"
#include "G4Allocator.hh"
#include "G4ThreeVector.hh"
#include "G4VPhysicalVolume.hh"
#include "montecarlo/scoring/GGSPosHit.h"
#include <vector>
#include "utils/GGSFactory.h"
Include dependency graph for GGSPartHit.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  GGSPartHit
 Definition of GGS Particle Hit. More...
 

Macros

#define RegisterPartHit(className)
 

Typedefs

typedef G4THitsCollection
< GGSPartHit
GGSPartHitsCollection
 Alias for G4 template hits collection for GGSPartHit.
 
using GGSPartHitFactory = GGSFactory< GGSPartHit >
 Alias for integrated hit factory type.
 

Variables

G4Allocator< GGSPartHitGGSPartHitAllocator
 Alias for G4 template memory allocator for GGSPartHit.
 

Detailed Description

GGSPartHit class definition.

Definition in file GGSPartHit.h.

Macro Definition Documentation

#define RegisterPartHit (   className)
Value:
GGSPartHit* className##Builder(){ \
return new className(); \
}\
class className##Proxy{ \
public: \
className##Proxy(){ \
GGSPartHitFactory::GetInstance().RegisterBuilder(#className, className##Builder); \
} \
};\
className##Proxy proxyFor##className
Definition of GGS Particle Hit.
Definition: GGSPartHit.h:35
static GGSFactory & GetInstance()
Getter method for singleton pointer.
Definition: GGSFactory.h:75
bool RegisterBuilder(const std::string &builderName, T *(*objectBuilder)(ConstructorArgs...))
Register a builder for a class.
Definition: GGSFactory.h:99

Definition at line 285 of file GGSPartHit.h.