/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Reconstruction/TrkReco/TrkReco-00-08-59-patch4-slc6tag/src/TMDCWireHitMC.cxx

Go to the documentation of this file.
00001 //-----------------------------------------------------------------------------
00002 // $Id: TMDCWireHitMC.cxx,v 1.5 2010/03/31 09:58:59 liucy Exp $
00003 //-----------------------------------------------------------------------------
00004 // Filename : TMDCWireHitMC.h
00005 // Section  : Tracking MDC
00006 // Owner    : Yoshi Iwasaki
00007 // Email    : yoshihito.iwasaki@kek.jp
00008 //-----------------------------------------------------------------------------
00009 // Description : A class to represent a MC wire hit in MDC.
00010 //               See http://bsunsrv1.kek.jp/~yiwasaki/tracking/
00011 //-----------------------------------------------------------------------------
00012 
00013 #include "TrkReco/TMDCWireHitMC.h"
00014 #include "TrkReco/TTrackHEP.h"
00015 
00016 //#include "panther/panther.h"
00017 //#include MDC_H
00018 #include "MdcTables/MdcTables.h"
00019 
00020 TMDCWireHitMC::TMDCWireHitMC(const TMDCWire * w,
00021                              const TMDCWireHit * wh,
00022                              MdcDat_mcwirhit * h)
00023 : _wire(w),
00024   _datcdc(h),
00025   _hit(wh),
00026   _position(h->xw, h->yw, h->zw),
00027   _entrance(h->xin, h->yin, h->zin),
00028   _direction(h->xout - h->xin, h->yout - h->yin, h->zout - h->zin),
00029   _distance(h->dist),
00030   _energy(h->chrg),
00031   _leftRight((h->lr < 0) ? 0 : 1),
00032   _momentum(h->px, h->py, h->pz) {
00033   //    _hep = TTrackHEP::hep((struct gen_hepevt *) BsGetEnt(GEN_HEPEVT,
00034   //                                                     h->m_hep,
00035   //                                                     BBS_No_Index));
00036   _hep = TTrackHEP::hep(h->hep);
00037 }
00038 
00039 TMDCWireHitMC::~TMDCWireHitMC() {
00040 }

Generated on Tue Nov 29 23:14:15 2016 for BOSS_7.0.2 by  doxygen 1.4.7