00001 //-------------------------------------------------------------------------- 00002 // File and Version Information: 00003 // $Id: MdcSegInfoCsmc.h,v 1.2 2009/12/16 09:02:47 zhangy Exp $ 00004 // 00005 // Description: 00006 // holds my Mdc segment info, calculated assuming the seg is from a 00007 // straight track. 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 MDCSEGINFOCSMC_HH 00023 #define MDCSEGINFOCSMC_HH 00024 #include "MdcTrkRecon/MdcSegInfo.h" 00025 00026 // Class interface // 00027 class MdcSegInfoCsmc : public MdcSegInfo { 00028 00029 public: 00030 MdcSegInfoCsmc() { }; 00031 ~MdcSegInfoCsmc() { }; 00032 00033 double d0() const {return _par0;} 00034 double phi0() const {return _par1;} 00035 double sigPhi0() const; 00036 double sigD0() const; 00037 bool parIsAngle(int i) const; 00038 00039 void calcStraight(double phi, double slope, double rad, 00040 const double *inErr); 00041 void calcStraight(const MdcSeg *parentSeg); 00042 00043 private: 00044 00045 // preempt 00046 MdcSegInfoCsmc& operator= (const MdcSegInfoCsmc&) ; 00047 MdcSegInfoCsmc(const MdcSegInfoCsmc &) ; 00048 }; 00049 00050 #endif 00051 00052 00053 00054 00055 00056 00057