Class Reference for E1039 Core & Analysis Software
SQEvent_v1 Class Reference

#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/interface_main/SQEvent_v1.h>

+ Inheritance diagram for SQEvent_v1:
+ Collaboration diagram for SQEvent_v1:

Public Member Functions

 SQEvent_v1 ()
 
virtual ~SQEvent_v1 ()
 
void Reset ()
 Clear Event. More...
 
virtual void identify (std::ostream &os=std::cout) const
 
int isValid () const
 isValid returns non zero if object contains vailid data More...
 
SQEventClone () const
 
virtual int get_run_id () const
 Return the run ID. More...
 
virtual void set_run_id (const int a)
 
virtual int get_spill_id () const
 Return the spill ID. More...
 
virtual void set_spill_id (const int a)
 
virtual int get_event_id () const
 Return the event ID, which is unique per run. More...
 
virtual void set_event_id (const int a)
 
virtual int get_coda_event_id () const
 [Obsolete] Use SQHardEvent instead. More...
 
virtual void set_coda_event_id (const int a)
 
virtual int get_data_quality () const
 Return the data-quality bits. More...
 
virtual void set_data_quality (const int a)
 
virtual int get_vme_time () const
 [Obsolete] Use SQHardEvent instead. More...
 
virtual void set_vme_time (const int a)
 
virtual bool get_trigger (const SQEvent::TriggerMask i) const
 Return the trigger bit (fired or not) of the selected trigger channel. More...
 
virtual void set_trigger (const SQEvent::TriggerMask i, const bool a)
 
virtual unsigned short get_trigger () const
 Return the full trigger bits. More...
 
virtual void set_trigger (const unsigned short a)
 
virtual int get_raw_matrix (const unsigned short i) const
 [Obsolete] Use SQHardEvent instead. More...
 
virtual void set_raw_matrix (const unsigned short i, const bool a)
 
virtual int get_after_inh_matrix (const unsigned short i) const
 [Obsolete] Use SQHardEvent instead. More...
 
virtual void set_after_inh_matrix (const unsigned short i, const bool a)
 
virtual int get_qie_presum (const unsigned short i) const
 Return the i-th QIE presum, where i=0...3. More...
 
virtual void set_qie_presum (const unsigned short i, const int a)
 
virtual int get_qie_trigger_count () const
 Return the QIE trigger counts. More...
 
virtual void set_qie_trigger_count (const int a)
 
virtual int get_qie_turn_id () const
 Return the QIE turn ID. More...
 
virtual void set_qie_turn_id (const int a)
 
virtual int get_qie_rf_id () const
 Return the QIE RF ID. More...
 
virtual void set_qie_rf_id (const int a)
 
virtual int get_qie_rf_intensity (const short i) const
 Return the i-th QIE RF intensity, where i=-16...+16. More...
 
virtual void set_qie_rf_intensity (const short i, const int a)
 
virtual short get_flag_v1495 () const
 [Obsolete] Use SQHardEvent instead. More...
 
virtual void set_flag_v1495 (const short a)
 
virtual short get_n_board_qie () const
 [Obsolete] Use SQHardEvent instead. More...
 
virtual void set_n_board_qie (const short a)
 
virtual short get_n_board_v1495 () const
 [Obsolete] Use SQHardEvent instead. More...
 
virtual void set_n_board_v1495 (const short a)
 
virtual short get_n_board_taiwan () const
 [Obsolete] Use SQHardEvent instead. More...
 
virtual void set_n_board_taiwan (const short a)
 
virtual short get_n_board_trig_bit () const
 [Obsolete] Use SQHardEvent instead. More...
 
virtual void set_n_board_trig_bit (const short a)
 
virtual short get_n_board_trig_count () const
 [Obsolete] Use SQHardEvent instead. More...
 
virtual void set_n_board_trig_count (const short a)
 
- Public Member Functions inherited from SQEvent
virtual ~SQEvent ()
 
- Public Member Functions inherited from PHObject
 PHObject ()
 ctor More...
 
virtual ~PHObject ()
 dtor More...
 
virtual PHObjectclone () const
 Virtual copy constructor. More...
 
virtual int isValid (const float) const
 
virtual int isValid (const double) const
 
virtual int isValid (const int) const
 
virtual int isValid (const unsigned int) const
 
virtual int isImplemented (const float f) const
 
virtual int isImplemented (const double f) const
 
virtual int isImplemented (const int i) const
 
virtual int isImplemented (const unsigned int i) const
 
void SplitLevel (const int i)
 
int SplitLevel () const
 
void BufferSize (const int i)
 
int BufferSize () const
 

Protected Member Functions

 ClassDef (SQEvent_v1, 1)
 
- Protected Member Functions inherited from SQEvent
 SQEvent ()
 
 ClassDef (SQEvent, 1)
 

Protected Attributes

int _run_id
 
int _spill_id
 
int _event_id
 
int _coda_event_id
 
unsigned short _trigger
 
int _raw_matrix [5]
 
int _after_inh_matrix [5]
 
int _data_quality
 
int _vme_time
 
int _qie_presums [4]
 
int _qie_trig_cnt
 
int _qie_turn_id
 
int _qie_rf_id
 
int _qie_rf_inte [33]
 
short _flag_v1495
 
short _n_board_qie
 
short _n_board_v1495
 
short _n_board_taiwan
 
short _n_board_trig_b
 
short _n_board_trig_c
 

Additional Inherited Members

- Public Types inherited from SQEvent
enum  TriggerMask {
  NIM1 = 0 , NIM2 = 1 , NIM3 = 2 , NIM4 = 3 ,
  NIM5 = 4 , MATRIX1 = 5 , MATRIX2 = 6 , MATRIX3 = 7 ,
  MATRIX4 = 8 , MATRIX5 = 9
}
 

Detailed Description

Definition at line 20 of file SQEvent_v1.h.

Constructor & Destructor Documentation

◆ SQEvent_v1()

SQEvent_v1::SQEvent_v1 ( )

Referenced by Clone().

+ Here is the caller graph for this function:

◆ ~SQEvent_v1()

SQEvent_v1::~SQEvent_v1 ( )
virtual

Definition at line 40 of file SQEvent_v1.cxx.

References Reset().

+ Here is the call graph for this function:

Member Function Documentation

◆ ClassDef()

SQEvent_v1::ClassDef ( SQEvent_v1  ,
 
)
protected

◆ Clone()

SQEvent* SQEvent_v1::Clone ( ) const
inline

Definition at line 31 of file SQEvent_v1.h.

References SQEvent_v1().

+ Here is the call graph for this function:

◆ get_after_inh_matrix()

virtual int SQEvent_v1::get_after_inh_matrix ( const unsigned short  i) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented from SQEvent.

Definition at line 67 of file SQEvent_v1.h.

References _after_inh_matrix.

◆ get_coda_event_id()

virtual int SQEvent_v1::get_coda_event_id ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented from SQEvent.

Definition at line 42 of file SQEvent_v1.h.

References _coda_event_id.

◆ get_data_quality()

virtual int SQEvent_v1::get_data_quality ( ) const
inlinevirtual

Return the data-quality bits.

Implements SQEvent.

Definition at line 46 of file SQEvent_v1.h.

References _data_quality.

◆ get_event_id()

virtual int SQEvent_v1::get_event_id ( ) const
inlinevirtual

Return the event ID, which is unique per run.

Implements SQEvent.

Definition at line 39 of file SQEvent_v1.h.

References _event_id.

◆ get_flag_v1495()

virtual short SQEvent_v1::get_flag_v1495 ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented from SQEvent.

Definition at line 103 of file SQEvent_v1.h.

References _flag_v1495.

◆ get_n_board_qie()

virtual short SQEvent_v1::get_n_board_qie ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented from SQEvent.

Definition at line 106 of file SQEvent_v1.h.

References _n_board_qie.

◆ get_n_board_taiwan()

virtual short SQEvent_v1::get_n_board_taiwan ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented from SQEvent.

Definition at line 112 of file SQEvent_v1.h.

References _n_board_taiwan.

◆ get_n_board_trig_bit()

virtual short SQEvent_v1::get_n_board_trig_bit ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented from SQEvent.

Definition at line 115 of file SQEvent_v1.h.

References _n_board_trig_b.

◆ get_n_board_trig_count()

virtual short SQEvent_v1::get_n_board_trig_count ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented from SQEvent.

Definition at line 118 of file SQEvent_v1.h.

References _n_board_trig_c.

◆ get_n_board_v1495()

virtual short SQEvent_v1::get_n_board_v1495 ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented from SQEvent.

Definition at line 109 of file SQEvent_v1.h.

References _n_board_v1495.

◆ get_qie_presum()

virtual int SQEvent_v1::get_qie_presum ( const unsigned short  i) const
inlinevirtual

Return the i-th QIE presum, where i=0...3.

Implements SQEvent.

Definition at line 76 of file SQEvent_v1.h.

References _qie_presums.

◆ get_qie_rf_id()

virtual int SQEvent_v1::get_qie_rf_id ( ) const
inlinevirtual

Return the QIE RF ID.

Implements SQEvent.

Definition at line 91 of file SQEvent_v1.h.

References _qie_rf_id.

◆ get_qie_rf_intensity()

virtual int SQEvent_v1::get_qie_rf_intensity ( const short  i) const
inlinevirtual

Return the i-th QIE RF intensity, where i=-16...+16.

Implements SQEvent.

Definition at line 94 of file SQEvent_v1.h.

References _qie_rf_inte.

◆ get_qie_trigger_count()

virtual int SQEvent_v1::get_qie_trigger_count ( ) const
inlinevirtual

Return the QIE trigger counts.

Implements SQEvent.

Definition at line 85 of file SQEvent_v1.h.

References _qie_trig_cnt.

◆ get_qie_turn_id()

virtual int SQEvent_v1::get_qie_turn_id ( ) const
inlinevirtual

Return the QIE turn ID.

Implements SQEvent.

Definition at line 88 of file SQEvent_v1.h.

References _qie_turn_id.

◆ get_raw_matrix()

virtual int SQEvent_v1::get_raw_matrix ( const unsigned short  i) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented from SQEvent.

Definition at line 58 of file SQEvent_v1.h.

References _raw_matrix.

◆ get_run_id()

virtual int SQEvent_v1::get_run_id ( ) const
inlinevirtual

Return the run ID.

Implements SQEvent.

Definition at line 33 of file SQEvent_v1.h.

References _run_id.

◆ get_spill_id()

virtual int SQEvent_v1::get_spill_id ( ) const
inlinevirtual

Return the spill ID.

Implements SQEvent.

Definition at line 36 of file SQEvent_v1.h.

References _spill_id.

◆ get_trigger() [1/2]

virtual unsigned short SQEvent_v1::get_trigger ( ) const
inlinevirtual

Return the full trigger bits.

Implements SQEvent.

Definition at line 55 of file SQEvent_v1.h.

References _trigger.

Referenced by identify().

+ Here is the caller graph for this function:

◆ get_trigger() [2/2]

virtual bool SQEvent_v1::get_trigger ( const SQEvent::TriggerMask  i) const
inlinevirtual

Return the trigger bit (fired or not) of the selected trigger channel.

Implements SQEvent.

Definition at line 52 of file SQEvent_v1.h.

References _trigger.

◆ get_vme_time()

virtual int SQEvent_v1::get_vme_time ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented from SQEvent.

Definition at line 49 of file SQEvent_v1.h.

References _vme_time.

◆ identify()

void SQEvent_v1::identify ( std::ostream &  os = std::cout) const
virtual

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from SQEvent.

Definition at line 68 of file SQEvent_v1.cxx.

References _coda_event_id, _event_id, _run_id, _spill_id, get_trigger(), SQEvent::MATRIX1, SQEvent::MATRIX5, SQEvent::NIM1, and SQEvent::NIM5.

+ Here is the call graph for this function:

◆ isValid()

int SQEvent_v1::isValid ( ) const
inlinevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Definition at line 30 of file SQEvent_v1.h.

◆ Reset()

void SQEvent_v1::Reset ( )
virtual

Clear Event.

Reimplemented from SQEvent.

Definition at line 44 of file SQEvent_v1.cxx.

References _after_inh_matrix, _coda_event_id, _data_quality, _event_id, _flag_v1495, _n_board_qie, _n_board_taiwan, _n_board_trig_b, _n_board_trig_c, _n_board_v1495, _qie_presums, _qie_rf_id, _qie_rf_inte, _qie_trig_cnt, _qie_turn_id, _raw_matrix, _run_id, _spill_id, _trigger, and _vme_time.

Referenced by ~SQEvent_v1().

+ Here is the caller graph for this function:

◆ set_after_inh_matrix()

virtual void SQEvent_v1::set_after_inh_matrix ( const unsigned short  i,
const bool  a 
)
inlinevirtual

Reimplemented from SQEvent.

Definition at line 71 of file SQEvent_v1.h.

References _after_inh_matrix.

◆ set_coda_event_id()

virtual void SQEvent_v1::set_coda_event_id ( const int  a)
inlinevirtual

Reimplemented from SQEvent.

Definition at line 43 of file SQEvent_v1.h.

References _coda_event_id.

◆ set_data_quality()

virtual void SQEvent_v1::set_data_quality ( const int  a)
inlinevirtual

Implements SQEvent.

Definition at line 47 of file SQEvent_v1.h.

References _data_quality.

◆ set_event_id()

virtual void SQEvent_v1::set_event_id ( const int  a)
inlinevirtual

Implements SQEvent.

Definition at line 40 of file SQEvent_v1.h.

References _event_id.

◆ set_flag_v1495()

virtual void SQEvent_v1::set_flag_v1495 ( const short  a)
inlinevirtual

Reimplemented from SQEvent.

Definition at line 104 of file SQEvent_v1.h.

References _flag_v1495.

◆ set_n_board_qie()

virtual void SQEvent_v1::set_n_board_qie ( const short  a)
inlinevirtual

Reimplemented from SQEvent.

Definition at line 107 of file SQEvent_v1.h.

References _n_board_qie.

◆ set_n_board_taiwan()

virtual void SQEvent_v1::set_n_board_taiwan ( const short  a)
inlinevirtual

Reimplemented from SQEvent.

Definition at line 113 of file SQEvent_v1.h.

References _n_board_taiwan.

◆ set_n_board_trig_bit()

virtual void SQEvent_v1::set_n_board_trig_bit ( const short  a)
inlinevirtual

Reimplemented from SQEvent.

Definition at line 116 of file SQEvent_v1.h.

References _n_board_trig_b.

◆ set_n_board_trig_count()

virtual void SQEvent_v1::set_n_board_trig_count ( const short  a)
inlinevirtual

Reimplemented from SQEvent.

Definition at line 119 of file SQEvent_v1.h.

References _n_board_trig_c.

◆ set_n_board_v1495()

virtual void SQEvent_v1::set_n_board_v1495 ( const short  a)
inlinevirtual

Reimplemented from SQEvent.

Definition at line 110 of file SQEvent_v1.h.

References _n_board_v1495.

◆ set_qie_presum()

virtual void SQEvent_v1::set_qie_presum ( const unsigned short  i,
const int  a 
)
inlinevirtual

Implements SQEvent.

Definition at line 80 of file SQEvent_v1.h.

References _qie_presums.

◆ set_qie_rf_id()

virtual void SQEvent_v1::set_qie_rf_id ( const int  a)
inlinevirtual

Implements SQEvent.

Definition at line 92 of file SQEvent_v1.h.

References _qie_rf_id.

◆ set_qie_rf_intensity()

virtual void SQEvent_v1::set_qie_rf_intensity ( const short  i,
const int  a 
)
inlinevirtual

Implements SQEvent.

Definition at line 98 of file SQEvent_v1.h.

References _qie_rf_inte.

◆ set_qie_trigger_count()

virtual void SQEvent_v1::set_qie_trigger_count ( const int  a)
inlinevirtual

Implements SQEvent.

Definition at line 86 of file SQEvent_v1.h.

References _qie_trig_cnt.

◆ set_qie_turn_id()

virtual void SQEvent_v1::set_qie_turn_id ( const int  a)
inlinevirtual

Implements SQEvent.

Definition at line 89 of file SQEvent_v1.h.

References _qie_turn_id.

◆ set_raw_matrix()

virtual void SQEvent_v1::set_raw_matrix ( const unsigned short  i,
const bool  a 
)
inlinevirtual

Reimplemented from SQEvent.

Definition at line 62 of file SQEvent_v1.h.

References _raw_matrix.

◆ set_run_id()

virtual void SQEvent_v1::set_run_id ( const int  a)
inlinevirtual

Implements SQEvent.

Definition at line 34 of file SQEvent_v1.h.

References _run_id.

◆ set_spill_id()

virtual void SQEvent_v1::set_spill_id ( const int  a)
inlinevirtual

Implements SQEvent.

Definition at line 37 of file SQEvent_v1.h.

References _spill_id.

◆ set_trigger() [1/2]

virtual void SQEvent_v1::set_trigger ( const SQEvent::TriggerMask  i,
const bool  a 
)
inlinevirtual

Implements SQEvent.

Definition at line 53 of file SQEvent_v1.h.

References _trigger.

◆ set_trigger() [2/2]

virtual void SQEvent_v1::set_trigger ( const unsigned short  a)
inlinevirtual

Implements SQEvent.

Definition at line 56 of file SQEvent_v1.h.

References _trigger.

◆ set_vme_time()

virtual void SQEvent_v1::set_vme_time ( const int  a)
inlinevirtual

Reimplemented from SQEvent.

Definition at line 50 of file SQEvent_v1.h.

References _vme_time.

Member Data Documentation

◆ _after_inh_matrix

int SQEvent_v1::_after_inh_matrix[5]
protected

Definition at line 133 of file SQEvent_v1.h.

Referenced by get_after_inh_matrix(), Reset(), and set_after_inh_matrix().

◆ _coda_event_id

int SQEvent_v1::_coda_event_id
protected

Definition at line 127 of file SQEvent_v1.h.

Referenced by get_coda_event_id(), identify(), Reset(), and set_coda_event_id().

◆ _data_quality

int SQEvent_v1::_data_quality
protected

Definition at line 135 of file SQEvent_v1.h.

Referenced by get_data_quality(), Reset(), and set_data_quality().

◆ _event_id

int SQEvent_v1::_event_id
protected

Definition at line 126 of file SQEvent_v1.h.

Referenced by get_event_id(), identify(), Reset(), and set_event_id().

◆ _flag_v1495

short SQEvent_v1::_flag_v1495
protected

Definition at line 145 of file SQEvent_v1.h.

Referenced by get_flag_v1495(), Reset(), and set_flag_v1495().

◆ _n_board_qie

short SQEvent_v1::_n_board_qie
protected

Definition at line 146 of file SQEvent_v1.h.

Referenced by get_n_board_qie(), Reset(), and set_n_board_qie().

◆ _n_board_taiwan

short SQEvent_v1::_n_board_taiwan
protected

Definition at line 148 of file SQEvent_v1.h.

Referenced by get_n_board_taiwan(), Reset(), and set_n_board_taiwan().

◆ _n_board_trig_b

short SQEvent_v1::_n_board_trig_b
protected

Definition at line 149 of file SQEvent_v1.h.

Referenced by get_n_board_trig_bit(), Reset(), and set_n_board_trig_bit().

◆ _n_board_trig_c

short SQEvent_v1::_n_board_trig_c
protected

Definition at line 150 of file SQEvent_v1.h.

Referenced by get_n_board_trig_count(), Reset(), and set_n_board_trig_count().

◆ _n_board_v1495

short SQEvent_v1::_n_board_v1495
protected

Definition at line 147 of file SQEvent_v1.h.

Referenced by get_n_board_v1495(), Reset(), and set_n_board_v1495().

◆ _qie_presums

int SQEvent_v1::_qie_presums[4]
protected

Definition at line 139 of file SQEvent_v1.h.

Referenced by get_qie_presum(), Reset(), and set_qie_presum().

◆ _qie_rf_id

int SQEvent_v1::_qie_rf_id
protected

Definition at line 142 of file SQEvent_v1.h.

Referenced by get_qie_rf_id(), Reset(), and set_qie_rf_id().

◆ _qie_rf_inte

int SQEvent_v1::_qie_rf_inte[33]
protected

Definition at line 143 of file SQEvent_v1.h.

Referenced by get_qie_rf_intensity(), Reset(), and set_qie_rf_intensity().

◆ _qie_trig_cnt

int SQEvent_v1::_qie_trig_cnt
protected

Definition at line 140 of file SQEvent_v1.h.

Referenced by get_qie_trigger_count(), Reset(), and set_qie_trigger_count().

◆ _qie_turn_id

int SQEvent_v1::_qie_turn_id
protected

Definition at line 141 of file SQEvent_v1.h.

Referenced by get_qie_turn_id(), Reset(), and set_qie_turn_id().

◆ _raw_matrix

int SQEvent_v1::_raw_matrix[5]
protected

Definition at line 131 of file SQEvent_v1.h.

Referenced by get_raw_matrix(), Reset(), and set_raw_matrix().

◆ _run_id

int SQEvent_v1::_run_id
protected

Definition at line 124 of file SQEvent_v1.h.

Referenced by get_run_id(), identify(), Reset(), and set_run_id().

◆ _spill_id

int SQEvent_v1::_spill_id
protected

Definition at line 125 of file SQEvent_v1.h.

Referenced by get_spill_id(), identify(), Reset(), and set_spill_id().

◆ _trigger

unsigned short SQEvent_v1::_trigger
protected

Definition at line 129 of file SQEvent_v1.h.

Referenced by get_trigger(), Reset(), and set_trigger().

◆ _vme_time

int SQEvent_v1::_vme_time
protected

Definition at line 137 of file SQEvent_v1.h.

Referenced by get_vme_time(), Reset(), and set_vme_time().


The documentation for this class was generated from the following files: