00001 //-------------------------------------------------------------------------- 00002 // File and Version Information: 00003 // $Id: MdcSegInfoAxialO.h,v 1.3 2011/05/16 06:52:13 zhangy Exp $ 00004 // 00005 // Description: 00006 // holds my Mdc segment info, calculated assuming the seg is from a track 00007 // through the origin 00008 00009 // 00010 // Environment: 00011 // Software developed for the BaBar Detector at the SLAC B-Factory. 00012 // 00013 // Authors: Steve Schaffner 00014 // 00015 // Copyright (C) 1996 The Board of Trustees of 00016 // 00017 // History: 00018 // Migration for BESIII MDC 00019 // The Leland Stanford Junior University. All Rights Reserved. 00020 //------------------------------------------------------------------------ 00021 00022 #ifndef MDCSEGINFOAXIALO_HH 00023 #define MDCSEGINFOAXIALO_HH 00024 #include "MdcTrkRecon/MdcSegInfo.h" 00025 00026 // Class interface // 00027 class MdcSegInfoAxialO : public MdcSegInfo { 00028 00029 public: 00030 MdcSegInfoAxialO() { }; 00031 ~MdcSegInfoAxialO() { }; 00032 00033 double phi0() const {return _par0;} 00034 double curv() const {return _par1;} 00035 double sigCurv() const; 00036 double sigPhi0() const; 00037 bool parIsAngle(int i) const; 00038 00039 void calcFromOrigin(const MdcSeg *parentSeg); 00040 void calcFromOrigin(double phi, double slope, double rad, 00041 const double *inErr); 00042 00043 private: 00044 00045 // preempt 00046 MdcSegInfoAxialO& operator= (const MdcSegInfoAxialO&); 00047 MdcSegInfoAxialO(const MdcSegInfoAxialO &); 00048 }; 00049 00050 // Inline functions // 00051 00052 #endif