Class Reference for E1039 Core & Analysis Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =0
 Return the Coda-event ID, which is unique per run. More...
 
virtual void set_coda_event_id (const int a)=0
 
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 =0
 Return the VME time. More...
 
virtual void set_vme_time (const int a)=0
 
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 =0
 [Not Useful] Return the raw count of the selected trigger channel. More...
 
virtual void set_raw_matrix (const unsigned short i, const bool a)=0
 
virtual int get_after_inh_matrix (const unsigned short i) const =0
 [Not Useful] Return the after-inhibited count of the selected trigger channel. More...
 
virtual void set_after_inh_matrix (const unsigned short i, const bool a)=0
 
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 =0
 Return the quality flag of the V1495 readout. More...
 
virtual void set_flag_v1495 (const short a)=0
 
virtual short get_n_board_qie () const =0
 Return the number of QIE boards read out. More...
 
virtual void set_n_board_qie (const short a)=0
 
virtual short get_n_board_v1495 () const =0
 Return the number of V1495 boards read out. More...
 
virtual void set_n_board_v1495 (const short a)=0
 
virtual short get_n_board_taiwan () const =0
 Return the number of Taiwan-TDC boards read out. More...
 
virtual void set_n_board_taiwan (const short a)=0
 
virtual short get_n_board_trig_bit () const =0
 Return the number of trigger-bit boards read out. More...
 
virtual void set_n_board_trig_bit (const short a)=0
 
virtual short get_n_board_trig_count () const =0
 Return the number of trigger-count boards read out. More...
 
virtual void set_n_board_trig_count (const short a)=0
 
- 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

Enumerator
NIM1 
NIM2 
NIM3 
NIM4 
NIM5 
MATRIX1 
MATRIX2 
MATRIX3 
MATRIX4 
MATRIX5 

Definition at line 21 of file SQEvent.h.

Constructor & Destructor Documentation

virtual SQEvent::~SQEvent ( )
inlinevirtual

Definition at line 34 of file SQEvent.h.

SQEvent::SQEvent ( )
inlineprotected

Definition at line 113 of file SQEvent.h.

Member Function Documentation

SQEvent::ClassDef ( SQEvent  ,
 
)
protected
virtual int SQEvent::get_after_inh_matrix ( const unsigned short  i) const
pure virtual

[Not Useful] Return the after-inhibited count of the selected trigger channel.

Implemented in SQEvent_v1.

virtual int SQEvent::get_coda_event_id ( ) const
pure virtual

Return the Coda-event ID, which is unique per run.

Implemented in SQEvent_v1.

virtual int SQEvent::get_data_quality ( ) const
pure virtual

Return the data-quality bits.

Implemented in SQEvent_v1.

virtual int SQEvent::get_event_id ( ) const
pure virtual

Return the event ID, which is unique per run.

Implemented in SQEvent_v1.

Referenced by EvtDispFilter::process_event(), EvtFilter::process_event(), and SimpleTree::process_event().

+ Here is the caller graph for this function:

virtual short SQEvent::get_flag_v1495 ( ) const
pure virtual

Return the quality flag of the V1495 readout.

Implemented in SQEvent_v1.

virtual short SQEvent::get_n_board_qie ( ) const
pure virtual

Return the number of QIE boards read out.

Implemented in SQEvent_v1.

virtual short SQEvent::get_n_board_taiwan ( ) const
pure virtual

Return the number of Taiwan-TDC boards read out.

Implemented in SQEvent_v1.

virtual short SQEvent::get_n_board_trig_bit ( ) const
pure virtual

Return the number of trigger-bit boards read out.

Implemented in SQEvent_v1.

virtual short SQEvent::get_n_board_trig_count ( ) const
pure virtual

Return the number of trigger-count boards read out.

Implemented in SQEvent_v1.

virtual short SQEvent::get_n_board_v1495 ( ) const
pure virtual

Return the number of V1495 boards read out.

Implemented in SQEvent_v1.

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_v1.

virtual int SQEvent::get_qie_rf_id ( ) const
pure virtual

Return the QIE RF ID.

Implemented in SQEvent_v1.

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_v1.

virtual int SQEvent::get_qie_trigger_count ( ) const
pure virtual

Return the QIE trigger counts.

Implemented in SQEvent_v1.

virtual int SQEvent::get_qie_turn_id ( ) const
pure virtual

Return the QIE turn ID.

Implemented in SQEvent_v1.

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

[Not Useful] Return the raw count of the selected trigger channel.

Implemented in SQEvent_v1.

virtual int SQEvent::get_run_id ( ) const
pure virtual

Return the run ID.

Implemented in SQEvent_v1.

Referenced by Fun4AllSpillDstOutputManager::Write().

+ Here is the caller graph for this function:

virtual int SQEvent::get_spill_id ( ) const
pure virtual

Return the spill ID.

Implemented in SQEvent_v1.

Referenced by EvtDispFilter::process_event(), and Fun4AllSpillDstOutputManager::Write().

+ Here is the caller graph for this function:

virtual bool SQEvent::get_trigger ( const SQEvent::TriggerMask  i) const
pure virtual

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

Implemented in SQEvent_v1.

Referenced by EvtDispFilter::process_event(), EvtFilter::process_event(), and SimpleTree::process_event().

+ Here is the caller graph for this function:

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

Return the full trigger bits.

Implemented in SQEvent_v1.

virtual int SQEvent::get_vme_time ( ) const
pure virtual

Return the VME time.

Implemented in SQEvent_v1.

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from PHObject.

Reimplemented in SQEvent_v1.

Definition at line 38 of file SQEvent.h.

Referenced by EvtFilter::process_event().

+ Here is the caller graph for this function:

void SQEvent::Reset ( )
inlinevirtual

Clear Event.

Reimplemented from PHObject.

Reimplemented in SQEvent_v1.

Definition at line 36 of file SQEvent.h.

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

Implemented in SQEvent_v1.

Referenced by Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), and Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), TruthNodeMaker::process_event(), and Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), and Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), and Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), and Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), TruthNodeMaker::process_event(), and Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), TruthNodeMaker::process_event(), and Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), DPTriggerAnalyzer::process_event(), and Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:

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

Implemented in SQEvent_v1.

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

Implemented in SQEvent_v1.

Referenced by Fun4AllEVIOInputManager::run().

+ Here is the caller graph for this function:


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