Class Reference for E1039 Core & Analysis Software
SQHardSpill.h
Go to the documentation of this file.
1 #ifndef _H_SQHardSpill_H_
2 #define _H_SQHardSpill_H_
3 #include <iostream>
4 #include <phool/PHObject.h>
5 
7 class SQHardSpill : public PHObject {
8  protected:
9  SQHardSpill() {;}
10 
11  public:
12  virtual ~SQHardSpill() {;}
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 SQHardSpill* clone() const = 0;
18  virtual SQHardSpill* Clone() const = 0;
19 
21  virtual int get_bos_coda_id() const = 0;
22  virtual void set_bos_coda_id(const int a) = 0;
23 
25  virtual int get_bos_vme_time() const = 0;
26  virtual void set_bos_vme_time(const int a) = 0;
27 
29  virtual int get_eos_coda_id() const = 0;
30  virtual void set_eos_coda_id(const int a) = 0;
31 
33  virtual int get_eos_vme_time() const = 0;
34  virtual void set_eos_vme_time(const int a) = 0;
35 
37  virtual double get_time_input() const = 0;
38  virtual void set_time_input(const double a) = 0;
39 
41  virtual double get_time_decode() const = 0;
42  virtual void set_time_decode(const double a) = 0;
43 
45  virtual double get_time_map() const = 0;
46  virtual void set_time_map(const double a) = 0;
47 
49  virtual double get_time_subsys() const = 0;
50  virtual void set_time_subsys(const double a) = 0;
51 
53  virtual double get_time_output() const = 0;
54  virtual void set_time_output(const double a) = 0;
55 
57 };
58 
59 #endif /* _H_SQHardSpill_H_ */
An SQ interface class to hold the hardware-related data of one spill.
Definition: SQHardSpill.h:7
virtual void set_time_input(const double a)=0
virtual void identify(std::ostream &os=std::cout) const =0
virtual void set_eos_coda_id(const int a)=0
virtual double get_time_decode() const =0
Return the time taken for the word decoding per spill.
virtual int get_bos_coda_id() const =0
Return the Coda ID at BOS of this spill.
virtual void set_eos_vme_time(const int a)=0
virtual double get_time_map() const =0
Return the time taken for the channel mapping per spill.
virtual void set_time_output(const double a)=0
virtual ~SQHardSpill()
Definition: SQHardSpill.h:12
virtual double get_time_subsys() const =0
Return the time taken for the SubsysReco event processing per spill.
virtual void set_time_subsys(const double a)=0
virtual void set_time_map(const double a)=0
ClassDef(SQHardSpill, 1)
virtual SQHardSpill * Clone() const =0
No use. Only for backward compatibility.
virtual double get_time_output() const =0
Return the time taken for the data output per spill.
virtual double get_time_input() const =0
Return the time taken for the Coda input per spill.
virtual void set_time_decode(const double a)=0
virtual int get_eos_vme_time() const =0
Return the VME time at EOS of this spill.
virtual int isValid() const =0
isValid returns non zero if object contains vailid data
virtual void set_bos_vme_time(const int a)=0
virtual int get_eos_coda_id() const =0
Return the Coda ID at EOS of this spill.
virtual SQHardSpill * clone() const =0
Virtual copy constructor.
virtual void Reset()=0
Clear Event.
virtual void set_bos_coda_id(const int a)=0
virtual int get_bos_vme_time() const =0
Return the VME time at BOS of this spill.