pflib v2.7.0-1-gd371ab6a
Polarfire Interaction Library
pflib::detail::PolarfireSetting Class Referenceabstract

Object that can change a setting on a polarfire target. More...

#include <DetectorConfiguration.h>

Inheritance diagram for pflib::detail::PolarfireSetting:
[legend]

Classes

class  Factory
 The object that can construct new polarfire settings given the name of the setting. More...
 

Public Member Functions

virtual void import (YAML::Node val)=0
 import the setting from the passes yaml node More...
 
virtual void execute (PolarfireTarget *pft)=0
 apply the setting to the passed polarfire target More...
 
virtual void stream (std::ostream &s)=0
 print the setting More...
 

Detailed Description

Object that can change a setting on a polarfire target.

This is a "prototype" that is used as the base pointer for derived classes which can do arbitrary tasks to the passed PolarfireTarget

Member Function Documentation

◆ execute()

virtual void pflib::detail::PolarfireSetting::execute ( PolarfireTarget pft)
pure virtual

apply the setting to the passed polarfire target

Implemented in calib_offset, and sipm_bias.

◆ import()

virtual void pflib::detail::PolarfireSetting::import ( YAML::Node  val)
pure virtual

import the setting from the passes yaml node

Implemented in calib_offset, and sipm_bias.

◆ stream()

virtual void pflib::detail::PolarfireSetting::stream ( std::ostream s)
pure virtual

print the setting

Implemented in calib_offset, and sipm_bias.


The documentation for this class was generated from the following file: