BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
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//
34{
35public:
37 virtual ~MdcSegInfo();
38
39 const double *errmat() const {return _errmat;}
40 const double *inverr() const {return _inverr;}
41 // double par1() const {return _par1;}
42 // double par0() const {return _par0;}
43 double par(int i) const {return (0 == i) ? _par0 : _par1;}
44 double arc() const {return _arc;}
45 virtual bool parIsAngle(int i) const = 0;
46 void plotSegInfo() const;
47
48protected:
49 double _par0; // origin: phi0; stereo: z0
50 double _par1; // origin: curv; stereo: ct
51 double _errmat[3]; //error matrix: sig**2(phi0), sig**2(phi0-curv), (curv)
52 double _inverr[3];
53 double _arc; // arclength @ which calc. -- for stereo
54};
55
56#endif
57
58
59
60
61
62
63
virtual bool parIsAngle(int i) const =0
double _arc
Definition: MdcSegInfo.h:53
double arc() const
Definition: MdcSegInfo.h:44
const double * errmat() const
Definition: MdcSegInfo.h:39
double _par0
Definition: MdcSegInfo.h:49
double _inverr[3]
Definition: MdcSegInfo.h:52
const double * inverr() const
Definition: MdcSegInfo.h:40
void plotSegInfo() const
Definition: MdcSegInfo.cxx:28
double par(int i) const
Definition: MdcSegInfo.h:43
virtual ~MdcSegInfo()
Definition: MdcSegInfo.cxx:22
double _errmat[3]
Definition: MdcSegInfo.h:51
double _par1
Definition: MdcSegInfo.h:50
Definition: MdcSeg.h:42