BOSS
6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
MdcSegFinder.h
Go to the documentation of this file.
1
//--------------------------------------------------------------------------
2
// File and Version Information:
3
// $Id: MdcSegFinder.h,v 1.4 2010/07/19 06:41:49 zhangy Exp $
4
//
5
// Description:
6
// Find straight-line segments in the DCH and put them into MdcSegList
7
//
8
// Environment:
9
// Software developed for the BaBar Detector at the SLAC B-Factory.
10
//
11
// Authors: Steve Schaffner
12
//
13
// Copyright (C) 1996 The Board of Trustees of
14
//
15
// History:
16
// Migration for BESIII MDC
17
// The Leland Stanford Junior University. All Rights Reserved.
18
//------------------------------------------------------------------------
19
20
#ifndef MDCSEGFINDER_H
21
#define MDCSEGFINDER_H
22
23
#include "
MdcTrkRecon/MdcSegPatterns.h
"
24
25
class
MdcSegList
;
26
class
MdcSegUsage
;
27
template
<
class
K,
class
V>
class
MdcMap
;
28
class
MdcHit
;
29
class
MdcDetector
;
30
class
MdcLine
;
31
class
MdcSuperLayer
;
32
class
MdcSeg
;
33
class
MdcHitMap
;
34
35
// Class interface //
36
class
MdcSegFinder
{
37
38
public
:
39
MdcSegFinder
(
int
useAllAmbig);
40
~MdcSegFinder
() { };
41
int
createSegs
(
const
MdcDetector
*gm,
MdcSegList
&segs,
//return nSeg
42
const
MdcMap<const MdcHit*, MdcSegUsage*>
& usedHits,
const
MdcHitMap
* map,
double
tbunch);
43
MdcSegPatterns
*
thePattList
() {
return
&patternList;}
44
45
private
:
46
MdcSegPatterns
patternList;
// allowed hit-patterns to form segments
47
int
tryPatterns(
MdcHit
*groupHits[8],
unsigned
groupWord,
int
nhit,
48
int
lPrevHit,
int
npatt,
int
*allowedPatt,
const
MdcSuperLayer
*slayer,
49
MdcSegList
&segs,
const
MdcMap<const MdcHit*, MdcSegUsage*>
& usedHits,
const
MdcHitMap
*,
50
double
bunchTime);
51
52
bool
_addHits;
53
// Preempt assignment:
54
MdcSegFinder
& operator= (
const
MdcSegFinder
&);
55
MdcSegFinder
(
const
MdcSegFinder
&);
56
};
57
#endif
58
59
60
61
62
63
64
MdcSegPatterns.h
MdcDetector
Definition:
MdcDetector.h:20
MdcHitMap
Definition:
MdcHitMap.h:28
MdcHit
Definition:
MdcHit.h:44
MdcLine
Definition:
MdcLine.h:13
MdcMap
Definition:
MdcMap.h:21
MdcSegFinder
Definition:
MdcSegFinder.h:36
MdcSegFinder::~MdcSegFinder
~MdcSegFinder()
Definition:
MdcSegFinder.h:40
MdcSegFinder::thePattList
MdcSegPatterns * thePattList()
Definition:
MdcSegFinder.h:43
MdcSegFinder::createSegs
int createSegs(const MdcDetector *gm, MdcSegList &segs, const MdcMap< const MdcHit *, MdcSegUsage * > &usedHits, const MdcHitMap *map, double tbunch)
Definition:
MdcSegFinder.cxx:67
MdcSegList
Definition:
MdcSegList.h:20
MdcSegPatterns
Definition:
MdcSegPatterns.h:36
MdcSegUsage
Definition:
MdcSegUsage.h:19
MdcSeg
Definition:
MdcSeg.h:42
MdcSuperLayer
Definition:
MdcSuperLayer.h:9
source
Reconstruction
MdcPatRec
MdcTrkRecon
MdcTrkRecon-00-03-44
MdcTrkRecon
MdcSegFinder.h
Generated by
1.9.6