Belle II Software development
ARICHAeroTilesInfo.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8
9#pragma once
10
11#include <vector>
12#include <TObject.h>
13
14//Number of tiles per Layer
15#define N_TILES 124
16
17namespace Belle2 {
28 class ARICHAeroTilesInfo : public TObject {
29
30 public:
31
34
41 float getRefractiveIndex(int slot, int layer) const;
42
49 float getTransmissionLength(int slot, int layer) const;
50
57 float getThickness(int slot, int layer) const;
58
67 void addMapping(int slot, int layer, float refractiveIndex, float transmissionLength, float thickness);
68
72 void print() const;
73
74
75 private:
76
77 std::map<std::vector<int>, std::vector<float>>
82 };
83
85} // namespace
The Class for ARICH aerogel tiles properties for even reconstruction.
ClassDef(ARICHAeroTilesInfo, 2)
ClassDef, must be the last term before the closing {}.
void addMapping(int slot, int layer, float refractiveIndex, float transmissionLength, float thickness)
Add mapping entry.
float getThickness(int slot, int layer) const
Get transmission length of aerogel tile from slot number.
float getRefractiveIndex(int slot, int layer) const
Get refractive index of aerogel tile from slot number.
std::map< std::vector< int >, std::vector< float > > m_aeroPos2optical
map of tile slot (1-124) to optical properties and thickness
void print() const
Pring mapping.
ARICHAeroTilesInfo()
Default constructor.
float getTransmissionLength(int slot, int layer) const
Get transmission length of aerogel tile from slot number.
Abstract base class for different kinds of events.