Belle II Software  release-06-02-00
Utility.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 #ifndef ARICHUTILITY_H
10 #define ARICHUTILITY_H
11 
12 #include <TVector3.h>
13 #include <TRotation.h>
14 
15 namespace Belle2 {
20  namespace arich {
22 
25  double Erf(double x);
26 
28 
32  TVector3 Refraction(const TVector3 s, const double n);
33 
35 
41  int Refraction(TVector3 s, TVector3 norm, double n, TVector3& a);
42 
44 
48  TVector3 setThetaPhi(double theta, double fi);
49 
51 
54  TRotation TransformFromFixed(TVector3 r);
55 
57 
60  TRotation TransformToFixed(TVector3 r);
61 
63 
68  double ExpectedCherenkovAngle(double p, double mass, double refind);
69 
71 
93  double SquareInt(double aaa, double fi, double mean, double sigma);
94 
95  } // namespace arich
97 } // namespace Belle2
98 
99 #endif
Abstract base class for different kinds of events.