Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
ExperimentObs.ExperimentObs Class Reference
Collaboration diagram for ExperimentObs.ExperimentObs:

Public Member Functions

None __post_init__ (self)
 
"ExperimentObs" from_cpp (cls, common.ExperimentObs cpp_obj)
 
common.ExperimentObs to_cpp (self)
 
int __hash__ (self)
 
str __str__ (self)
 
str __repr__ (self)
 

Public Attributes

 experiment
 
 obs
 

Static Public Attributes

str experiment
 
BinnedObservableId obs
 

Static Protected Attributes

common _cpp_obj = field(init=False, repr=False, compare=False)
 

Detailed Description

Identify one experimental measurement by experiment and observable bin.

Args:
    experiment: Experiment label as stored in the experimental database.
    obs: Binned observable identifier associated with the measurement.

Attributes:
    experiment: Experiment label.
    obs: Python :class:`BinnedObservableId` wrapper.

Examples:
    Build an exact selection entry for a CMS measurement::

        selection = ExperimentObs(
            "CMS",
            BinnedObservableId(Observables.F_L_B0__KSTAR0_MU_MU, (1.1, 2.0)),
        )

Definition at line 12 of file ExperimentObs.py.

Member Function Documentation

◆ __hash__()

int ExperimentObs.ExperimentObs.__hash__ (   self)
Hash both the experiment label and binned observable identifier.

Definition at line 66 of file ExperimentObs.py.

◆ __post_init__()

None ExperimentObs.ExperimentObs.__post_init__ (   self)
Validate fields and construct the bound C++ value object.

Definition at line 36 of file ExperimentObs.py.

◆ __repr__()

str ExperimentObs.ExperimentObs.__repr__ (   self)
Return an unambiguous debugging representation.

Definition at line 74 of file ExperimentObs.py.

◆ __str__()

str ExperimentObs.ExperimentObs.__str__ (   self)
Return a compact human-readable identifier.

Definition at line 70 of file ExperimentObs.py.

◆ from_cpp()

"ExperimentObs" ExperimentObs.ExperimentObs.from_cpp (   cls,
common.ExperimentObs  cpp_obj 
)
Create a Python wrapper from a bound C++ ``ExperimentObs``.

Definition at line 54 of file ExperimentObs.py.

◆ to_cpp()

common.ExperimentObs ExperimentObs.ExperimentObs.to_cpp (   self)
Return the bound C++ value object.

Definition at line 62 of file ExperimentObs.py.

Member Data Documentation

◆ _cpp_obj

common ExperimentObs.ExperimentObs._cpp_obj = field(init=False, repr=False, compare=False)
staticprotected

Definition at line 34 of file ExperimentObs.py.

◆ experiment [1/2]

str ExperimentObs.ExperimentObs.experiment
static

Definition at line 32 of file ExperimentObs.py.

◆ experiment [2/2]

ExperimentObs.ExperimentObs.experiment

Definition at line 38 of file ExperimentObs.py.

◆ obs [1/2]

BinnedObservableId ExperimentObs.ExperimentObs.obs
static

Definition at line 33 of file ExperimentObs.py.

◆ obs [2/2]

ExperimentObs.ExperimentObs.obs

Definition at line 42 of file ExperimentObs.py.


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