CGEM BOSS
6.6.5.h
BESIII Offline Software System
Loading...
Searching...
No Matches
TMDCWireHitMC.cxx
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------
2
// $Id: TMDCWireHitMC.cxx,v 1.5 2010/03/31 09:58:59 liucy Exp $
3
//-----------------------------------------------------------------------------
4
// Filename : TMDCWireHitMC.h
5
// Section : Tracking MDC
6
// Owner : Yoshi Iwasaki
7
// Email :
[email protected]
8
//-----------------------------------------------------------------------------
9
// Description : A class to represent a MC wire hit in MDC.
10
// See http://bsunsrv1.kek.jp/~yiwasaki/tracking/
11
//-----------------------------------------------------------------------------
12
13
#include "
TrkReco/TMDCWireHitMC.h
"
14
#include "
TrkReco/TTrackHEP.h
"
15
16
//#include "panther/panther.h"
17
//#include MDC_H
18
#include "
MdcTables/MdcTables.h
"
19
20
TMDCWireHitMC::TMDCWireHitMC
(
const
TMDCWire
* w,
21
const
TMDCWireHit
* wh,
22
MdcDat_mcwirhit
* h)
23
: _wire(w),
24
_datcdc(h),
25
_hit(wh),
26
_position(h->xw, h->yw, h->zw),
27
_entrance(h->xin, h->yin, h->zin),
28
_direction(h->xout - h->xin, h->yout - h->yin, h->zout - h->zin),
29
_distance(h->dist),
30
_energy(h->chrg),
31
_leftRight((h->lr < 0) ? 0 : 1),
32
_momentum(h->px, h->py, h->pz) {
33
// _hep = TTrackHEP::hep((struct gen_hepevt *) BsGetEnt(GEN_HEPEVT,
34
// h->m_hep,
35
// BBS_No_Index));
36
_hep =
TTrackHEP::hep
(h->
hep
);
37
}
38
39
TMDCWireHitMC::~TMDCWireHitMC
() {
40
}
MdcTables.h
TMDCWireHitMC.h
TTrackHEP.h
MdcDat_mcwirhit
Definition
MdcTables.h:641
MdcDat_mcwirhit::hep
const Gen_hepevt * hep
Definition
MdcTables.h:661
TMDCWireHitMC::TMDCWireHitMC
TMDCWireHitMC(const TMDCWire *, const TMDCWireHit *, MdcDat_mcwirhit *)
Constructor.
Definition
TMDCWireHitMC.cxx:20
TMDCWireHitMC::~TMDCWireHitMC
virtual ~TMDCWireHitMC()
Destructor.
Definition
TMDCWireHitMC.cxx:39
TMDCWireHit
Definition
TMDCWireHit.h:81
TMDCWire
A class to represent a wire in MDC.
Definition
TMDCWire.h:55
TTrackHEP::hep
static TTrackHEP * hep(const Gen_hepevt *)
returns a pointer to TTrackHEP of given Gen_hepevt.
Definition
TTrackHEP.h:164
6.6.5.h
Reconstruction
TrkReco
TrkReco-00-08-59-patch4-slc6tag
src
TMDCWireHitMC.cxx
Generated by
1.12.0