Belle II Software  release-05-01-25
Utility.h
1 /**************************************************************************
2  * BASF2 (Belle Analysis Framework 2) *
3  * Copyright(C) 2010 - Belle II Collaboration *
4  * *
5  * Author: The Belle II Collaboration *
6  * Contributors: Luka Santelj, Rok Pestotnik *
7  * *
8  * This software is provided "as is" without any warranty. *
9  **************************************************************************/
10 
11 #ifndef ARICHUTILITY_H
12 #define ARICHUTILITY_H
13 
14 #include <TVector3.h>
15 #include <TRotation.h>
16 
17 namespace Belle2 {
22  namespace arich {
24 
27  double Erf(double x);
28 
30 
34  TVector3 Refraction(const TVector3 s, const double n);
35 
37 
43  int Refraction(TVector3 s, TVector3 norm, double n, TVector3& a);
44 
46 
50  TVector3 setThetaPhi(double theta, double fi);
51 
53 
56  TRotation TransformFromFixed(TVector3 r);
57 
59 
62  TRotation TransformToFixed(TVector3 r);
63 
65 
70  double ExpectedCherenkovAngle(double p, double mass, double refind);
71 
73 
95  double SquareInt(double aaa, double fi, double mean, double sigma);
96 
97  } // namespace arich
99 } // namespace Belle2
100 
101 #endif
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19