Public Member Functions | Public Attributes | List of all members
ana::MCMCSamples::Hyperparameters Struct Reference

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-11-28/CAFAna/Fit/MCMCSamples.h"

Public Member Functions

 Hyperparameters (double stepsize=std::numeric_limits< double >::signaling_NaN(), std::unique_ptr< TMatrixD > &&invmetric=nullptr)
 
 Hyperparameters (const Hyperparameters &h)
 
Hyperparametersoperator= (Hyperparameters &&other)
 

Public Attributes

double stepSize
 
std::unique_ptr< TMatrixDinvMetric
 

Detailed Description

Definition at line 38 of file MCMCSamples.h.

Constructor & Destructor Documentation

ana::MCMCSamples::Hyperparameters::Hyperparameters ( double  stepsize = std::numeric_limits<double>::signaling_NaN(),
std::unique_ptr< TMatrixD > &&  invmetric = nullptr 
)
inlineexplicit

Definition at line 43 of file MCMCSamples.h.

Referenced by ana::MCMCSamples::SetHyperparams().

45  : stepSize(stepsize), invMetric(std::move(invmetric))
46  {}
std::unique_ptr< TMatrixD > invMetric
Definition: MCMCSamples.h:41
ana::MCMCSamples::Hyperparameters::Hyperparameters ( const Hyperparameters h)
inline

Definition at line 48 of file MCMCSamples.h.

49  : stepSize(h.stepSize), invMetric(h.invMetric ? std::make_unique<TMatrixD>(*h.invMetric) : nullptr)
50  {}
std::unique_ptr< TMatrixD > invMetric
Definition: MCMCSamples.h:41

Member Function Documentation

Hyperparameters& ana::MCMCSamples::Hyperparameters::operator= ( Hyperparameters &&  other)
inline

Definition at line 52 of file MCMCSamples.h.

References ana::MCMCSamples::AddSample(), ana::MCMCSamples::AdoptSamples(), ana::MCMCSamples::BestFitSampleIdx(), ana::MCMCSamples::MCMCSamples(), fhicl::other, systs, and vars.

53  {
54  stepSize = std::move(other.stepSize);
55  invMetric = std::move(other.invMetric);
56  return *this;
57  }
std::unique_ptr< TMatrixD > invMetric
Definition: MCMCSamples.h:41

Member Data Documentation

std::unique_ptr<TMatrixD> ana::MCMCSamples::Hyperparameters::invMetric

Definition at line 41 of file MCMCSamples.h.

Referenced by ana::StanFitter::RunHMC(), and ana::MCMCSamples::SaveTo().

double ana::MCMCSamples::Hyperparameters::stepSize

Definition at line 40 of file MCMCSamples.h.

Referenced by ana::StanFitter::RunHMC(), and ana::MCMCSamples::SaveTo().


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