53 QwHit(Int_t bank_index, Int_t slot_num, Int_t chan, Int_t hitcount,
55 Int_t plane,
EQwDirectionID direction, Int_t wire, UInt_t rawdata = 0);
71 friend std::ostream&
operator<< (std::ostream& stream,
const QwHit& hit);
74 void Print(
const Option_t* options = 0)
const;
void Initialize()
Initialize the hit.
const QwDetectorID GetDetectorID() const
void CalculateTreeLineResidual()
void SetSubbankID(const Int_t bank_index)
void SetLRAmbiguity(const Bool_t amlr)
friend std::ostream & operator<<(std::ostream &stream, const QwHit &hit)
Output stream operator.
void SubtractTimeAuOffset(Double_t time_au_offset)
void SetSpatialResolution(const Double_t sresolution)
const Bool_t & IsUsed() const
void SetHitNumber(const Int_t hitcount)
void SetChannel(const Int_t chan)
Bool_t DirMatches(EQwRegionID region, EQwDetectorPackage package, EQwDirectionID dir)
Int_t fChannel
Channel number.
const Int_t & GetHitNumberR() const
const Double_t & GetTimeRes() const
const UInt_t & GetRawRefTime() const
UInt_t fRawRefTime
Time as reported by TDC as a reference time.
Double_t fSpatialResolution
Spatial resolution.
void SetTrackResolution(const Double_t tresolution)
const Double_t & GetTimeNs() const
void SetTreeLinePosition(const Double_t position)
const UInt_t & GetRawTime() const
Double_t fTimeRes
Resolution of time (if appropriate)
void SetHitNumberR(const Int_t hitcountr)
void SetPartialTrackPosition(const Double_t position)
void SetUsed(const Bool_t isused=true)
Double_t fTrackResolution
Track resolution.
Double_t fTreeLinePosition
Position of the fitted treeline through the drift cell.
Memory management structure to count objects.
void SetDriftPosition(const Double_t position)
const Double_t & GetWirePosition() const
const Int_t & GetModule() const
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
const Bool_t & LRAmbiguity() const
QwHit & operator=(const QwHit &hit)
Assignment operator.
const Double_t & GetPartialTrackPosition() const
const Double_t & GetPartialTrackResidual() const
Bool_t operator<(const QwHit &hit)
Ordering operator.
const Double_t & GetTreeLineResidual() const
void SetTime(const Double_t time)
const Int_t & GetHitNumber() const
Memory management class to count object instantiations.
const Double_t & GetDriftDistance() const
void SetPartialTrackResidual(const Double_t residual)
void CalculatePartialTrackResidual()
void SetRawTime(const UInt_t rawtime)
Int_t fModule
F1TDC slot number, or module index.
void SetModule(const Int_t slot_num)
void Print(const Option_t *options=0) const
Print debugging information.
const Double_t & GetDriftPosition() const
void SetDriftDistance(const Double_t distance)
Bool_t WireMatches(EQwRegionID region, EQwDetectorPackage package, Int_t plane, Int_t wire)
void SetTimens(const Double_t timens)
Double_t fTime
Start corrected time, may also be further modified.
const Double_t & GetTreeLinePosition() const
const Bool_t & AmbiguousElement() const
const Int_t & GetSubbankID() const
void SetAmbiguityID(const Bool_t amelement, const Bool_t amlr)
const Int_t & GetChannel() const
Definition of virtual base class for all tracking elements.
void SetWirePosition(const Double_t position)
Double_t fPartialTrackResidual
void SetTimeRes(const Double_t timeres)
Hit structure uniquely defining each hit.
const Double_t & GetTime() const
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.
void ApplyTimeCalibration(Double_t f1tdc_resolution_ns)
Bool_t IsFirstDetectorHit()
void SubtractTimeNsOffset(Double_t time_ns_offset)
ClassDef(QwHit, 1)
///< Is this hit used in a tree line?
void SetRawRefTime(const UInt_t rawreftime)
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.
void SetTreeLineResidual(const Double_t residual)
virtual ~QwHit()
Destructor.
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.