Belle II Software  release-05-01-25
ARICHAeroTilesInfo.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2017 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Luka Santelj, *
7  * Manca Mrvar, *
8  * Martin Ritter, *
9  * Leonid Burmistrov *
10  * *
11  * This software is provided "as is" without any warranty. *
12  **************************************************************************/
13 
14 #pragma once
15 
16 #include <vector>
17 #include <TObject.h>
18 
19 //Number of tiles per Layer
20 #define N_TILES 124
21 
22 namespace Belle2 {
33  class ARICHAeroTilesInfo : public TObject {
34 
35  public:
36 
39 
46  float getRefractiveIndex(int slot, int layer) const;
47 
54  float getTransmissionLength(int slot, int layer) const;
55 
62  float getThickness(int slot, int layer) const;
63 
72  void addMapping(int slot, int layer, float refractiveIndex, float transmissionLength, float thickness);
73 
77  void print() const;
78 
79 
80  private:
81 
82  std::map<std::vector<int>, std::vector<float>>
87  };
88 
90 } // namespace
Belle2::ARICHAeroTilesInfo
The Class for ARICH aerogel tiles properties for even reconstruction.
Definition: ARICHAeroTilesInfo.h:33
Belle2::ARICHAeroTilesInfo::getThickness
float getThickness(int slot, int layer) const
Get transmission length of aerogel tile from slot number.
Definition: ARICHAeroTilesInfo.cc:45
Belle2::ARICHAeroTilesInfo::getTransmissionLength
float getTransmissionLength(int slot, int layer) const
Get transmission length of aerogel tile from slot number.
Definition: ARICHAeroTilesInfo.cc:33
Belle2::ARICHAeroTilesInfo::m_aeroPos2optical
std::map< std::vector< int >, std::vector< float > > m_aeroPos2optical
map of tile slot (1-124) to optical properties and thickness
Definition: ARICHAeroTilesInfo.h:83
Belle2::ARICHAeroTilesInfo::print
void print() const
Pring mapping.
Definition: ARICHAeroTilesInfo.cc:68
Belle2::ARICHAeroTilesInfo::ARICHAeroTilesInfo
ARICHAeroTilesInfo()
Default constructor.
Definition: ARICHAeroTilesInfo.h:38
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19
Belle2::ARICHAeroTilesInfo::getRefractiveIndex
float getRefractiveIndex(int slot, int layer) const
Get refractive index of aerogel tile from slot number.
Definition: ARICHAeroTilesInfo.cc:21
Belle2::ARICHAeroTilesInfo::addMapping
void addMapping(int slot, int layer, float refractiveIndex, float transmissionLength, float thickness)
Add mapping entry.
Definition: ARICHAeroTilesInfo.cc:57
Belle2::ARICHAeroTilesInfo::ClassDef
ClassDef(ARICHAeroTilesInfo, 2)
ClassDef, must be the last term before the closing {}.