LDMX Software
PrimaryGenerator.h File Reference

Header file for PrimaryGenerator. More...

#include <string>
#include "G4VPrimaryGenerator.hh"
#include "Framework/Configure/Parameters.h"
#include "Framework/Factory.h"
#include "Framework/RunHeader.h"

Go to the source code of this file.

Classes

class  simcore::PrimaryGenerator
 Interface that defines a simulation primary generator. More...
 

Namespaces

namespace  simcore
 Dynamically loadable photonuclear models either from SimCore or external libraries implementing this interface.
 

Macros

#define DECLARE_GENERATOR(CLASS)
 @macro DECLARE_GENERATOR
 

Detailed Description

Header file for PrimaryGenerator.

Definition in file PrimaryGenerator.h.

Macro Definition Documentation

◆ DECLARE_GENERATOR

#define DECLARE_GENERATOR ( CLASS)
Value:
#define FACTORY_REGISTRATION(prototype, derived)
Register a new class with a specific factory.
Definition Factory.h:469
Interface that defines a simulation primary generator.

@macro DECLARE_GENERATOR

Defines a builder for the declared class and then registers the class as a generator with the Factory

Definition at line 87 of file PrimaryGenerator.h.

87#define DECLARE_GENERATOR(CLASS) \
88 FACTORY_REGISTRATION(simcore::PrimaryGenerator, CLASS)