Belle II Software development
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 <Math/Vector3D.h>
11#include <Math/Rotation3D.h>
12
13namespace Belle2 {
18 namespace arich {
20
23 double Erf(double x);
24
26
30 ROOT::Math::XYZVector Refraction(const ROOT::Math::XYZVector s, const double n);
31
33
39 int Refraction(ROOT::Math::XYZVector s, ROOT::Math::XYZVector norm, double n, ROOT::Math::XYZVector& a);
40
42
46 ROOT::Math::XYZVector setThetaPhi(double theta, double fi);
47
49
52 ROOT::Math::Rotation3D TransformFromFixed(ROOT::Math::XYZVector r);
53
55
58 ROOT::Math::Rotation3D TransformToFixed(ROOT::Math::XYZVector 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.