Go to the documentation of this file.
13 return m_beta[0].hasBetaLIP;
48 return std::numeric_limits<double>::max();
57 return std::numeric_limits<double>::max();
63 float x =
m_beta[0].Pos[0];
64 float y =
m_beta[0].Pos[1];
65 constexpr
int grid_side_length = 11;
66 constexpr
int n_tiles = grid_side_length * grid_side_length;
67 constexpr
double tile_width = 0.1 + 11.5;
69 if (std::fabs(x) < tile_width * 1.5 && std::fabs(y) < tile_width * 1.5)
72 int nx = int(x / tile_width + 5.5);
73 int ny = int(y / tile_width + 5.5);
74 int t = ny * grid_side_length + nx;
75 return t > n_tiles ? -1 : t;
82 static constexpr
int nbadtiles = 5;
83 static constexpr std::array<int, nbadtiles> kbadtile = {3, 7, 87, 100, 108};
85 float x =
m_beta[0].Pos[0];
86 float y =
m_beta[0].Pos[1];
90 static constexpr
float cut_aerogelexternalborder = 3500.;
94 static constexpr std::array<float, 2> cut_aerogel_nafborder = {17., 19.};
97 if (std::max(std::fabs(x), std::fabs(y)) > cut_aerogel_nafborder[0])
100 if (x * x + y * y > cut_aerogelexternalborder)
102 if (std::max(std::fabs(x), std::fabs(y)) < cut_aerogel_nafborder[1])
104 for (
int kbad = 0; kbad < nbadtiles; kbad++) {
RichBetaVariable< float > GetBetaError() const
Get the Beta error.
std::map< Rich::BetaType, T > RichBetaVariable
Rich container class description.
void Clear()
Clear container content.
bool RingGeomTest() const
Checks if the track impact point on the radiator falls on the on the edge of the radiator (absolute o...
void Dump() const
Dump on screen container content.
void Dump() const
Dump on screen container content.
std::enable_if< std::is_convertible< Key, size_t >::value, bool >::type ContainsKeys(const std::array< T, N > &container, Key key)
std::vector< RichAdditionalData > m_data
@ BetaH
IHEP reconstruction.
double BetaConsistency() const
Get the estimator for beta consistency between CIEMAT and LIP reconstructions.
static const std::string BranchName
bool IsNaF() const
Returns true if the radiator is NaF; false if it is AGL.
void Clear()
Clear container content.
Container class for base Tof info.
bool HasBetaLIP() const
Returns true if Standalone LIP beta measurement is available.
RichBetaVariable< float > GetBeta() const
Get the Beta measurements.
double BetaConsistencyTof(const TofBaseData &tofData) const
Get the estimator for beta consistency between Rich and Tof.
int GetTileIndex() const
Get the ID of the radiator tile where the ring is generated.
TofBetaVariable< float > Beta
Beta measurement, one for each type. See Tof::BetaType for list of types.
static const std::string BranchName
std::vector< RichBaseDataR > m_beta