8 #ifndef _H_SQEvent_v1_H_
9 #define _H_SQEvent_v1_H_
29 virtual void identify(std::ostream& os = std::cout)
const;
64 else std::cout<<
"SQEvent_v1::set_raw_matrix: i>=5";
73 else std::cout<<
"SQEvent_v1::set_after_inh_matrix: i>=5";
82 else std::cout<<
"SQEvent_v1::set_qie_presum: i>=4";
100 else std::cout<<
"SQEvent_v1::set_qie_rf_intensity: abs(i)>16";
virtual unsigned short get_trigger() const
Return the full trigger bits.
virtual void set_raw_matrix(const unsigned short i, const bool a)
virtual short get_n_board_trig_bit() const
[Obsolete] Use SQHardEvent instead.
virtual int get_raw_matrix(const unsigned short i) const
[Obsolete] Use SQHardEvent instead.
virtual int get_qie_presum(const unsigned short i) const
Return the i-th QIE presum, where i=0...3.
virtual void set_after_inh_matrix(const unsigned short i, const bool a)
virtual int get_qie_turn_id() const
Return the QIE turn ID.
virtual void set_run_id(const int a)
virtual void set_n_board_qie(const short a)
virtual void set_qie_trigger_count(const int a)
virtual void set_qie_presum(const unsigned short i, const int a)
virtual int get_vme_time() const
[Obsolete] Use SQHardEvent instead.
virtual void set_qie_rf_intensity(const short i, const int a)
virtual short get_n_board_qie() const
[Obsolete] Use SQHardEvent instead.
virtual void set_trigger(const unsigned short a)
virtual int get_coda_event_id() const
[Obsolete] Use SQHardEvent instead.
virtual short get_n_board_v1495() const
[Obsolete] Use SQHardEvent instead.
virtual void set_n_board_trig_count(const short a)
virtual void set_event_id(const int a)
virtual void set_vme_time(const int a)
virtual int get_qie_rf_id() const
Return the QIE RF ID.
virtual void set_coda_event_id(const int a)
virtual int get_spill_id() const
Return the spill ID.
virtual void set_flag_v1495(const short a)
virtual void set_trigger(const SQEvent::TriggerMask i, const bool a)
virtual void set_n_board_v1495(const short a)
virtual bool get_trigger(const SQEvent::TriggerMask i) const
Return the trigger bit (fired or not) of the selected trigger channel.
virtual int get_event_id() const
Return the event ID, which is unique per run.
virtual int get_qie_trigger_count() const
Return the QIE trigger counts.
virtual short get_n_board_taiwan() const
[Obsolete] Use SQHardEvent instead.
virtual void set_data_quality(const int a)
int isValid() const
isValid returns non zero if object contains vailid data
virtual int get_qie_rf_intensity(const short i) const
Return the i-th QIE RF intensity, where i=-16...+16.
virtual void set_spill_id(const int a)
virtual void set_qie_rf_id(const int a)
virtual int get_run_id() const
Return the run ID.
virtual void set_n_board_taiwan(const short a)
virtual int get_data_quality() const
Return the data-quality bits.
virtual int get_after_inh_matrix(const unsigned short i) const
[Obsolete] Use SQHardEvent instead.
virtual void set_qie_turn_id(const int a)
virtual short get_n_board_trig_count() const
[Obsolete] Use SQHardEvent instead.
virtual short get_flag_v1495() const
[Obsolete] Use SQHardEvent instead.
virtual void identify(std::ostream &os=std::cout) const
virtual void set_n_board_trig_bit(const short a)
An SQ interface class to hold one event header.