BOSS
7.0.4
BESIII Offline Software System
Toggle main menu visibility
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
b
c
d
e
g
h
i
l
m
n
o
p
r
s
t
v
Enumerations
_
e
f
g
h
i
l
m
o
p
r
s
t
Enumerator
a
b
c
d
e
f
i
k
l
m
n
o
p
r
s
t
u
w
x
z
Classes
Class List
Class Index
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
m
n
p
r
s
t
v
w
Enumerations
b
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
v
Enumerator
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
z
Related Functions
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
w
x
Files
File List
File 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
l
m
n
o
p
q
r
s
t
u
v
w
x
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
p
q
r
s
t
u
v
w
z
Enumerations
d
e
g
h
p
r
s
t
Enumerator
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
w
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcCellAddr.h
Go to the documentation of this file.
1
#ifndef MDCCELLADDR_H
2
#define MDCCELLADDR_H
3
4
//--------------------------------------------------------------------------
5
//
6
// Environment:
7
// This software was developed for the BaBar collaboration. If you
8
// use all or part of it, please give an appropriate acknowledgement.
9
//
10
// Copyright Information:
11
// Copyright (C) 1999 <INFN>
12
//
13
// History:
14
// Migration for BESIII MDC
15
//
16
//------------------------------------------------------------------------
17
18
// ---------------------
19
// -- Class Interface --
20
// ---------------------
21
22
23
/**
24
* C++ source file code MdcCellAddr.
25
* This class is only a container for three static functions to map a Mdc
26
* cell address to its layer/wire numbers. Needed to break some circular
27
* dependency within the Mdc code
28
*
29
* This software was developed for the BaBar collaboration. If you
30
* use all or part of it, please give an appropriate acknowledgement.
31
*
32
* Copyright (C) 1999 [INFN & Padova University]
33
//
34
// History:
35
// Migration for BESIII MDC
36
*
37
* @see MdcCellAddrMdcCellAddr
38
*
39
* @version $Id: MdcCellAddr.h,v 1.2 2009/12/17 00:38:40 zhangy Exp $
40
*
41
* @author (R. Stroili) (originator);
42
*
43
*/
44
45
class
MdcCellAddr
{
46
47
//--------------------
48
// Instance Members --
49
//--------------------
50
51
public
:
52
53
// Constructors
54
MdcCellAddr
(
void
);
55
56
// Destructor
57
virtual
~MdcCellAddr
( ) {;}
58
59
// Operators
60
61
//------------------
62
// Static Members --
63
//------------------
64
65
public
:
66
67
// Selectors (const)
68
static
int
wireIs
(
const
int
&cell) {
return
cell%1000; }
69
static
int
layerIs
(
const
int
&cell) {
return
cell/1000; }
70
static
int
cellIs
(
const
int
&wire,
const
int
&layer) {
return
71
layer*1000+wire; }
72
73
};
74
75
#endif
// MDCCELLADDR_H
MdcCellAddr
Definition:
InstallArea/include/MdcGeom/MdcGeom/MdcCellAddr.h:45
MdcCellAddr::~MdcCellAddr
virtual ~MdcCellAddr()
Definition:
Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcCellAddr.h:57
MdcCellAddr::wireIs
static int wireIs(const int &cell)
Definition:
Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcCellAddr.h:68
MdcCellAddr::layerIs
static int layerIs(const int &cell)
Definition:
Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcCellAddr.h:69
MdcCellAddr::cellIs
static int cellIs(const int &wire, const int &layer)
Definition:
Reconstruction/MdcPatRec/MdcGeom/MdcGeom-00-01-17/MdcGeom/MdcCellAddr.h:70
MdcCellAddr::MdcCellAddr
MdcCellAddr(void)
source
Reconstruction
MdcPatRec
MdcGeom
MdcGeom-00-01-17
MdcGeom
MdcCellAddr.h
Generated by
1.9.6