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

Go to the source code of this file.

Data Structures

class  GGSIntHit
 Definition of GGS Integrated Hit. More...
 

Macros

#define RegisterIntHit(className)
 

Typedefs

typedef G4THitsCollection
< GGSIntHit
GGSIntHitsCollection
 Alias for G4 template hits collection for GGSIntHit.
 
using GGSIntHitFactory = GGSFactory< GGSIntHit, const std::vector< G4double > & >
 Alias for integrated hit factory type.
 

Variables

G4Allocator< GGSIntHit > * GGSIntHitAllocator
 Alias for G4 template memory allocator for GGSIntHit.
 

Detailed Description

GGSIntHit class definition.

Definition in file GGSIntHit.h.

Macro Definition Documentation

#define RegisterIntHit (   className)
Value:
GGSIntHit *className##Builder(const std::vector<G4double> &timeBins) { return new className(timeBins); } \
class className##Proxy { \
public: \
className##Proxy() { GGSIntHitFactory::GetInstance().RegisterBuilder(#className, className##Builder); } \
}; \
className##Proxy proxyFor##className
Definition of GGS Integrated Hit.
Definition: GGSIntHit.h:32
static GGSFactory & GetInstance()
Getter method for singleton pointer.
Definition: GGSFactory.h:71
bool RegisterBuilder(const std::string &builderName, T *(*objectBuilder)(ConstructorArgs...))
Register a builder for a class.
Definition: GGSFactory.h:92

Definition at line 280 of file GGSIntHit.h.