Class Reference for E1039 Core & Analysis Software
SQHardSpill_v1.h
Go to the documentation of this file.
1 #ifndef _H_SQHardSpill_v1_H_
2 #define _H_SQHardSpill_v1_H_
3 #include <iostream>
4 #include "SQHardSpill.h"
5 
6 class SQHardSpill_v1 : public SQHardSpill {
7  int _bos_coda_id;
8  int _bos_vme_time;
9  int _eos_coda_id;
10  int _eos_vme_time;
11  double _time_input;
12  double _time_decode;
13  double _time_map;
14  double _time_subsys;
15  double _time_output;
16 
17  public:
19  virtual ~SQHardSpill_v1() {;}
20 
21  SQHardSpill* clone() const { return new SQHardSpill_v1(*this); }
22  SQHardSpill* Clone() const { return new SQHardSpill_v1(*this); }
23  void Reset();
24  int isValid() const { return 1; }
25  void identify(std::ostream& os = std::cout) const;
26 
27  virtual int get_bos_coda_id() const { return _bos_coda_id; }
28  virtual void set_bos_coda_id(const int a) { _bos_coda_id = a; }
29 
30  virtual int get_bos_vme_time() const { return _bos_vme_time; }
31  virtual void set_bos_vme_time(const int a) { _bos_vme_time = a; }
32 
33  virtual int get_eos_coda_id() const { return _eos_coda_id; }
34  virtual void set_eos_coda_id(const int a) { _eos_coda_id = a; }
35 
36  virtual int get_eos_vme_time() const { return _eos_vme_time; }
37  virtual void set_eos_vme_time(const int a) { _eos_vme_time = a; }
38 
39  virtual double get_time_input() const { return _time_input; }
40  virtual void set_time_input(const double a) { _time_input = a; }
41 
42  virtual double get_time_decode() const { return _time_decode; }
43  virtual void set_time_decode(const double a) { _time_decode = a; }
44 
45  virtual double get_time_map() const { return _time_map; }
46  virtual void set_time_map(const double a) { _time_map = a; }
47 
48  virtual double get_time_subsys() const { return _time_subsys; }
49  virtual void set_time_subsys(const double a) { _time_subsys = a; }
50 
51  virtual double get_time_output() const { return _time_output; }
52  virtual void set_time_output(const double a) { _time_output = a; }
53 
55 };
56 
57 
58 #endif /* _H_SQHardSpill_v1_H_ */
virtual double get_time_input() const
Return the time taken for the Coda input per spill.
virtual ~SQHardSpill_v1()
virtual void set_time_input(const double a)
virtual int get_bos_coda_id() const
Return the Coda ID at BOS of this spill.
int isValid() const
isValid returns non zero if object contains vailid data
virtual void set_bos_coda_id(const int a)
virtual double get_time_map() const
Return the time taken for the channel mapping per spill.
void identify(std::ostream &os=std::cout) const
virtual void set_bos_vme_time(const int a)
virtual void set_time_decode(const double a)
virtual void set_eos_vme_time(const int a)
virtual double get_time_subsys() const
Return the time taken for the SubsysReco event processing per spill.
virtual void set_time_subsys(const double a)
virtual void set_time_output(const double a)
virtual double get_time_output() const
Return the time taken for the data output per spill.
virtual void set_eos_coda_id(const int a)
virtual int get_eos_coda_id() const
Return the Coda ID at EOS of this spill.
ClassDef(SQHardSpill_v1, 1)
virtual int get_bos_vme_time() const
Return the VME time at BOS of this spill.
void Reset()
Clear Event.
virtual double get_time_decode() const
Return the time taken for the word decoding per spill.
virtual void set_time_map(const double a)
virtual int get_eos_vme_time() const
Return the VME time at EOS of this spill.
SQHardSpill * Clone() const
No use. Only for backward compatibility.
SQHardSpill * clone() const
Virtual copy constructor.
An SQ interface class to hold the hardware-related data of one spill.
Definition: SQHardSpill.h:7