Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
CorrelationProxy Class Reference

#include <CorrelationProxy.h>

Inheritance diagram for CorrelationProxy:
Collaboration diagram for CorrelationProxy:

Public Types

using Type = CorrelationProvider::CorrelationType
 Alias for the correlation selector type.
 

Public Member Functions

double operator() (const ParamId &pid_1, const ParamId &pid_2, Type type) override
 Returns the requested correlation quantity for two parameters.
 
double operator() (const ExperimentObs &oid_1, const ExperimentObs &oid_2, Type type) override
 Returns the requested correlation quantity for two fully explicit experiment-scoped observables.
 
double operator() (const std::string &experiment, const Observables &oid_1, const Observables &oid_2, Type type) override
 Returns the requested correlation quantity for two observables identified by enum in the same experiment.
 
double operator() (const std::string &experiment, const ObservableId &oid_1, const ObservableId &oid_2, Type type) override
 Returns the requested correlation quantity for two internal observable identifiers in the same experiment.
 
double operator() (const std::string &experiment, const BinnedObservableId &oid_1, const BinnedObservableId &oid_2, Type type) override
 Returns the requested correlation quantity for two binned observables in the same experiment.
 
double operator() (const std::string &exp_1, const BinnedObservableId &oid_1, const std::string &exp_2, const BinnedObservableId &oid_2, Type type) override
 Returns the requested correlation quantity for two binned observables coming from possibly different experiments.
 
- Public Member Functions inherited from IObsCorrelationProxy< ParamId, ExperimentObs, Observables, ObservableId, BinnedObservableId, CorrelationProvider::CorrelationType >
virtual ~IObsCorrelationProxy ()=default
 Virtual destructor.
 

Detailed Description

Definition at line 54 of file CorrelationProxy.h.

Member Typedef Documentation

◆ Type

Alias for the correlation selector type.

Definition at line 63 of file CorrelationProxy.h.

Member Function Documentation

◆ operator()() [1/6]

double CorrelationProxy::operator() ( const ExperimentObs oid_1,
const ExperimentObs oid_2,
Type  type 
)
overridevirtual

Returns the requested correlation quantity for two fully explicit experiment-scoped observables.

Parameters
oid_1First experiment-scoped observable.
oid_2Second experiment-scoped observable.
typeCorrelation quantity requested.
Returns
Requested correlation quantity.

Implements IObsCorrelationProxy< ParamId, ExperimentObs, Observables, ObservableId, BinnedObservableId, CorrelationProvider::CorrelationType >.

Definition at line 15 of file CorrelationProxy.cpp.

◆ operator()() [2/6]

double CorrelationProxy::operator() ( const ParamId pid_1,
const ParamId pid_2,
Type  type 
)
overridevirtual

Returns the requested correlation quantity for two parameters.

Parameters
pid_1First parameter identifier.
pid_2Second parameter identifier.
typeCorrelation quantity requested.
Returns
Requested correlation quantity.

Implements IObsCorrelationProxy< ParamId, ExperimentObs, Observables, ObservableId, BinnedObservableId, CorrelationProvider::CorrelationType >.

Definition at line 6 of file CorrelationProxy.cpp.

◆ operator()() [3/6]

double CorrelationProxy::operator() ( const std::string &  exp_1,
const BinnedObservableId oid_1,
const std::string &  exp_2,
const BinnedObservableId oid_2,
Type  type 
)
overridevirtual

Returns the requested correlation quantity for two binned observables coming from possibly different experiments.

Parameters
exp_1Experiment associated with the first observable.
oid_1First binned observable identifier.
exp_2Experiment associated with the second observable.
oid_2Second binned observable identifier.
typeCorrelation quantity requested.
Returns
Requested correlation quantity.

Implements IObsCorrelationProxy< ParamId, ExperimentObs, Observables, ObservableId, BinnedObservableId, CorrelationProvider::CorrelationType >.

Definition at line 54 of file CorrelationProxy.cpp.

◆ operator()() [4/6]

double CorrelationProxy::operator() ( const std::string &  experiment,
const BinnedObservableId oid_1,
const BinnedObservableId oid_2,
Type  type 
)
overridevirtual

Returns the requested correlation quantity for two binned observables in the same experiment.

Parameters
experimentExperiment name used to scope both observables.
oid_1First binned observable identifier.
oid_2Second binned observable identifier.
typeCorrelation quantity requested.
Returns
Requested correlation quantity.

Implements IObsCorrelationProxy< ParamId, ExperimentObs, Observables, ObservableId, BinnedObservableId, CorrelationProvider::CorrelationType >.

Definition at line 44 of file CorrelationProxy.cpp.

◆ operator()() [5/6]

double CorrelationProxy::operator() ( const std::string &  experiment,
const ObservableId oid_1,
const ObservableId oid_2,
Type  type 
)
overridevirtual

Returns the requested correlation quantity for two internal observable identifiers in the same experiment.

Parameters
experimentExperiment name used to scope both observables.
oid_1First observable identifier.
oid_2Second observable identifier.
typeCorrelation quantity requested.
Returns
Requested correlation quantity.

Implements IObsCorrelationProxy< ParamId, ExperimentObs, Observables, ObservableId, BinnedObservableId, CorrelationProvider::CorrelationType >.

Definition at line 34 of file CorrelationProxy.cpp.

◆ operator()() [6/6]

double CorrelationProxy::operator() ( const std::string &  experiment,
const Observables oid_1,
const Observables oid_2,
Type  type 
)
overridevirtual

Returns the requested correlation quantity for two observables identified by enum in the same experiment.

Parameters
experimentExperiment name used to scope both observables.
oid_1First observable (enum).
oid_2Second observable (enum).
typeCorrelation quantity requested.
Returns
Requested correlation quantity.

Implements IObsCorrelationProxy< ParamId, ExperimentObs, Observables, ObservableId, BinnedObservableId, CorrelationProvider::CorrelationType >.

Definition at line 24 of file CorrelationProxy.cpp.


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