AliPhysics  cdeda5a (cdeda5a)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliSignificanceCalculator Class Reference

#include <AliSignificanceCalculator.h>

Inheritance diagram for AliSignificanceCalculator:

Public Member Functions

 AliSignificanceCalculator ()
 
 AliSignificanceCalculator (AliMultiDimVector *sig, AliMultiDimVector *bkg, Float_t normsig=1., Float_t normbkg=1.)
 
 AliSignificanceCalculator (AliMultiDimVector *sig, AliMultiDimVector *bkg, AliMultiDimVector *err2sig, AliMultiDimVector *err2bkg, Float_t normsig=1., Float_t normbkg=1.)
 
 ~AliSignificanceCalculator ()
 
void SetSignal (AliMultiDimVector *sig, Float_t norm=1.)
 
void SetBackground (AliMultiDimVector *bac, Float_t norm=1.)
 
void SetErrSquareSignal (AliMultiDimVector *err2sig, Float_t norm=1.)
 
void SetErrSquareBackground (AliMultiDimVector *err2bkg, Float_t norm=1.)
 
void SetNormalizations (Float_t normSig, Float_t normBkg)
 
AliMultiDimVectorGetSignal () const
 
AliMultiDimVectorGetBackground () const
 
AliMultiDimVectorGetSignificance () const
 
AliMultiDimVectorGetSignificanceError () const
 
void CalculateSignificance ()
 
Float_t GetMaxSignificance (Int_t *cutIndices, Int_t ptbin) const
 
AliMultiDimVectorCalculatePurity () const
 
AliMultiDimVectorCalculatePurityError () const
 
AliMultiDimVectorCalculateSOverB () const
 
AliMultiDimVectorCalculateSOverBError () const
 

Private Member Functions

Bool_t Check () const
 
 AliSignificanceCalculator (const AliSignificanceCalculator &c)
 
AliSignificanceCalculatoroperator= (const AliSignificanceCalculator &c)
 

Private Attributes

AliMultiDimVectorfSignal
 
AliMultiDimVectorfErrSquareSignal
 signal matrix More...
 
AliMultiDimVectorfBackground
 matrix with err^2 for signal More...
 
AliMultiDimVectorfErrSquareBackground
 background matrix More...
 
AliMultiDimVectorfSignificance
 matrix with err^2 for background More...
 
AliMultiDimVectorfErrSignificance
 significance matrix More...
 
Float_t fNormSig
 matrix with error on significance More...
 
Float_t fNormBkg
 signal normalization More...
 

Detailed Description

Definition at line 21 of file AliSignificanceCalculator.h.

Constructor & Destructor Documentation

AliSignificanceCalculator::AliSignificanceCalculator ( )

Definition at line 37 of file AliSignificanceCalculator.cxx.

AliSignificanceCalculator::AliSignificanceCalculator ( AliMultiDimVector sig,
AliMultiDimVector bkg,
Float_t  normsig = 1.,
Float_t  normbkg = 1. 
)

Definition at line 52 of file AliSignificanceCalculator.cxx.

AliSignificanceCalculator::AliSignificanceCalculator ( AliMultiDimVector sig,
AliMultiDimVector bkg,
AliMultiDimVector err2sig,
AliMultiDimVector err2bkg,
Float_t  normsig = 1.,
Float_t  normbkg = 1. 
)

Definition at line 66 of file AliSignificanceCalculator.cxx.

AliSignificanceCalculator::~AliSignificanceCalculator ( )

Definition at line 80 of file AliSignificanceCalculator.cxx.

AliSignificanceCalculator::AliSignificanceCalculator ( const AliSignificanceCalculator c)
private

Member Function Documentation

AliMultiDimVector * AliSignificanceCalculator::CalculatePurity ( ) const

Definition at line 132 of file AliSignificanceCalculator.cxx.

Referenced by showMultiDimVector().

AliMultiDimVector * AliSignificanceCalculator::CalculatePurityError ( ) const

Definition at line 151 of file AliSignificanceCalculator.cxx.

Referenced by showMultiDimVector().

void AliSignificanceCalculator::CalculateSignificance ( )
AliMultiDimVector * AliSignificanceCalculator::CalculateSOverB ( ) const

Definition at line 179 of file AliSignificanceCalculator.cxx.

Referenced by showMultiDimVector().

AliMultiDimVector * AliSignificanceCalculator::CalculateSOverBError ( ) const

Definition at line 198 of file AliSignificanceCalculator.cxx.

Referenced by showMultiDimVector().

Bool_t AliSignificanceCalculator::Check ( ) const
private
AliMultiDimVector* AliSignificanceCalculator::GetBackground ( ) const
inline

Definition at line 61 of file AliSignificanceCalculator.h.

Float_t AliSignificanceCalculator::GetMaxSignificance ( Int_t cutIndices,
Int_t  ptbin 
) const
inline

Definition at line 66 of file AliSignificanceCalculator.h.

Referenced by showMultiDimVector().

AliMultiDimVector* AliSignificanceCalculator::GetSignal ( ) const
inline

Definition at line 60 of file AliSignificanceCalculator.h.

AliMultiDimVector* AliSignificanceCalculator::GetSignificance ( ) const
inline

Definition at line 62 of file AliSignificanceCalculator.h.

AliMultiDimVector* AliSignificanceCalculator::GetSignificanceError ( ) const
inline

Definition at line 63 of file AliSignificanceCalculator.h.

Referenced by showMultiDimVector().

AliSignificanceCalculator& AliSignificanceCalculator::operator= ( const AliSignificanceCalculator c)
private
void AliSignificanceCalculator::SetBackground ( AliMultiDimVector bac,
Float_t  norm = 1. 
)
inline

Definition at line 35 of file AliSignificanceCalculator.h.

void AliSignificanceCalculator::SetErrSquareBackground ( AliMultiDimVector err2bkg,
Float_t  norm = 1. 
)
inline

Definition at line 47 of file AliSignificanceCalculator.h.

void AliSignificanceCalculator::SetErrSquareSignal ( AliMultiDimVector err2sig,
Float_t  norm = 1. 
)
inline

Definition at line 41 of file AliSignificanceCalculator.h.

void AliSignificanceCalculator::SetNormalizations ( Float_t  normSig,
Float_t  normBkg 
)
inline

Definition at line 54 of file AliSignificanceCalculator.h.

void AliSignificanceCalculator::SetSignal ( AliMultiDimVector sig,
Float_t  norm = 1. 
)
inline

Definition at line 29 of file AliSignificanceCalculator.h.

Member Data Documentation

AliMultiDimVector* AliSignificanceCalculator::fErrSignificance
private

significance matrix

Definition at line 86 of file AliSignificanceCalculator.h.

Referenced by CalculateSignificance(), GetSignificanceError(), and ~AliSignificanceCalculator().

AliMultiDimVector* AliSignificanceCalculator::fErrSquareBackground
private
AliMultiDimVector* AliSignificanceCalculator::fErrSquareSignal
private
Float_t AliSignificanceCalculator::fNormSig
private
AliMultiDimVector* AliSignificanceCalculator::fSignificance
private

matrix with err^2 for background

Definition at line 85 of file AliSignificanceCalculator.h.

Referenced by CalculateSignificance(), GetMaxSignificance(), GetSignificance(), and ~AliSignificanceCalculator().


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