BOSS 8.0.0
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/MdcPatRec/MdcTrkRecon/include/MdcTrkRecon/MdcSegInfo.h
Go to the documentation of this file.
1//--------------------------------------------------------------------------
2// File and Version Information:
3// $Id: MdcSegInfo.h,v 1.2 2009/12/16 09:02:47 zhangy Exp $
4//
5// Description:
6// Base class for various MdcSegInfo classes, which hold values
7// for a track segment, calculated for some particular application
8//
9// Environment:
10// Software developed for the BaBar Detector at the SLAC B-Factory.
11//
12// Authors: Steve Schaffner
13//
14// Copyright (C) 1996 The Board of Trustees of
15//
16// History:
17// Migration for BESIII MDC
18// The Leland Stanford Junior University. All Rights Reserved.
19//------------------------------------------------------------------------
20
21// Interface Dependencies ----------------------------------------------
22
23#ifndef MDCSEGINFO_H
24#define MDCSEGINFO_H
25
26// End Interface Dependencies -----------------------------------------
27
28class MdcSeg;
29class MdcTrack;
30class MdcSegWorks;
31
32// Class definition//
33class MdcSegInfo {
34public:
36 virtual ~MdcSegInfo();
37
38 const double* errmat() const { return _errmat; }
39 const double* inverr() const { return _inverr; }
40 // double par1() const {return _par1;}
41 // double par0() const {return _par0;}
42 double par( int i ) const { return ( 0 == i ) ? _par0 : _par1; }
43 double arc() const { return _arc; }
44 virtual bool parIsAngle( int i ) const = 0;
45 void plotSegInfo() const;
46
47protected:
48 double _par0; // origin: phi0; stereo: z0
49 double _par1; // origin: curv; stereo: ct
50 double _errmat[3]; // error matrix: sig**2(phi0), sig**2(phi0-curv), (curv)
51 double _inverr[3];
52 double _arc; // arclength @ which calc. -- for stereo
53};
54
55#endif
virtual bool parIsAngle(int i) const =0
void plotSegInfo() const
virtual ~MdcSegInfo()