BOSS 7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcTrkRecon/MdcTrkRecon-00-03-48/MdcTrkRecon/MdcSegInfoSterO.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: MdcSegInfoSterO.h,v 1.9 2011/05/16 06:52:13 zhangy Exp $
4//
5// Description:
6//
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 MDCSEGINFOSTERO_HH
21#define MDCSEGINFOSTERO_HH
22#include "MdcTrkRecon/MdcSegInfo.h"
23#include "CLHEP/Geometry/Point3D.h"
24#ifndef ENABLE_BACKWARDS_COMPATIBILITY
25// backwards compatibility will be enabled ONLY in CLHEP 1.9
27#endif
28
29class TrkRecoTrk;
30class TrkExchangePar;
31class MdcLine;
32class MdcHitUse;
33// Class interface //
34class MdcSegInfoSterO : public MdcSegInfo {
35
36public:
39
40 double z0() const {return _par0;}
41 double ct() const {return _par1;}
42 bool parIsAngle(int i) const;
43
44 //int calcStereo(const MdcSeg *parentSeg, const TrkRecoTrk &track,
45 int calcStereo(MdcSeg *parentSeg, const TrkRecoTrk &track,
46 MdcSegWorks &segStuff);
47 int calcStereo(MdcSeg *parentSeg, const TrkExchangePar &par,
48 MdcSegWorks &segStuff, double Bz);
49
50 int zPosition(MdcHitUse & hitUse,const TrkRecoTrk &track,MdcLine* span,int hitFit, double t0) const;
51 int zPosition(MdcHitUse & hitUse, const TrkExchangePar &par, MdcLine* span,int hitFit, double t0, double Bz) const;
52private:
54 MdcSegInfoSterO& operator= (const MdcSegInfoSterO&);
55 int _debug;//yzhang debug
56};
57
58// Inline functions //
59
60#endif
61
62
63
64
65
66
67
int calcStereo(MdcSeg *parentSeg, const TrkExchangePar &par, MdcSegWorks &segStuff, double Bz)
int zPosition(MdcHitUse &hitUse, const TrkRecoTrk &track, MdcLine *span, int hitFit, double t0) const
bool parIsAngle(int i) const
int zPosition(MdcHitUse &hitUse, const TrkExchangePar &par, MdcLine *span, int hitFit, double t0, double Bz) const
int calcStereo(MdcSeg *parentSeg, const TrkRecoTrk &track, MdcSegWorks &segStuff)