1#ifndef SIMCORE_BIASOPERATORS_DARKBREM_H
2#define SIMCORE_BIASOPERATORS_DARKBREM_H
7#include "G4DarkBreM/G4DarkBremsstrahlung.h"
8#include "SimCore/XsecBiasingOperator.h"
11namespace biasoperators {
48 const G4BiasingProcessInterface* callingProcess)
override;
52 return G4DarkBremsstrahlung::PROCESS_NAME;
Class encapsulating parameters for configuring a processor.
Our specialization of the biasing operator used with Geant4.
Bias operator for the dark brem process.
void RecordConfig(ldmx::RunHeader &header) const override
Record the configuration of this biasing operator into the run header.
std::string getProcessToBias() const override
Return the name of the process this operator biases.
std::string getVolumeToBias() const override
Return the volume this operator biases.
double factor_
factor we want to bias by
bool bias_all_
should we bias all electrons? (or only the primary)
std::string getParticleToBias() const override
Return the name of the particle this operator biases.
std::string volume_
DEBUG FUNCTION This function is called by the biasing interface class during PostStepDoIt.
G4VBiasingOperation * ProposeOccurenceBiasingOperation(const G4Track *track, const G4BiasingProcessInterface *callingProcess) override
Calculate the biased cross section given the input process and track.
virtual ~DarkBrem()=default
Destructor.