Belle II Software  release-08-01-10
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 #pragma once
9 
10 #include <TVector3.h>
11 #include <TRotation.h>
12 
13 namespace Belle2 {
18  namespace arich {
20 
23  double Erf(double x);
24 
26 
30  TVector3 Refraction(const TVector3 s, const double n);
31 
33 
39  int Refraction(TVector3 s, TVector3 norm, double n, TVector3& a);
40 
42 
46  TVector3 setThetaPhi(double theta, double fi);
47 
49 
52  TRotation TransformFromFixed(TVector3 r);
53 
55 
58  TRotation TransformToFixed(TVector3 r);
59 
61 
66  double ExpectedCherenkovAngle(double p, double mass, double refind);
67 
69 
91  double SquareInt(double aaa, double fi, double mean, double sigma);
92 
93  } // namespace arich
95 } // namespace Belle2
Abstract base class for different kinds of events.