MaCh3  2.5.1
Reference Guide
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
SampleHandlerNuDockBase Class Reference

A SampleHandlerInterface class that acts as a client to an external NuDock server. More...

#include <NuDock/SampleHandlerNuDockBase.h>

Inheritance diagram for SampleHandlerNuDockBase:
[legend]
Collaboration diagram for SampleHandlerNuDockBase:
[legend]

Public Member Functions

 SampleHandlerNuDockBase (std::string configFile, ParameterHandlerGeneric *xsec_cov)
 Construct the NuDock client sample handler. More...
 
virtual ~SampleHandlerNuDockBase ()
 Destructor. More...
 
void Reweight () override
 Send current parameter values to the NuDock server. More...
 
double GetLikelihood () const override
 Retrieve the log-likelihood from the NuDock server. More...
 
std::string GetSampleTitle (const int Sample) const override
 Get the title string for a given sample index. More...
 
std::string GetName () const override
 Get the name of this sample handler. More...
 
double GetSampleLikelihood (const int isample) const override
 Get the likelihood for a specific sub-sample. More...
 
void PrintRates (const bool DataOnly=false) override
 Print event rates (no-op for the NuDock client). More...
 
int GetNOscChannels (const int iSample) const override
 Get the number of oscillation channels for a sample. More...
 
std::string GetKinVarName (const int iSample, const int Dimension) const override
 Return Kinematic Variable name for specified sample and dimension for example "Reconstructed_Neutrino_Energy". More...
 
const TH1 * GetDataHist (const int Sample) override
 Get Data histogram. More...
 
const TH1 * GetMCHist (const int Sample) override
 Get MC histogram. More...
 
const TH1 * GetW2Hist (const int Sample) override
 Get W2 histogram. More...
 
int GetNDim (const int Sample) const override
 DB Function to differentiate 1D or 2D binning. More...
 
std::string GetFlavourName (const int iSample, const int iChannel) const override
 Get the flavour name for a given sample and oscillation channel. More...
 
std::vector< double > ReturnKinematicParameterBinning (const int Sample, const std::string &KinematicParameter) const override
 Return the binning used to draw a kinematic parameter. More...
 
std::unique_ptr< TH1 > Get1DVarHistByModeAndChannel (const int iSample, const std::string &ProjectionVar_Str, int kModeToFill=-1, int kChannelToFill=-1, int WeightStyle=0) override
 Build a 1D histogram for a given variable, optionally filtered by mode and channel. More...
 
std::unique_ptr< TH2 > Get2DVarHistByModeAndChannel (const int iSample, const std::string &ProjectionVar_StrX, const std::string &ProjectionVar_StrY, int kModeToFill=-1, int kChannelToFill=-1, int WeightStyle=0) override
 Build a 2D histogram for given variables, optionally filtered by mode and channel. More...
 
std::unique_ptr< TH1 > Get1DVarHist (const int iSample, const std::string &ProjectionVar, const std::vector< KinematicCut > &EventSelectionVec={}, int WeightStyle=0, const std::vector< KinematicCut > &SubEventSelectionVec={}) override
 Return 1D projection of MC into given 1D variable (doesn't have to be variable used in the fit) More...
 
std::unique_ptr< TH2 > Get2DVarHist (const int iSample, const std::string &ProjectionVarX, const std::string &ProjectionVarY, const std::vector< KinematicCut > &EventSelectionVec={}, int WeightStyle=0, const std::vector< KinematicCut > &SubEventSelectionVec={}) override
 Build a 2D projection of MC events into specified variables. More...
 
- Public Member Functions inherited from SampleHandlerInterface
 SampleHandlerInterface ()
 The main constructor. More...
 
virtual ~SampleHandlerInterface ()
 destructor More...
 
virtual M3::int_t GetNSamples ()
 returns total number of samples More...
 
virtual void SaveAdditionalInfo (TDirectory *Dir)
 Store additional info in a chain. More...
 
MaCh3ModesGetMaCh3Modes () const
 Return pointer to MaCh3 modes. More...
 
unsigned int GetNEvents () const
 Return total number of events. More...
 
double GetPoissonLLH (const double data, const double mc) const
 Calculate test statistic for a single bin using Poisson. More...
 
double GetTestStatLLH (const double data, const double mc, const double w2) const
 Calculate test statistic for a single bin. Calculation depends on setting of fTestStatistic. Data and mc -> 0 cut-offs are defined in M3::LOW_MC_BOUND. More...
 
void SetTestStatistic (TestStatistic testStat)
 Set the test statistic to be used when calculating the binned likelihoods. More...
 
TestStatistic GetTestStatistic () const
 Get the test statistic used when calculating the binned likelihoods. More...
 

Protected Member Functions

void CleanMemoryBeforeFit () override
 No-op – memory cleanup is handled by the NuDock server. More...
 
void Init ()
 Initialise the NuDock client connection and cache parameter indices. More...
 
- Protected Member Functions inherited from SampleHandlerInterface
void QuietPlease ()
 CW: Redirect std::cout to silence some experiment specific libraries. More...
 
void NowTalk ()
 CW: Redirect std::cout to silence some experiment specific libraries. More...
 
template<typename T >
bool MatchCondition (const std::vector< T > &allowedValues, const T &value)
 check if event is affected by following conditions, for example pdg, or modes etc More...
 

Protected Attributes

std::unique_ptr< NuDock > nudock_ptr
 Pointer to the NuDock client communication object. More...
 
std::unique_ptr< ManagerSampleManager
 Manager owning the NuDockClient configuration. More...
 
bool verbose
 Verbose logging flag, read from the NuDockClient config block. More...
 
std::vector< int > nudockParamInds
 Cached indices into the ParameterHandler for parameters sent to the server. More...
 
ParameterHandlerGenericParHandler
 Non-owning pointer to the cross-section ParameterHandler. More...
 
- Protected Attributes inherited from SampleHandlerInterface
TestStatistic fTestStatistic
 Test statistic tells what kind of likelihood sample is using. More...
 
std::streambuf * buf
 Keep the cout buffer. More...
 
std::streambuf * errbuf
 Keep the cerr buffer. More...
 
M3::int_t nSamples
 Contains how many samples we've got. More...
 
unsigned int nEvents
 Number of MC events are there. More...
 
std::unique_ptr< MaCh3ModesModes
 Holds information about used Generator and MaCh3 modes. More...
 

Detailed Description

A SampleHandlerInterface class that acts as a client to an external NuDock server.

Instead of performing local event reweighting and likelihood calculation, this sample forwards the current parameter values to an external NuDock server via JSON requests and retrieves the computed likelihood.

Author
Hank Hua

Definition at line 20 of file SampleHandlerNuDockBase.h.

Constructor & Destructor Documentation

◆ SampleHandlerNuDockBase()

SampleHandlerNuDockBase::SampleHandlerNuDockBase ( std::string  configFile,
ParameterHandlerGeneric xsec_cov 
)

Construct the NuDock client sample handler.

Construct the NuDock client sample handler.

Reads the NuDockClient configuration from configFile, initialises the NuDock communication object, and caches the parameter indices that must be forwarded to the server on each reweight call.

Parameters
configFilePath to a YAML configuration file containing the NuDockClient block.
xsec_covPointer to the cross-section parameter handler from which current parameter values are read.

Reads the NuDockClient configuration from configFile, initialises the NuDock communication object, and caches the parameter indices that must be forwarded to the server on each reweight call.

Parameters
configFilePath to a YAML configuration file containing the NuDockClient block.
xsec_covPointer to the cross-section parameter handler from which current parameter values are read.

Definition at line 8 of file SampleHandlerNuDockBase.cpp.

10  MACH3LOG_INFO("Creating SampleHandlerNuDock object..");
11  MACH3LOG_INFO("- Using NuDock sample config in this file {}", configFile);
12  ParHandler = xsec_cov;
13  SampleManager = std::make_unique<Manager>(configFile.c_str());
14  verbose = GetFromManager(SampleManager->raw()["NuDockClient"]["Verbose"], false);
15 
16  // ReadConfig();
17  // SetupReweightArrays();
18  Init();
19 }
#define MACH3LOG_INFO
Definition: MaCh3Logger.h:35
Type GetFromManager(const YAML::Node &node, const Type defval, const std::string File="", const int Line=1)
Get content of config file if node is not found take default value specified.
Definition: YamlHelper.h:329
SampleHandlerInterface()
The main constructor.
std::unique_ptr< Manager > SampleManager
Manager owning the NuDockClient configuration.
bool verbose
Verbose logging flag, read from the NuDockClient config block.
ParameterHandlerGeneric * ParHandler
Non-owning pointer to the cross-section ParameterHandler.
void Init()
Initialise the NuDock client connection and cache parameter indices.

◆ ~SampleHandlerNuDockBase()

SampleHandlerNuDockBase::~SampleHandlerNuDockBase ( )
virtual

Destructor.

Destructor.

Definition at line 24 of file SampleHandlerNuDockBase.cpp.

24  {
25 }

Member Function Documentation

◆ CleanMemoryBeforeFit()

void SampleHandlerNuDockBase::CleanMemoryBeforeFit ( )
inlineoverrideprotectedvirtual

No-op – memory cleanup is handled by the NuDock server.

Implements SampleHandlerInterface.

Definition at line 124 of file SampleHandlerNuDockBase.h.

124 {};

◆ Get1DVarHist()

std::unique_ptr<TH1> SampleHandlerNuDockBase::Get1DVarHist ( const int  iSample,
const std::string &  ProjectionVar,
const std::vector< KinematicCut > &  EventSelectionVec = {},
int  WeightStyle = 0,
const std::vector< KinematicCut > &  SubEventSelectionVec = {} 
)
inlineoverridevirtual

Return 1D projection of MC into given 1D variable (doesn't have to be variable used in the fit)

Parameters
iSampleIndex of the sample.
ProjectionVarname of variable
EventSelectionVecVector of additional cuts like cut on interaction mode
WeightStyleAlow to modify weight for example if equal to 1 all weights are set to 1
SubEventSelectionVecVector of additional cuts for sub event (particle, ring etc.)

Implements SampleHandlerInterface.

Definition at line 108 of file SampleHandlerNuDockBase.h.

109  {}, int WeightStyle = 0,
110  const std::vector<KinematicCut> &SubEventSelectionVec = {}) override {
111  (void)iSample; (void)ProjectionVar; (void)EventSelectionVec; (void)WeightStyle; (void)SubEventSelectionVec;
112  return nullptr;
113  };

◆ Get1DVarHistByModeAndChannel()

std::unique_ptr<TH1> SampleHandlerNuDockBase::Get1DVarHistByModeAndChannel ( const int  iSample,
const std::string &  ProjectionVar_Str,
int  kModeToFill = -1,
int  kChannelToFill = -1,
int  WeightStyle = 0 
)
inlineoverridevirtual

Build a 1D histogram for a given variable, optionally filtered by mode and channel.

Parameters
iSampleIndex of the sample.
ProjectionVar_StrName of the variable to project onto.
kModeToFillInteraction mode to select (-1 means all modes).
kChannelToFillOscillation channel to select (-1 means all channels).
WeightStyleWeighting scheme (e.g. 0 = nominal weights, 1 = unit weights).

Implements SampleHandlerInterface.

Definition at line 95 of file SampleHandlerNuDockBase.h.

96  {
97  (void)iSample; (void)ProjectionVar_Str; (void)kModeToFill; (void)kChannelToFill; (void)WeightStyle;
98  return nullptr;
99  };

◆ Get2DVarHist()

std::unique_ptr<TH2> SampleHandlerNuDockBase::Get2DVarHist ( const int  iSample,
const std::string &  ProjectionVarX,
const std::string &  ProjectionVarY,
const std::vector< KinematicCut > &  EventSelectionVec = {},
int  WeightStyle = 0,
const std::vector< KinematicCut > &  SubEventSelectionVec = {} 
)
inlineoverridevirtual

Build a 2D projection of MC events into specified variables.

Parameters
iSampleIndex of the sample.
ProjectionVarXName of the variable for the X axis.
ProjectionVarYName of the variable for the Y axis.
EventSelectionVecVector of event-level selection cuts.
WeightStyleWeighting scheme (e.g. 0 = nominal weights, 1 = unit weights).
SubEventSelectionVecVector of sub-event selection cuts.

Implements SampleHandlerInterface.

Definition at line 115 of file SampleHandlerNuDockBase.h.

116  {},
117  int WeightStyle = 0, const std::vector< KinematicCut >& SubEventSelectionVec = {}) override {
118  (void)iSample; (void)ProjectionVarX; (void)ProjectionVarY; (void)EventSelectionVec; (void)WeightStyle; (void)SubEventSelectionVec;
119  return nullptr;
120  };

◆ Get2DVarHistByModeAndChannel()

std::unique_ptr<TH2> SampleHandlerNuDockBase::Get2DVarHistByModeAndChannel ( const int  iSample,
const std::string &  ProjectionVar_StrX,
const std::string &  ProjectionVar_StrY,
int  kModeToFill = -1,
int  kChannelToFill = -1,
int  WeightStyle = 0 
)
inlineoverridevirtual

Build a 2D histogram for given variables, optionally filtered by mode and channel.

Parameters
iSampleIndex of the sample.
ProjectionVar_StrXName of the variable for the X axis.
ProjectionVar_StrYName of the variable for the Y axis.
kModeToFillInteraction mode to select (-1 means all modes).
kChannelToFillOscillation channel to select (-1 means all channels).
WeightStyleWeighting scheme (e.g. 0 = nominal weights, 1 = unit weights).

Implements SampleHandlerInterface.

Definition at line 101 of file SampleHandlerNuDockBase.h.

103  {
104  (void)iSample; (void)ProjectionVar_StrX; (void)ProjectionVar_StrY; (void)kModeToFill; (void)kChannelToFill; (void)WeightStyle;
105  return nullptr;
106  };

◆ GetDataHist()

const TH1* SampleHandlerNuDockBase::GetDataHist ( const int  Sample)
inlineoverridevirtual

Get Data histogram.

Implements SampleHandlerInterface.

Definition at line 82 of file SampleHandlerNuDockBase.h.

82 { (void)Sample; return nullptr; };

◆ GetFlavourName()

std::string SampleHandlerNuDockBase::GetFlavourName ( const int  iSample,
const int  iChannel 
) const
inlineoverridevirtual

Get the flavour name for a given sample and oscillation channel.

Parameters
iSampleIndex of the sample.
iChannelIndex of the oscillation channel within the sample.

Implements SampleHandlerInterface.

Definition at line 90 of file SampleHandlerNuDockBase.h.

90 { (void)iSample; (void)iChannel; return ""; };

◆ GetKinVarName()

std::string SampleHandlerNuDockBase::GetKinVarName ( const int  iSample,
const int  Dimension 
) const
inlineoverridevirtual

Return Kinematic Variable name for specified sample and dimension for example "Reconstructed_Neutrino_Energy".

Parameters
iSampleSample index
DimensionDimension index

Implements SampleHandlerInterface.

Definition at line 79 of file SampleHandlerNuDockBase.h.

79 { (void)iSample; (void)Dimension; return ""; };

◆ GetLikelihood()

double SampleHandlerNuDockBase::GetLikelihood ( ) const
overridevirtual

Retrieve the log-likelihood from the NuDock server.

Retrieve the log-likelihood from the NuDock server.

Sends a "/log_likelihood" request and converts the returned 2NLL value to MaCh3's NLL convention by dividing by 2.

Returns
The log-likelihood value from the remote server.

Sends a "/log_likelihood" request and converts the returned 2NLL value to MaCh3's NLL convention by dividing by 2.

Returns
The log-likelihood value from the remote server.

Implements SampleHandlerInterface.

Definition at line 90 of file SampleHandlerNuDockBase.cpp.

90  {
91  nlohmann::json request = "";
92  double llh_value = 0.0;
93  auto response = nudock_ptr->send_request("/log_likelihood", request);
94  try {
95  llh_value = response["log_likelihood"].get<double>();
96  llh_value /= 2; // NuDock returns 2NLL, so we divide by 2 to be consistent with M3's definition of LLH.
97  return llh_value;
98  } catch (const std::exception &e) {
99  MACH3LOG_ERROR("Error retrieving log-likelihood from NuDock response: {}", e.what());
100  throw MaCh3Exception(__FILE__, __LINE__);
101  }
102 }
#define MACH3LOG_ERROR
Definition: MaCh3Logger.h:37
Custom exception class used throughout MaCh3.
std::unique_ptr< NuDock > nudock_ptr
Pointer to the NuDock client communication object.

◆ GetMCHist()

const TH1* SampleHandlerNuDockBase::GetMCHist ( const int  Sample)
inlineoverridevirtual

Get MC histogram.

Implements SampleHandlerInterface.

Definition at line 84 of file SampleHandlerNuDockBase.h.

84 { (void)Sample; return nullptr; };

◆ GetName()

std::string SampleHandlerNuDockBase::GetName ( ) const
inlineoverridevirtual

Get the name of this sample handler.

Returns
The fixed string "NuDockSample".

Implements SampleHandlerInterface.

Definition at line 59 of file SampleHandlerNuDockBase.h.

59 { return "NuDockSample"; };

◆ GetNDim()

int SampleHandlerNuDockBase::GetNDim ( const int  Sample) const
inlineoverridevirtual

DB Function to differentiate 1D or 2D binning.

Implements SampleHandlerInterface.

Definition at line 89 of file SampleHandlerNuDockBase.h.

89 { (void)Sample; return 0; };

◆ GetNOscChannels()

int SampleHandlerNuDockBase::GetNOscChannels ( const int  iSample) const
inlineoverridevirtual

Get the number of oscillation channels for a sample.

Parameters
iSampleSample index (unused).
Returns
Always returns 0 - oscillation channels are managed server-side.

Implements SampleHandlerInterface.

Definition at line 73 of file SampleHandlerNuDockBase.h.

73 { (void)iSample; return 0; };

◆ GetSampleLikelihood()

double SampleHandlerNuDockBase::GetSampleLikelihood ( const int  isample) const
inlineoverridevirtual

Get the likelihood for a specific sub-sample.

Parameters
isampleSub-sample index (unused – delegates to GetLikelihood()).
Returns
The total log-likelihood from the remote server.

Implements SampleHandlerInterface.

Definition at line 64 of file SampleHandlerNuDockBase.h.

64 { (void)isample; return GetLikelihood(); };
double GetLikelihood() const override
Retrieve the log-likelihood from the NuDock server.

◆ GetSampleTitle()

std::string SampleHandlerNuDockBase::GetSampleTitle ( const int  Sample) const
inlineoverridevirtual

Get the title string for a given sample index.

Parameters
SampleSample index (unused - always returns "NuDockSample").
Returns
The fixed string "NuDockSample".

Implements SampleHandlerInterface.

Definition at line 55 of file SampleHandlerNuDockBase.h.

55 { (void)Sample; return "NuDockSample"; };

◆ GetW2Hist()

const TH1* SampleHandlerNuDockBase::GetW2Hist ( const int  Sample)
inlineoverridevirtual

Get W2 histogram.

Implements SampleHandlerInterface.

Definition at line 86 of file SampleHandlerNuDockBase.h.

86 { (void)Sample; return nullptr; };

◆ Init()

void SampleHandlerNuDockBase::Init ( )
protected

Initialise the NuDock client connection and cache parameter indices.

Initialise the NuDock client connection and cache parameter indices.

Calls InitialiseNuDockObj() and then gathers system parameter indices (kFunc, kNorm, kSpline) tagged with sample "NuDock" from the ParameterHandler.

Calls InitialiseNuDockObj() and then gathers system parameter indices (kFunc, kNorm, kSpline) tagged with sample "NuDock" from the ParameterHandler.

Definition at line 30 of file SampleHandlerNuDockBase.cpp.

30  {
32 
33  // Gather the indices of NuDock parameters from the ParameterHandler, so that we can easily retrieve their values in Reweight()
34  auto nudockParamInds_func = ParHandler->GetParsIndexFromSampleName("NuDock", SystType::kFunc);
35  // HH: We should only be using kFunc for NuDock, but for convenience of testing (e.g. when validating
36  // M3 client with M3 server we'd want to test the LLH of all the params) we include all param types here.
37  auto nudockParamInds_norm = ParHandler->GetParsIndexFromSampleName("NuDock", SystType::kNorm);
38  auto nudockParamInds_spline = ParHandler->GetParsIndexFromSampleName("NuDock", SystType::kSpline);
39  nudockParamInds = nudockParamInds_func;
40  nudockParamInds.insert(nudockParamInds.end(), nudockParamInds_norm.begin(), nudockParamInds_norm.end());
41  nudockParamInds.insert(nudockParamInds.end(), nudockParamInds_spline.begin(), nudockParamInds_spline.end());
42 
43  nudock_ptr->start_client();
44 }
void InitialiseNuDockObj(Manager *man, std::unique_ptr< NuDock > &nudock_ptr)
Initialise a NuDock communication object from a manager configuration.
@ kNorm
For normalisation parameters.
@ kSpline
For splined parameters (1D)
@ kFunc
For functional parameters.
const std::vector< int > GetParsIndexFromSampleName(const std::string &SampleName, const SystType Type) const
DB Grab the parameter indices for the relevant SampleName.
std::vector< int > nudockParamInds
Cached indices into the ParameterHandler for parameters sent to the server.

◆ PrintRates()

void SampleHandlerNuDockBase::PrintRates ( const bool  DataOnly = false)
inlineoverridevirtual

Print event rates (no-op for the NuDock client).

Parameters
DataOnlyWhether to print data-only rates (unused).

Implements SampleHandlerInterface.

Definition at line 68 of file SampleHandlerNuDockBase.h.

68 { (void)DataOnly; MACH3LOG_INFO("No rates to print for NuDock sample handler"); };

◆ ReturnKinematicParameterBinning()

std::vector<double> SampleHandlerNuDockBase::ReturnKinematicParameterBinning ( const int  Sample,
const std::string &  KinematicParameter 
) const
inlineoverridevirtual

Return the binning used to draw a kinematic parameter.

Implements SampleHandlerInterface.

Definition at line 93 of file SampleHandlerNuDockBase.h.

93 { (void)Sample; (void)KinematicParameter; return {}; };

◆ Reweight()

void SampleHandlerNuDockBase::Reweight ( )
overridevirtual

Send current parameter values to the NuDock server.

Send current parameter values to the NuDock server.

Collects oscillation and systematic parameter values from the ParameterHandlerGeneric, converts oscillation parameters from MaCh3 to NuDock convention, and sends a "/set_parameters" request.

Collects oscillation and systematic parameter values from the ParameterHandlerGeneric, converts oscillation parameters from MaCh3 to NuDock convention, and sends a "/set_parameters" request.

Implements SampleHandlerInterface.

Definition at line 49 of file SampleHandlerNuDockBase.cpp.

49  {
50  nlohmann::json request;
51  std::unordered_map<std::string, double> osc_params;
52  std::unordered_map<std::string, double> xsec_params;
53 
54  // Loop for systs
55  for (const auto& iParam : nudockParamInds) {
56  std::string paramName = ParHandler->GetParFancyName(iParam);
57  double paramValue = ParHandler->GetParProp(iParam);
58  xsec_params[paramName] = paramValue;
59  }
60 
61  // Loop over NuDockOscNameMap_r to get osc params
62  for (auto const& pair : NuDockOscNameMap_r) {
63  auto const& paramNameM3 = pair.first;
64  auto const& paramNameNuDock = pair.second;
65 
66  int iParam = ParHandler->GetParIndex(paramNameM3);
67  double paramValue = ParHandler->GetParProp(iParam);
68  // Convert sin2_theta to theta
69  FormatOscParsForNuDock(paramNameNuDock, paramValue);
70  osc_params[paramNameNuDock] = paramValue;
71  }
72 
73  request["osc_pars"] = osc_params;
74  request["sys_pars"] = xsec_params;
75 
76  auto response = nudock_ptr->send_request("/set_parameters", request);
77  if (verbose) {
78  try {
79  MACH3LOG_INFO("NuDock response: {}", response.dump());
80  } catch (const std::exception &e) {
81  MACH3LOG_ERROR("Error dumping NuDock response: {}", e.what());
82  throw MaCh3Exception(__FILE__, __LINE__);
83  }
84  }
85 }
const std::unordered_map< std::string, std::string > NuDockOscNameMap_r
Mapping from MaCh3 oscillation parameter names to NuDock names.
void FormatOscParsForNuDock(const std::string &param_name, double &param_value)
Convert an oscillation parameter value from MaCh3 convention to NuDock convention.
int GetParIndex(const std::string &name) const
Get index based on name.
std::string GetParFancyName(const int i) const
Get fancy name of the Parameter.
M3::float_t GetParProp(const int i) const
Get proposed parameter value.

Member Data Documentation

◆ nudock_ptr

std::unique_ptr<NuDock> SampleHandlerNuDockBase::nudock_ptr
protected

Pointer to the NuDock client communication object.

Definition at line 133 of file SampleHandlerNuDockBase.h.

◆ nudockParamInds

std::vector<int> SampleHandlerNuDockBase::nudockParamInds
protected

Cached indices into the ParameterHandler for parameters sent to the server.

Definition at line 142 of file SampleHandlerNuDockBase.h.

◆ ParHandler

ParameterHandlerGeneric* SampleHandlerNuDockBase::ParHandler
protected

Non-owning pointer to the cross-section ParameterHandler.

Definition at line 145 of file SampleHandlerNuDockBase.h.

◆ SampleManager

std::unique_ptr<Manager> SampleHandlerNuDockBase::SampleManager
protected

Manager owning the NuDockClient configuration.

Definition at line 136 of file SampleHandlerNuDockBase.h.

◆ verbose

bool SampleHandlerNuDockBase::verbose
protected

Verbose logging flag, read from the NuDockClient config block.

Definition at line 139 of file SampleHandlerNuDockBase.h.


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