BOSS
7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-48/MdcTrkRecon/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
MdcDetector
Definition:
InstallArea/include/MdcGeom/MdcGeom/MdcDetector.h:20
MdcHitMap
Definition:
InstallArea/include/MdcData/MdcData/MdcHitMap.h:28
MdcHit
Definition:
InstallArea/include/MdcData/MdcData/MdcHit.h:44
MdcLine
Definition:
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcLine.h:13
MdcMap
Definition:
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcMap.h:21
MdcSegFinder
Definition:
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcSegFinder.h:36
MdcSegFinder::~MdcSegFinder
~MdcSegFinder()
Definition:
Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-48/MdcTrkRecon/MdcSegFinder.h:40
MdcSegFinder::MdcSegFinder
MdcSegFinder(int useAllAmbig)
MdcSegFinder::thePattList
MdcSegPatterns * thePattList()
Definition:
Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-48/MdcTrkRecon/MdcSegFinder.h:43
MdcSegFinder::createSegs
int createSegs(const MdcDetector *gm, MdcSegList &segs, const MdcMap< const MdcHit *, MdcSegUsage * > &usedHits, const MdcHitMap *map, double tbunch)
MdcSegList
Definition:
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcSegList.h:20
MdcSegPatterns
Definition:
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcSegPatterns.h:36
MdcSegUsage
Definition:
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcSegUsage.h:19
MdcSeg
Definition:
InstallArea/include/MdcTrkRecon/MdcTrkRecon/MdcSeg.h:42
MdcSuperLayer
Definition:
InstallArea/include/MdcGeom/MdcGeom/MdcSuperLayer.h:9
source
Reconstruction
MdcPatRec
MdcTrkRecon
MdcTrkRecon-00-03-48
MdcTrkRecon
MdcSegFinder.h
Generated by
1.9.6