pflib v2.7.0-1-gd371ab6a
Polarfire Interaction Library
pflib::DetectorConfiguration Class Reference

object for parsing a detector configuration file and (potentially) executing it More...

#include <DetectorConfiguration.h>

Classes

struct  PolarfireConfiguration
 

Public Member Functions

 DetectorConfiguration (const std::string &config)
 Parse the input file loading into us. More...
 
void apply ()
 apply the configuration to the detector, we need access to all the wishbones, so make sure no other instances of pftool (for example) are up!
 
void stream (std::ostream &s) const
 Print out the detector configuration for debugging purposes.
 

Private Attributes

std::map< std::string, PolarfireConfigurationpolarfires_
 

Detailed Description

object for parsing a detector configuration file and (potentially) executing it

Constructor & Destructor Documentation

◆ DetectorConfiguration()

pflib::DetectorConfiguration::DetectorConfiguration ( const std::string config)

Parse the input file loading into us.

Initialization, get the polarfires and the rocs on those polarfires that we will be configuring by crawling the YAML tree once

Setting Extraction Now we can extract the parameters, appropriately applying global 'inherit' settings to allow downstream objects


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