AliPhysics  b752f14 (b752f14)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Combiner::Result Struct Reference
Inheritance diagram for Combiner::Result:

Public Member Functions

 Result (double x=0, double el=0, double eh=0)
 
virtual ~Result ()
 
double S () const
 
double Sprime () const
 
double V () const
 
double Vprime () const
 
virtual double Low () const
 
virtual double High () const
 

Public Attributes

double fX
 
double fEl
 
double fEh
 

Detailed Description

An experimental observation

Definition at line 12 of file Combiner.C.

Constructor & Destructor Documentation

Combiner::Result::Result ( double  x = 0,
double  el = 0,
double  eh = 0 
)
inline

Create a single obersvation

Parameters
xValue \( x_i\)
elLow error \( \sigma_i^-\) on \( x_i\)
ehHigh error \( \sigma_i^+\) on \( x_i\)

Definition at line 27 of file Combiner.C.

virtual Combiner::Result::~Result ( )
inlinevirtual

Virtual destructor

Definition at line 34 of file Combiner.C.

Member Function Documentation

virtual double Combiner::Result::High ( ) const
inlinevirtual

Upper bound

Returns
\( x_i + 3\sigma_i^+\)

Reimplemented in Combiner::Final.

Definition at line 105 of file Combiner.C.

Referenced by DrawResult::Draw(), and DrawResult::MakeF().

virtual double Combiner::Result::Low ( ) const
inlinevirtual

Lower bound

Returns
\( x_i - 3\sigma_i^+\)

Reimplemented in Combiner::Final.

Definition at line 96 of file Combiner.C.

Referenced by DrawResult::Draw(), and DrawResult::MakeF().

double Combiner::Result::S ( ) const
inline

Calculate

\[ s_i = \sigma_i^+ \sigma_i^- / (\sigma_i^+ + \sigma_i^-) \]

Returns
\( s_i\)

Definition at line 45 of file Combiner.C.

Referenced by LinearSigmaCombiner::StepW(), LinearSigmaCombiner::TermVar(), and LinearSigmaCombiner::W().

double Combiner::Result::Sprime ( ) const
inline

Calculate

\[ s_i' = (\sigma_i^+ - \sigma_i^-) / (\sigma_i^+ + \sigma_i^-) \]

Returns
\( s_i'\)

Definition at line 59 of file Combiner.C.

Referenced by LinearSigmaCombiner::StepW(), LinearSigmaCombiner::TermVar(), and LinearSigmaCombiner::W().

double Combiner::Result::V ( ) const
inline

Calculate

\[ V_i = \sigma_i^+ \sigma_i^- \]

Returns
\( V_i\)

Definition at line 73 of file Combiner.C.

Referenced by LinearVarianceCombiner::StepOffset(), LinearVarianceCombiner::StepW(), LinearVarianceCombiner::TermVar(), and LinearVarianceCombiner::W().

double Combiner::Result::Vprime ( ) const
inline

Calculate

\[ V_i' = \sigma_i^+ - \sigma_i^- \]

Returns
\( V_i'\)

Definition at line 87 of file Combiner.C.

Referenced by LinearVarianceCombiner::StepOffset(), LinearVarianceCombiner::StepW(), LinearVarianceCombiner::TermVar(), and LinearVarianceCombiner::W().

Member Data Documentation

double Combiner::Result::fEh

High error \( \sigma_i^+\)

Definition at line 19 of file Combiner.C.

Referenced by Drawer::Combine(), High(), DrawResult::MakeF(), operator<<(), RunTest(), S(), Sprime(), V(), and Vprime().

double Combiner::Result::fEl

Low error \( \sigma_i^-\)

Definition at line 17 of file Combiner.C.

Referenced by Drawer::Combine(), Low(), DrawResult::MakeF(), operator<<(), RunTest(), S(), Sprime(), V(), and Vprime().


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