12 #include "QwDetectorInfo.h"
50 if (that == 0)
return;
205 Bool_t bCompare =
false;
238 else bCompare =
false;
279 stream <<
"package " << hit.
fPackage <<
", ";
280 stream <<
"octant " << hit.
fOctant <<
", ";
281 stream <<
"region " << hit.
fRegion <<
", ";
283 stream <<
"plane " << hit.
fPlane;
288 stream <<
"element " << hit.
fElement;
317 std::cout << *
this << std::endl;
EQwDirectionID fDirection
Direction.
int fElement
Element number.
void Initialize()
Initialize the hit.
const QwDetectorID GetDetectorID() const
EQwDetectorPackage fPackage
Package.
std::ostream & operator<<(std::ostream &out, const QwColor &color)
Output stream operator which uses the enum-to-escape-code mapping.
void SetLRAmbiguity(const Bool_t amlr)
std::string GetDetectorName() const
Bool_t DirMatches(EQwRegionID region, EQwDetectorPackage package, EQwDirectionID dir)
Int_t fChannel
Channel number.
UInt_t fRawRefTime
Time as reported by TDC as a reference time.
Double_t fSpatialResolution
Spatial resolution.
int fOctant
Octant number.
Double_t fTimeRes
Resolution of time (if appropriate)
EQwRegionID fRegion
///< Detector info pointer
Double_t fTrackResolution
Track resolution.
Double_t fTreeLinePosition
Position of the fitted treeline through the drift cell.
Double_t fDriftPosition
Position of the decoded hit in the drift cell.
Double_t fTimeNs
Reference Corrected and TimeCalibration time (unit ns)
Double_t fTreeLineResidual
QwHit & operator=(const QwHit &hit)
Assignment operator.
Bool_t operator<(const QwHit &hit)
Ordering operator.
Draft skeleton for the decoding-to-QTR interface class.
Int_t fModule
F1TDC slot number, or module index.
void Print(const Option_t *options=0) const
Print debugging information.
Bool_t WireMatches(EQwRegionID region, EQwDetectorPackage package, Int_t plane, Int_t wire)
Double_t fTime
Start corrected time, may also be further modified.
int GetCrosstalkElement(int element) const
void SetAmbiguityID(const Bool_t amelement, const Bool_t amlr)
const QwDetectorInfo * fDetectorInfo
Double_t fPartialTrackResidual
Hit structure uniquely defining each hit.
Bool_t PlaneMatches(EQwRegionID region, EQwDetectorPackage package, Int_t plane)
void SetAmbiguousElement(const Bool_t amelement)
Int_t fHitNumber
Index for multiple hits in a single channel on the left.
Double_t fPartialTrackPosition
Position of the fitted treeline through the drift cell.
Int_t fHitNumber_R
Index for multiple hits in a single channel on the right.
virtual ~QwHit()
Destructor.
static const double cm
Length units: base unit is mm.
const QwElectronicsID GetElectronicsID() const
Virtual base class for all tracking elements.
UInt_t fRawTime
Time as reported by TDC; it is a raw data word, and is UNSUBTRACTED.