29#include "MdcGeom/Constants.h"
30#include "MdcRawEvent/MdcDigi.h"
31#include "MdcGeom/MdcDetector.h"
32#include "MdcGeom/MdcLayer.h"
33#include "MdcGeom/MdcSWire.h"
34#include "TrkBase/TrkFundHit.h"
35#include "TrkBase/TrkEnums.h"
36#include "Identifier/Identifier.h"
37#include "MdcCalibFunSvc/MdcCalibFunSvc.h"
65 double charge()
const {
return _charge; }
66 double rawTime()
const {
return _rawTime; }
67 double driftTime(
double tof,
double z)
const;
68 double driftDist(
double,
int,
double,
double,
double)
const;
69 double driftDist(
double bunchTime,
int ambig)
const;
70 double sigma(
double,
int,
double,
double,
double)
const;
71 double sigma(
double driftdist,
int ambig = 0)
const;
75 double phi()
const {
return _phi;}
76 double x()
const {
return _rmid*_cosphi; }
77 double y()
const {
return _rmid*_sinphi; }
81 double rMid()
const {
return _rmid; }
82 double zlen()
const {
return _zlen; }
83 unsigned status()
const {
return _status;}
87 void setCosmicFit(
const bool cosmicfit) { m_cosmicFit = cosmicfit; }
90 void print(std::ostream &o)
const;
124 static bool m_cosmicFit;
125 static bool m_countPropTime;
DOUBLE_PRECISION count[3]
ObjectVector< MdcHit > MdcHitCol
std::ostream & operator<<(std::ostream &o, const MdcHit &aHit)
const MdcDigi * digi() const
void setCalibSvc(const MdcCalibFunSvc *calibSvc)
unsigned layernumber() const
unsigned wirenumber() const
void setCosmicFit(const bool cosmicfit)
void print(std::ostream &o) const
const MdcDetector * geom() const
unsigned adcIndex() const
TrkEnums::TrkViewInfo whatView() const
bool operator==(const MdcHit &) const
const MdcCalibFunSvc * calibSvc() const
double driftTime(double tof, double z) const
double sigma(double, int, double, double, double) const
MdcHit & operator=(const MdcHit &)
const double phi(double z) const
const Trajectory * hitTraj() const
void setCountPropTime(const bool count)
double driftDist(double, int, double, double, double) const
const MdcLayer * layer() const
const MdcSWire * wire() const
unsigned tdcIndex() const
void printAll(std::ostream &o) const
double yWireDC(double z) const
double xWireDC(double z) const
double phiDC(double z) const