Class Reference for E1039 Core & Analysis Software
SQHardEvent.h
Go to the documentation of this file.
1 #ifndef _H_SQHardEvent_H_
2 #define _H_SQHardEvent_H_
3 #include <iostream>
4 #include <phool/PHObject.h>
5 
7 class SQHardEvent: public PHObject {
8  protected:
9  SQHardEvent() {;}
10 
11  public:
12  virtual ~SQHardEvent() {;}
13 
14  virtual void Reset() = 0;
15  virtual void identify(std::ostream& os = std::cout) const = 0;
16  virtual int isValid() const = 0;
17  virtual SQHardEvent* Clone() const = 0;
18 
20  virtual int get_coda_event_id() const = 0;
21  virtual void set_coda_event_id(const int a) = 0;
22 
24  virtual int get_vme_time() const = 0;
25  virtual void set_vme_time(const int a) = 0;
26 
28  virtual int get_raw_matrix(const unsigned short i) const = 0;
29  virtual void set_raw_matrix(const unsigned short i, const bool a) = 0;
30 
32  virtual int get_after_inh_matrix(const unsigned short i) const = 0;
33  virtual void set_after_inh_matrix(const unsigned short i, const bool a) = 0;
34 
36  virtual short get_flag_v1495() const = 0;
37  virtual void set_flag_v1495(const short a) = 0;
38 
40  virtual short get_n_board_qie() const = 0;
41  virtual void set_n_board_qie(const short a) = 0;
42 
44  virtual short get_n_board_v1495() const = 0;
45  virtual void set_n_board_v1495(const short a) = 0;
46 
48  virtual short get_n_board_taiwan() const = 0;
49  virtual void set_n_board_taiwan(const short a) = 0;
50 
52  virtual short get_n_board_trig_bit() const = 0;
53  virtual void set_n_board_trig_bit(const short a) = 0;
54 
56  virtual short get_n_board_trig_count() const = 0;
57  virtual void set_n_board_trig_count(const short a) = 0;
58 
60 };
61 
62 #endif /* _H_SQHardEvent_H_ */
An SQ interface class to hold one hardware-related event info.
Definition: SQHardEvent.h:7
virtual ~SQHardEvent()
Definition: SQHardEvent.h:12
virtual void set_coda_event_id(const int a)=0
virtual short get_n_board_taiwan() const =0
Return the number of Taiwan-TDC boards read out.
virtual void set_after_inh_matrix(const unsigned short i, const bool a)=0
virtual short get_n_board_qie() const =0
Return the number of QIE boards read out.
virtual void set_n_board_qie(const short a)=0
virtual void set_vme_time(const int a)=0
virtual void set_flag_v1495(const short a)=0
virtual int get_after_inh_matrix(const unsigned short i) const =0
Return the after-inhibited count of the selected trigger channel.
virtual void set_raw_matrix(const unsigned short i, const bool a)=0
virtual short get_n_board_v1495() const =0
Return the number of V1495 boards read out.
virtual short get_n_board_trig_count() const =0
Return the number of trigger-count boards read out.
virtual int get_vme_time() const =0
Return the VME time.
virtual void set_n_board_v1495(const short a)=0
virtual int get_raw_matrix(const unsigned short i) const =0
Return the raw count of the selected trigger channel.
ClassDef(SQHardEvent, 1)
virtual short get_n_board_trig_bit() const =0
Return the number of trigger-bit boards read out.
virtual void identify(std::ostream &os=std::cout) const =0
virtual SQHardEvent * Clone() const =0
virtual void set_n_board_trig_bit(const short a)=0
virtual short get_flag_v1495() const =0
Return the quality flag of the V1495 readout.
virtual int isValid() const =0
isValid returns non zero if object contains vailid data
virtual int get_coda_event_id() const =0
Return the Coda-event ID, which is unique per run.
virtual void set_n_board_trig_count(const short a)=0
virtual void Reset()=0
Clear Event.
virtual void set_n_board_taiwan(const short a)=0