#include <TMDCWireHitMC.h>
Public Member Functions | |
MdcDat_mcwirhit * | datcdc (void) const |
returns a pointer to DATMDC_MCWIRHIT. | |
MdcDat_mcwirhit * | datcdc (void) const |
returns a pointer to DATMDC_MCWIRHIT. | |
const HepVector3D & | direction (void) const |
returns vector from entrance to exit point. | |
const HepVector3D & | direction (void) const |
returns vector from entrance to exit point. | |
float | distance (void) const |
returns drift distance. | |
float | distance (void) const |
returns drift distance. | |
const HepPoint3D & | entrance (void) const |
returns an entrance point. | |
const HepPoint3D & | entrance (void) const |
returns an entrance point. | |
const TTrackHEP *const | hep (void) const |
returns a pointer to a GEN_HEPEVT. | |
const TTrackHEP *const | hep (void) const |
returns a pointer to a GEN_HEPEVT. | |
const TMDCWireHit *const | hit (void) const |
returns a pointer to a TMDCWireHit. | |
const TMDCWireHit *const | hit (void) const |
returns a pointer to a TMDCWireHit. | |
const HepPoint3D & | hitPosition (void) const |
returns hit position. | |
const HepPoint3D & | hitPosition (void) const |
returns hit position. | |
int | leftRight (void) const |
returns left or right. | |
int | leftRight (void) const |
returns left or right. | |
const Hep3Vector & | momentum (void) const |
returns momentum vector at the entrance. | |
const Hep3Vector & | momentum (void) const |
returns momentum vector at the entrance. | |
TMDCWireHitMC (const TMDCWire *, const TMDCWireHit *, MdcDat_mcwirhit *) | |
Constructor. | |
TMDCWireHitMC (const TMDCWire *, const TMDCWireHit *, MdcDat_mcwirhit *) | |
Constructor. | |
const TMDCWire *const | wire (void) const |
returns a pointer to a TMDCWire. | |
const TMDCWire *const | wire (void) const |
returns a pointer to a TMDCWire. | |
virtual | ~TMDCWireHitMC () |
Destructor. | |
virtual | ~TMDCWireHitMC () |
Destructor. | |
Private Attributes | |
MdcDat_mcwirhit * | _datcdc |
MdcDat_mcwirhit * | _datcdc |
HepVector3D | _direction |
float | _distance |
float | _energy |
HepPoint3D | _entrance |
const TTrackHEP * | _hep |
const TTrackHEP * | _hep |
const TMDCWireHit * | _hit |
const TMDCWireHit * | _hit |
int | _leftRight |
Hep3Vector | _momentum |
HepPoint3D | _position |
const TMDCWire * | _wire |
const TMDCWire * | _wire |
Friends | |
class | TMDC |
|
Constructor.
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 }
|
|
Destructor.
00039 { 00040 }
|
|
Constructor.
|
|
Destructor.
|
|
returns a pointer to DATMDC_MCWIRHIT.
|
|
returns a pointer to DATMDC_MCWIRHIT.
00147 {
00148 return _datcdc;
00149 }
|
|
returns vector from entrance to exit point.
|
|
returns vector from entrance to exit point.
00135 {
00136 return _direction;
00137 }
|
|
returns drift distance.
|
|
returns drift distance.
00117 {
00118 return _distance;
00119 }
|
|
returns an entrance point.
|
|
returns an entrance point.
00129 {
00130 return _entrance;
00131 }
|
|
returns a pointer to a GEN_HEPEVT.
|
|
returns a pointer to a GEN_HEPEVT.
00159 {
00160 return _hep;
00161 }
|
|
returns a pointer to a TMDCWireHit.
|
|
returns a pointer to a TMDCWireHit.
00165 {
00166 return _hit;
00167 }
|
|
returns hit position.
|
|
returns hit position.
00123 {
00124 return _position;
00125 }
|
|
returns left or right.
|
|
returns left or right.
00141 {
00142 return _leftRight;
00143 }
|
|
returns momentum vector at the entrance.
|
|
returns momentum vector at the entrance.
00171 {
00172 return _momentum;
00173 }
|
|
returns a pointer to a TMDCWire.
|
|
returns a pointer to a TMDCWire.
00153 {
00154 return _wire;
00155 }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|