Belle II Software
release-05-02-19
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
a
b
c
d
e
h
i
l
m
n
p
r
s
t
v
w
Enumerations
Enumerator
c
d
f
p
t
u
v
w
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Functions
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
utilityFunctions.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2018 - Belle II Collaboration *
4
* *
5
* Calculation of shower positions using lists of digits and weights. *
6
* *
7
* Author: The Belle II Collaboration *
8
* Contributors: Alon Hershenhorn (hershen@physics.ubc.ca) *
9
* *
10
* This software is provided "as is" without any warranty. *
11
**************************************************************************/
12
13
#pragma once
14
15
namespace
Belle2
{
20
namespace
ECL {
21
22
//** Enumurate ECL detector regions */
23
enum
DetectorRegion {outsideAcceptance = 0, FWD = 1, BRL = 2, BWD = 3, FWDGap = 11, BWDGap = 13};
24
26
DetectorRegion getDetectorRegion(
const
double
theta)
27
{
28
if
(theta < 0.2164208)
return
DetectorRegion::outsideAcceptance;
// < 12.4deg
29
if
(theta < 0.5480334)
return
DetectorRegion::FWD;
// < 31.4deg
30
if
(theta < 0.561996)
return
DetectorRegion::FWDGap;
// < 32.2deg
31
if
(theta < 2.2462387)
return
DetectorRegion::BRL;
// < 128.7deg
32
if
(theta < 2.2811453)
return
DetectorRegion::BWDGap;
// < 130.7deg
33
if
(theta < 2.7070057)
return
DetectorRegion::BWD;
// < 155.1deg
34
return
DetectorRegion::outsideAcceptance;
35
}
36
37
}
// namespace ECL
39
}
// namespace Belle2
40
41
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
ecl
utility
include
utilityFunctions.h
Generated on Tue Jan 4 2022 02:56:10 for Belle II Software by
1.8.17