NAIA  1.0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
Classes | Public Member Functions | Private Attributes | List of all members
NAIA::RichBaseData Class Reference

Container class for base Rich info. More...

#include <Containers/Rich.h>

Inheritance diagram for NAIA::RichBaseData:
NAIA::RichBase

Classes

struct  RichBaseDataR
 Measured beta of type defined by Rich::BetaType,. More...
 

Public Member Functions

bool IsNaF () const
 Returns true if the radiator is NaF; false if it is AGL. More...
 
bool HasBetaLIP () const
 Returns true if Standalone LIP beta measurement is available. More...
 
RichBetaVariable< float > GetBeta () const
 Get the Beta measurements. More...
 
RichBetaVariable< float > GetBetaError () const
 Get the Beta error. More...
 
void Clear ()
 Clear container content. More...
 
void Dump () const
 Dump on screen container content. More...
 
double BetaConsistency () const
 Get the estimator for beta consistency between CIEMAT and LIP reconstructions. More...
 
double BetaConsistencyTof (const TofBaseData &tofData) const
 Get the estimator for beta consistency between Rich and Tof. More...
 
int GetTileIndex () const
 Get the ID of the radiator tile where the ring is generated. More...
 
bool RingGeomTest () const
 Checks if the track impact point on the radiator falls on the on the edge of the radiator (absolute or NaF/AGL border) or on a bad tile. More...
 

Private Attributes

std::vector< RichBaseDataRm_beta
 

Detailed Description

Container class for base Rich info.

This class holds the Rich variables which are likely to be accessed more frequently.

Definition at line 38 of file Rich.h.

Member Function Documentation

double NAIA::RichBaseData::BetaConsistency ( ) const

Get the estimator for beta consistency between CIEMAT and LIP reconstructions.

Defined as $| \beta_{ciemat} - \beta_{lip} |$

Returns
The beta consistency

Definition at line 43 of file Rich.cpp.

References NAIA::Rich::CIEMAT, NAIA::Rich::LIP, and m_beta.

double NAIA::RichBaseData::BetaConsistencyTof ( const TofBaseData tofData) const

Get the estimator for beta consistency between Rich and Tof.

Defined as $ | \beta_{ciemat} - \beta_{Tof} | $

Parameters
tofDatathe TofBaseData container with the Tof information
Returns
The beta consistency

Definition at line 51 of file Rich.cpp.

References NAIA::TofBaseData::Beta, NAIA::Tof::BetaH, NAIA::Rich::CIEMAT, NAIA::ContainsKeys(), and m_beta.

void NAIA::RichBaseData::Clear ( )

Clear container content.

Definition at line 8 of file Rich.cpp.

References m_beta.

Referenced by NAIA::Event::Clear().

void NAIA::RichBaseData::Dump ( ) const

Dump on screen container content.

Definition at line 9 of file Rich.cpp.

RichBetaVariable< float > NAIA::RichBaseData::GetBeta ( ) const

Get the Beta measurements.

Returns
the beta value for available measurements type. See Rich::BetaType for available measurements.

Definition at line 27 of file Rich.cpp.

References m_beta.

RichBetaVariable< float > NAIA::RichBaseData::GetBetaError ( ) const

Get the Beta error.

Returns
the error on the beta value for available measurements type. See Rich::BetaType for available measurements.

Definition at line 35 of file Rich.cpp.

References m_beta.

int NAIA::RichBaseData::GetTileIndex ( ) const

Get the ID of the radiator tile where the ring is generated.

Returns
tile ID

Definition at line 60 of file Rich.cpp.

References m_beta.

Referenced by RingGeomTest().

bool NAIA::RichBaseData::HasBetaLIP ( ) const

Returns true if Standalone LIP beta measurement is available.

Definition at line 11 of file Rich.cpp.

References m_beta.

bool NAIA::RichBaseData::IsNaF ( ) const

Returns true if the radiator is NaF; false if it is AGL.

Definition at line 19 of file Rich.cpp.

References m_beta.

Referenced by RingGeomTest().

bool NAIA::RichBaseData::RingGeomTest ( ) const

Checks if the track impact point on the radiator falls on the on the edge of the radiator (absolute or NaF/AGL border) or on a bad tile.

Returns
true good impact point
false on the radiator edge or bad tile

Definition at line 78 of file Rich.cpp.

References GetTileIndex(), IsNaF(), and m_beta.

Member Data Documentation

std::vector<RichBaseDataR> NAIA::RichBaseData::m_beta
private

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