8#ifndef SIMCORE_FROMSCORINGPLANE_H
9#define SIMCORE_FROMSCORINGPLANE_H
12#include "Framework/Configure/Parameters.h"
13#include "Framework/Exception/Exception.h"
14#include "Framework/Logger.h"
79 enableLogging(
"FromScoringPlane")
Header file for PrimaryGenerator.
Class that provides extra information for Geant4 primary particles.
Implements an event buffer system for storing event data.
Class encapsulating parameters for configuring a processor.
Interface that defines a simulation primary generator.
Copy particles from a particular scoring plane in as primaries of a new simulation.
std::string coll_name_
name of scoring plane collection we should use
std::vector< G4PrimaryVertex * > primary_vertices_
list of primary vertices we will give over to the G4Event
std::vector< int > select_planes_
list of plane ID numbers to select for (use all hits if empty)
std::string pass_name_
name of pass for scoring plane collection we should use
void GeneratePrimaryVertex(G4Event *anEvent) override
Generate vertices in the Geant4 event.
virtual ~FromScoringPlane()=default
Class destructor.
FromScoringPlane(const std::string &name, const framework::config::Parameters ¶meters)
Class constructor.
void prepEvent(const framework::Event &event) override
Retrieve the collection of scoring plane hits and copy the selected hits into our copies of primary p...
void RecordConfig(const std::string &id, ldmx::RunHeader &rh) override
Record configuration information.
Dynamically loadable photonuclear models either from SimCore or external libraries implementing this ...