26 void identify(std::ostream& os = std::cout)
const;
43 virtual void set_level(
const short level) {_level = level;}
51 virtual float get_pos()
const {
return _pos;}
52 virtual void set_pos(
const float a) {_pos=a;}
71 float _drift_distance;
virtual void set_element_id(const short id)
virtual short get_element_id() const
Return the element ID of this hit.
virtual float get_pos() const
Return the absolute position of this hit. Probably the value is not properly set at present...
void identify(std::ostream &os=std::cout) const
virtual void set_detector_id(const short a)
virtual void set_hit_id(const int a)
An SQ interface class to hold one detector hit.
virtual float get_drift_distance() const
Return the drift distance of this hit. Probably the value is not properly set at present. Meaningful only if this hit is of drift chamber or prop tube.
virtual short get_detector_id() const
Return the detector ID of this hit.
virtual float get_tdc_time() const
Return the TDC time (nsec) of this hit.
virtual void set_pos(const float a)
virtual void set_drift_distance(const float a)
virtual void set_trigger_mask(const bool a)
virtual void set_level(const short level)
virtual bool is_in_time() const
Return 'true' if this hit is in the time window.
virtual void set_hodo_mask(const bool a)
virtual bool is_hodo_mask() const
Return 'true' if this hit is accepted (or masked out?) by the hodoscope masking. Meaningful only if t...
virtual void set_in_time(const bool a)
virtual int get_hit_id() const
Return the ID of this hit.
virtual bool is_trigger_mask() const
Return 'true' if this hit is accepted (or masked out?) by the trigger-road masking. Meaningful only if this hit is of drift chamber.
virtual void set_tdc_time(const float a)
int isValid() const
isValid returns non zero if object contains vailid data
virtual short get_level() const
Return the trigger level of this hit. Meaningful only if this hit is of V1495 TDC.