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/TrkBase/TrkBase-00-01-12/TrkBase/TrkTimeCalculator.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: TrkTimeCalculator.h,v 1.1.1.1 2005/04/21 06:01:42 zhangy Exp $
4
//
5
// Description:
6
// class TrkTimeCalculator. An abstract base class for computing a new
7
// track time based on the hots in the track.
8
//
9
// Environment:
10
// Software developed for the BaBar Detector at the SLAC B-Factory.
11
//
12
// Copyright Information:
13
// Copyright (C) 2001 Lawrence Berkeley Laboratory
14
//
15
// Author List:
16
// Dave Brown 7/17/01
17
//------------------------------------------------------------------------
18
19
#ifndef TRKTIMECALCULATOR_HH
20
#define TRKTIMECALCULATOR_HH
21
22
class
TrkRecoTrk
;
23
#include "TrkBase/TrkHotSelector.h"
24
25
class
TrkTimeCalculator
{
26
public
:
27
// only one constructor
28
TrkTimeCalculator
(
const
TrkHotSelector
& selector) :
29
_selector(selector){};
30
virtual
~TrkTimeCalculator
(){};
31
// The Function
32
virtual
bool
trackTime
(
const
TrkRecoTrk
& trk,
33
double
&
time
,
double
& timeerr,
34
int
& nHotsUsed)
const
= 0;
35
bool
trackTime
(
const
TrkRecoTrk
& trk,
36
double
&
time
,
double
& timeerr)
const
37
{
int
dummy;
return
trackTime
(trk,
time
,timeerr,dummy);}
38
protected
:
39
bool
useHot
(
const
TrkHitOnTrk
& x)
const
{
return
_selector.
useHot
(
x
);}
40
private
:
41
const
TrkHotSelector
& _selector;
42
// disallow
43
TrkTimeCalculator
(
const
TrkTimeCalculator
&);
44
TrkTimeCalculator
& operator = (
const
TrkTimeCalculator
&);
45
};
46
#endif
x
Double_t x[10]
Definition:
DataBase/tau_mode.c:57
time
Double_t time
Definition:
DataBase/tau_mode.c:7
TrkHitOnTrk
Definition:
InstallArea/include/TrkBase/TrkBase/TrkHitOnTrk.h:52
TrkHotSelector
Definition:
InstallArea/include/TrkBase/TrkBase/TrkHotSelector.h:24
TrkHotSelector::useHot
virtual bool useHot(const TrkHitOnTrk &hot) const =0
TrkRecoTrk
Definition:
InstallArea/include/TrkBase/TrkBase/TrkRecoTrk.h:71
TrkTimeCalculator
Definition:
InstallArea/include/TrkBase/TrkBase/TrkTimeCalculator.h:25
TrkTimeCalculator::trackTime
virtual bool trackTime(const TrkRecoTrk &trk, double &time, double &timeerr, int &nHotsUsed) const =0
TrkTimeCalculator::useHot
bool useHot(const TrkHitOnTrk &x) const
Definition:
Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkTimeCalculator.h:39
TrkTimeCalculator::trackTime
bool trackTime(const TrkRecoTrk &trk, double &time, double &timeerr) const
Definition:
Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkTimeCalculator.h:35
TrkTimeCalculator::TrkTimeCalculator
TrkTimeCalculator(const TrkHotSelector &selector)
Definition:
Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkTimeCalculator.h:28
TrkTimeCalculator::~TrkTimeCalculator
virtual ~TrkTimeCalculator()
Definition:
Reconstruction/MdcPatRec/TrkBase/TrkBase-00-01-12/TrkBase/TrkTimeCalculator.h:30
source
Reconstruction
MdcPatRec
TrkBase
TrkBase-00-01-12
TrkBase
TrkTimeCalculator.h
Generated by
1.9.6