Class Reference for E1039 Core & Analysis Software
SQEvent Class Referenceabstract

An SQ interface class to hold one event header. More...

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

+ Inheritance diagram for SQEvent:
+ Collaboration diagram for SQEvent:

Public Types

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

Public Member Functions

virtual ~SQEvent ()
 
void Reset ()
 Clear Event. More...
 
virtual void identify (std::ostream &os=std::cout) const
 
virtual int get_run_id () const =0
 Return the run ID. More...
 
virtual void set_run_id (const int a)=0
 
virtual int get_spill_id () const =0
 Return the spill ID. More...
 
virtual void set_spill_id (const int a)=0
 
virtual int get_event_id () const =0
 Return the event ID, which is unique per run. More...
 
virtual void set_event_id (const int a)=0
 
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 =0
 Return the data-quality bits. More...
 
virtual void set_data_quality (const int a)=0
 
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 =0
 Return the trigger bit (fired or not) of the selected trigger channel. More...
 
virtual void set_trigger (const SQEvent::TriggerMask i, const bool a)=0
 
virtual unsigned short get_trigger () const =0
 Return the full trigger bits. More...
 
virtual void set_trigger (const unsigned short a)=0
 
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 =0
 Return the i-th QIE presum, where i=0...3. More...
 
virtual void set_qie_presum (const unsigned short i, const int a)=0
 
virtual int get_qie_trigger_count () const =0
 Return the QIE trigger counts. More...
 
virtual void set_qie_trigger_count (const int a)=0
 
virtual int get_qie_turn_id () const =0
 Return the QIE turn ID. More...
 
virtual void set_qie_turn_id (const int a)=0
 
virtual int get_qie_rf_id () const =0
 Return the QIE RF ID. More...
 
virtual void set_qie_rf_id (const int a)=0
 
virtual int get_qie_rf_intensity (const short i) const =0
 Return the i-th QIE RF intensity, where i=-16...+16. More...
 
virtual void set_qie_rf_intensity (const short i, const int a)=0
 
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 PHObject
 PHObject ()
 ctor More...
 
virtual ~PHObject ()
 dtor More...
 
virtual PHObjectclone () const
 Virtual copy constructor. More...
 
virtual int isValid () const
 isValid returns non zero if object contains vailid data 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

 SQEvent ()
 
 ClassDef (SQEvent, 1)
 

Detailed Description

An SQ interface class to hold one event header.

Definition at line 17 of file SQEvent.h.

Member Enumeration Documentation

◆ TriggerMask

Enumerator
NIM1 
NIM2 
NIM3 
NIM4 
NIM5 
MATRIX1 
MATRIX2 
MATRIX3 
MATRIX4 
MATRIX5 

Definition at line 21 of file SQEvent.h.

Constructor & Destructor Documentation

◆ ~SQEvent()

virtual SQEvent::~SQEvent ( )
inlinevirtual

Definition at line 34 of file SQEvent.h.

◆ SQEvent()

SQEvent::SQEvent ( )
inlineprotected

Definition at line 133 of file SQEvent.h.

Member Function Documentation

◆ ClassDef()

SQEvent::ClassDef ( SQEvent  ,
 
)
protected

◆ get_after_inh_matrix()

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

[Obsolete] Use SQHardEvent instead.

Reimplemented in SQEvent_v1.

Definition at line 81 of file SQEvent.h.

◆ get_coda_event_id()

virtual int SQEvent::get_coda_event_id ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented in SQEvent_v1.

Definition at line 57 of file SQEvent.h.

◆ get_data_quality()

virtual int SQEvent::get_data_quality ( ) const
pure virtual

Return the data-quality bits.

Implemented in SQEvent_v2, and SQEvent_v1.

◆ get_event_id()

◆ get_flag_v1495()

virtual short SQEvent::get_flag_v1495 ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented in SQEvent_v1.

Definition at line 107 of file SQEvent.h.

◆ get_n_board_qie()

virtual short SQEvent::get_n_board_qie ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented in SQEvent_v1.

Definition at line 111 of file SQEvent.h.

◆ get_n_board_taiwan()

virtual short SQEvent::get_n_board_taiwan ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented in SQEvent_v1.

Definition at line 119 of file SQEvent.h.

◆ get_n_board_trig_bit()

virtual short SQEvent::get_n_board_trig_bit ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented in SQEvent_v1.

Definition at line 123 of file SQEvent.h.

◆ get_n_board_trig_count()

virtual short SQEvent::get_n_board_trig_count ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented in SQEvent_v1.

Definition at line 127 of file SQEvent.h.

◆ get_n_board_v1495()

virtual short SQEvent::get_n_board_v1495 ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented in SQEvent_v1.

Definition at line 115 of file SQEvent.h.

◆ get_qie_presum()

virtual int SQEvent::get_qie_presum ( const unsigned short  i) const
pure virtual

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

Implemented in SQEvent_v2, and SQEvent_v1.

◆ get_qie_rf_id()

virtual int SQEvent::get_qie_rf_id ( ) const
pure virtual

Return the QIE RF ID.

Implemented in SQEvent_v2, and SQEvent_v1.

Referenced by DoEmbedding::process_event(), Fun4AllVectEventOutputManager::Write(), and Fun4AllRUSOutputManager::Write().

+ Here is the caller graph for this function:

◆ get_qie_rf_intensity()

virtual int SQEvent::get_qie_rf_intensity ( const short  i) const
pure virtual

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

Implemented in SQEvent_v2, and SQEvent_v1.

Referenced by SubsysRecoBG::process_event(), AnaEmbeddedData::process_event(), DoEmbedding::process_event(), Fun4AllVectEventOutputManager::Write(), and Fun4AllRUSOutputManager::Write().

+ Here is the caller graph for this function:

◆ get_qie_trigger_count()

virtual int SQEvent::get_qie_trigger_count ( ) const
pure virtual

Return the QIE trigger counts.

Implemented in SQEvent_v2, and SQEvent_v1.

◆ get_qie_turn_id()

virtual int SQEvent::get_qie_turn_id ( ) const
pure virtual

Return the QIE turn ID.

Implemented in SQEvent_v2, and SQEvent_v1.

Referenced by DoEmbedding::process_event(), Fun4AllVectEventOutputManager::Write(), and Fun4AllRUSOutputManager::Write().

+ Here is the caller graph for this function:

◆ get_raw_matrix()

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

[Obsolete] Use SQHardEvent instead.

Reimplemented in SQEvent_v1.

Definition at line 77 of file SQEvent.h.

◆ get_run_id()

◆ get_spill_id()

◆ get_trigger() [1/2]

virtual unsigned short SQEvent::get_trigger ( ) const
pure virtual

Return the full trigger bits.

Implemented in SQEvent_v2, and SQEvent_v1.

◆ get_trigger() [2/2]

◆ get_vme_time()

virtual int SQEvent::get_vme_time ( ) const
inlinevirtual

[Obsolete] Use SQHardEvent instead.

Reimplemented in SQEvent_v1.

Definition at line 65 of file SQEvent.h.

◆ identify()

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Reimplemented in SQEvent_v2, and SQEvent_v1.

Definition at line 38 of file SQEvent.h.

Referenced by EvtFilter::process_event().

+ Here is the caller graph for this function:

◆ Reset()

void SQEvent::Reset ( )
inlinevirtual

Clear Event.

Reimplemented from PHObject.

Reimplemented in SQEvent_v2, and SQEvent_v1.

Definition at line 36 of file SQEvent.h.

◆ set_after_inh_matrix()

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

Reimplemented in SQEvent_v1.

Definition at line 82 of file SQEvent.h.

◆ set_coda_event_id()

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

Reimplemented in SQEvent_v1.

Definition at line 58 of file SQEvent.h.

◆ set_data_quality()

virtual void SQEvent::set_data_quality ( const int  a)
pure virtual

Implemented in SQEvent_v2, and SQEvent_v1.

Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), Fun4AllHitMatrixInputManager::run(), Fun4AllTrackQAv1InputManager::run(), Fun4AllEVIOInputManager::run(), Fun4AllVectEventInputManager::VectToE1039(), and Fun4AllRUSInputManager::VectToE1039().

+ Here is the caller graph for this function:

◆ set_event_id()

virtual void SQEvent::set_event_id ( const int  a)
pure virtual

◆ set_flag_v1495()

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

Reimplemented in SQEvent_v1.

Definition at line 108 of file SQEvent.h.

◆ set_n_board_qie()

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

Reimplemented in SQEvent_v1.

Definition at line 112 of file SQEvent.h.

◆ set_n_board_taiwan()

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

Reimplemented in SQEvent_v1.

Definition at line 120 of file SQEvent.h.

◆ set_n_board_trig_bit()

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

Reimplemented in SQEvent_v1.

Definition at line 124 of file SQEvent.h.

◆ set_n_board_trig_count()

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

Reimplemented in SQEvent_v1.

Definition at line 128 of file SQEvent.h.

◆ set_n_board_v1495()

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

Reimplemented in SQEvent_v1.

Definition at line 116 of file SQEvent.h.

◆ set_qie_presum()

virtual void SQEvent::set_qie_presum ( const unsigned short  i,
const int  a 
)
pure virtual

Implemented in SQEvent_v2, and SQEvent_v1.

Referenced by Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

◆ set_qie_rf_id()

virtual void SQEvent::set_qie_rf_id ( const int  a)
pure virtual

Implemented in SQEvent_v2, and SQEvent_v1.

Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), DoEmbedding::process_event(), Fun4AllHitMatrixInputManager::run(), Fun4AllTrackQAv1InputManager::run(), Fun4AllEVIOInputManager::run(), and Fun4AllRUSInputManager::VectToE1039().

+ Here is the caller graph for this function:

◆ set_qie_rf_intensity()

virtual void SQEvent::set_qie_rf_intensity ( const short  i,
const int  a 
)
pure virtual

Implemented in SQEvent_v2, and SQEvent_v1.

Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), DoEmbedding::process_event(), Fun4AllHitMatrixInputManager::run(), Fun4AllTrackQAv1InputManager::run(), Fun4AllEVIOInputManager::run(), Fun4AllVectEventInputManager::VectToE1039(), and Fun4AllRUSInputManager::VectToE1039().

+ Here is the caller graph for this function:

◆ set_qie_trigger_count()

virtual void SQEvent::set_qie_trigger_count ( const int  a)
pure virtual

Implemented in SQEvent_v2, and SQEvent_v1.

Referenced by Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

◆ set_qie_turn_id()

virtual void SQEvent::set_qie_turn_id ( const int  a)
pure virtual

Implemented in SQEvent_v2, and SQEvent_v1.

Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), DoEmbedding::process_event(), Fun4AllHitMatrixInputManager::run(), Fun4AllTrackQAv1InputManager::run(), Fun4AllEVIOInputManager::run(), and Fun4AllRUSInputManager::VectToE1039().

+ Here is the caller graph for this function:

◆ set_raw_matrix()

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

Reimplemented in SQEvent_v1.

Definition at line 78 of file SQEvent.h.

◆ set_run_id()

virtual void SQEvent::set_run_id ( const int  a)
pure virtual

◆ set_spill_id()

virtual void SQEvent::set_spill_id ( const int  a)
pure virtual

◆ set_trigger() [1/2]

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

Implemented in SQEvent_v2, and SQEvent_v1.

Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), DPTriggerAnalyzer::process_event(), Fun4AllHitMatrixInputManager::run(), Fun4AllTrackQAv1InputManager::run(), Fun4AllEVIOInputManager::run(), Fun4AllVectEventInputManager::VectToE1039(), and Fun4AllRUSInputManager::VectToE1039().

+ Here is the caller graph for this function:

◆ set_trigger() [2/2]

virtual void SQEvent::set_trigger ( const unsigned short  a)
pure virtual

Implemented in SQEvent_v2, and SQEvent_v1.

◆ set_vme_time()

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

Reimplemented in SQEvent_v1.

Definition at line 66 of file SQEvent.h.


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