BOSS
7.1.3
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
c
d
e
f
g
i
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
v
w
x
z
Typedefs
c
d
e
g
h
i
l
m
n
o
p
r
s
t
Enumerations
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 Symbols
:
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
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
h
i
j
k
l
m
n
p
r
s
t
u
v
w
z
Enumerations
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
▼
BOSS
Used Packages
Requirements
►
How to use the ERS package
Todo List
►
Namespaces
►
Classes
▼
Files
▼
File List
▼
7.1.3
►
Analysis
►
BesCxxPolicy
►
BesExamples
►
BesPolicy
►
Calibration
►
Control
►
Database
►
DetectorDescription
►
DistBoss
►
DQA
►
Emc
►
Event
►
EventDisplay
►
EventFilter
►
EvtPreSelect
►
External
►
Generator
►
InstallArea
►
LumTauAlg
►
MagneticField
►
Mdc
►
Muc
►
OfflineEvtFilter
▼
Reconstruction
►
BeamParamsAlg
►
DTagAlg
►
DTagSkim
►
EmcRec
►
EmcTimeRec
►
EsTimeAlg
►
EventAssembly
►
KalFitAlg
►
MdcDedxAlg
►
MdcDummyAlg
►
MdcFastTrkAlg
►
MdcHoughFinder
▼
MdcPatRec
►
BField
▼
MdcData
▼
MdcData-00-01-27
►
MdcData
▼
src
►
MdcHit.cxx
MdcHitMap.cxx
MdcHitMapGuts.cxx
MdcHitOnTrack.cxx
MdcHitUse.cxx
MdcRecoHitOnTrack.cxx
►
test
►
MdcGeom
►
MdcRecoUtil
►
MdcTrkRecon
►
MdcxReco
►
ProbTools
►
ProxyDict
►
TrkBase
►
TrkFitter
►
MucRecAlg
►
Pi0EtaToGGRecAlg
►
Pi0RecAlg
►
PrimaryVertexAlg
►
QCMCFilterAlg
►
SD0TagAlg
►
T0Dummy
►
TagWriterAlg
►
TofEnergyRec
►
TofRec
►
TrackUtil
►
TrkExtAlg
►
TrkReco
►
VeeVertexAlg
►
ZddReconAlg
►
RootPolicy
►
Simulation
►
Tof
►
Trigger
►
Utilities
►
Validation
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
MdcHitMapGuts.cxx
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: MdcHitMapGuts.cxx,v 1.4 2009/09/22 06:28:08 zhangy Exp $
4
//
5
// Description:
6
//
7
//
8
// Environment:
9
// Software developed for the BaBar Detector at the SLAC B-Factory.
10
//
11
// Author(s): Steve Schaffner
12
//
13
//------------------------------------------------------------------------
14
#include "
MdcData/MdcHitMapGuts.h
"
15
#include "
MdcData/MdcHit.h
"
16
#include "
MdcGeom/MdcDetector.h
"
17
#include "
MdcGeom/MdcLayer.h
"
18
#include <iostream>
19
20
MdcHitMapGuts::MdcHitMapGuts(
const
MdcDetector
& gm)
21
: _hits(gm.nLayer())
22
{
23
unsigned
n
= _hits.size();
24
for
(
unsigned
l = 0; l <
n
; ++l) {
25
const
MdcLayer
* lay = gm.
Layer
(l);
26
_hits[l].resize(lay->
nWires
(),0);
// resizes and zeroes
27
}
28
}
29
30
MdcHitMapGuts::~MdcHitMapGuts
()
31
{
32
}
30
MdcHitMapGuts::~MdcHitMapGuts
() {
…
}
33
34
MdcHitMapGuts
*
35
MdcHitMapGuts::instance(
const
MdcDetector
& gm)
36
{
37
static
MdcHitMapGuts
theInstance(gm);
38
theInstance.clear();
39
return
&theInstance;
40
}
41
42
void
43
MdcHitMapGuts::clear
()
44
{
45
for
(MdcHitMap_t::iterator j = _hits.begin(); j != _hits.end(); ++j) {
46
std::fill(j->begin(),j->end(),
static_cast<
MdcHit
*
>
(0));
47
}
48
}
43
MdcHitMapGuts::clear
() {
…
}
49
50
void
51
MdcHitMapGuts::addHit
(
MdcHit
& theHit)
52
{
53
_hits[theHit.
layernumber
()][theHit.
wirenumber
()] = &theHit;
54
}
51
MdcHitMapGuts::addHit
(
MdcHit
& theHit) {
…
}
55
n
const Int_t n
Definition
DataBase/tau_mode.c:65
MdcDetector.h
MdcHitMapGuts.h
MdcHit.h
MdcLayer.h
MdcDetector
Definition
MdcDetector.h:20
MdcDetector::Layer
const MdcLayer * Layer(unsigned id) const
Definition
MdcDetector.h:33
MdcHitMapGuts
Definition
MdcHitMapGuts.h:24
MdcHitMapGuts::clear
void clear()
Definition
MdcHitMapGuts.cxx:43
MdcHitMapGuts::addHit
void addHit(MdcHit &theHit)
Definition
MdcHitMapGuts.cxx:51
MdcHitMapGuts::~MdcHitMapGuts
virtual ~MdcHitMapGuts()
Definition
MdcHitMapGuts.cxx:30
MdcHit
Definition
MdcHit.h:44
MdcHit::layernumber
unsigned layernumber() const
Definition
MdcHit.h:61
MdcHit::wirenumber
unsigned wirenumber() const
Definition
MdcHit.h:62
MdcLayer
Definition
MdcLayer.h:15
MdcLayer::nWires
int nWires(void) const
Definition
MdcLayer.h:30
7.1.3
Reconstruction
MdcPatRec
MdcData
MdcData-00-01-27
src
MdcHitMapGuts.cxx
Generated by
1.13.2