LDMX Software
Classes | Macros
PrimaryGenerator.h File Reference

Header file for PrimaryGenerator. More...

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

Go to the source code of this file.

Classes

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

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:
namespace { \
}
uint64_t declare()
register a new object to be constructible
Definition Factory.h:241
static Factory & get()
get the factory instance
Definition Factory.h:217

@macro DECLARE_GENERATOR

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

Definition at line 86 of file PrimaryGenerator.h.

87 { \
89 }