NAIA  1.1.1
Classes | Public Types | 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
 A struct to hold variables representing a single beta measurement from the RICH. More...
 

Public Types

enum  RingGeom { Borders, BadAglTiles, AglTilesEdge, BadAglRegions }
 

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...
 
std::array< float, 2 > GetTrackEmissionPoint () const
 Get the Track emmission point. 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 (RingGeom geom=RingGeom::Borders) const
 Checks if the track impact point on the radiator falls on the on the edge of the radiator (absolute or NaF/AGL border), on a bad agl tile, on some tile edges indentified as bad or on bad agl regions (from TWiki) 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 Enumeration Documentation

◆ RingGeom

Enumerator
Borders 
BadAglTiles 
AglTilesEdge 
BadAglRegions 

Definition at line 40 of file Rich.h.

Member Function Documentation

◆ BetaConsistency()

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 51 of file Rich.cpp.

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

◆ BetaConsistencyTof()

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 59 of file Rich.cpp.

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

◆ Clear()

void NAIA::RichBaseData::Clear ( )

Clear container content.

Definition at line 8 of file Rich.cpp.

References m_beta.

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

◆ Dump()

void NAIA::RichBaseData::Dump ( ) const

Dump on screen container content.

Definition at line 9 of file Rich.cpp.

◆ GetBeta()

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.

◆ GetBetaError()

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.

◆ GetTileIndex()

int NAIA::RichBaseData::GetTileIndex ( ) const

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

Returns
tile ID

Definition at line 68 of file Rich.cpp.

References m_beta.

Referenced by RingGeomTest().

◆ GetTrackEmissionPoint()

std::array< float, 2 > NAIA::RichBaseData::GetTrackEmissionPoint ( ) const

Get the Track emmission point.

Returns
the position of the emission point in the radiator

Definition at line 43 of file Rich.cpp.

References m_beta.

◆ HasBetaLIP()

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.

◆ IsNaF()

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().

◆ RingGeomTest()

bool NAIA::RichBaseData::RingGeomTest ( RingGeom  geom = RingGeom::Borders) const

Checks if the track impact point on the radiator falls on the on the edge of the radiator (absolute or NaF/AGL border), on a bad agl tile, on some tile edges indentified as bad or on bad agl regions (from TWiki)

Returns
true good impact point
false on the radiator edge (geom=RingGeom::Borders), bad tile (geom=RingGeom::BadAglTiles), bad Agl tiles edges (geom=RingGeom::AglTilesEdge), bad Agl regions (geom=RingGeom::BadAglRegions)

Definition at line 86 of file Rich.cpp.

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

Member Data Documentation

◆ m_beta

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

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