Class Reference for E1039 Core & Analysis Software
SQEvent_v2 Class Reference

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

+ Inheritance diagram for SQEvent_v2:
+ Collaboration diagram for SQEvent_v2:

Public Member Functions

 SQEvent_v2 ()
 
virtual ~SQEvent_v2 ()
 
virtual void Reset ()
 Clear Event. More...
 
virtual void identify (std::ostream &os=std::cout) const
 
virtual int isValid () const
 isValid returns non zero if object contains vailid data More...
 
virtual 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_data_quality () const
 Return the data-quality bits. More...
 
virtual void set_data_quality (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_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)
 
 ClassDef (SQEvent_v2, 1)
 
- Public Member Functions inherited from SQEvent
virtual ~SQEvent ()
 
virtual int get_coda_event_id () const
 [Obsolete] Use SQHardEvent instead. More...
 
virtual void set_coda_event_id (const int a)
 
virtual int get_vme_time () const
 [Obsolete] Use SQHardEvent instead. More...
 
virtual void set_vme_time (const int 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 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 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
 

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
}
 
- Protected Member Functions inherited from SQEvent
 SQEvent ()
 
 ClassDef (SQEvent, 1)
 

Detailed Description

Definition at line 9 of file SQEvent_v2.h.

Constructor & Destructor Documentation

◆ SQEvent_v2()

SQEvent_v2::SQEvent_v2 ( )

Referenced by Clone().

+ Here is the caller graph for this function:

◆ ~SQEvent_v2()

SQEvent_v2::~SQEvent_v2 ( )
virtual

Definition at line 20 of file SQEvent_v2.cxx.

References Reset().

+ Here is the call graph for this function:

Member Function Documentation

◆ ClassDef()

SQEvent_v2::ClassDef ( SQEvent_v2  ,
 
)

◆ Clone()

virtual SQEvent* SQEvent_v2::Clone ( ) const
inlinevirtual

Definition at line 29 of file SQEvent_v2.h.

References SQEvent_v2().

+ Here is the call graph for this function:

◆ get_data_quality()

virtual int SQEvent_v2::get_data_quality ( ) const
inlinevirtual

Return the data-quality bits.

Implements SQEvent.

Definition at line 40 of file SQEvent_v2.h.

◆ get_event_id()

virtual int SQEvent_v2::get_event_id ( ) const
inlinevirtual

Return the event ID, which is unique per run.

Implements SQEvent.

Definition at line 37 of file SQEvent_v2.h.

◆ get_qie_presum()

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

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

Implements SQEvent.

Definition at line 49 of file SQEvent_v2.h.

◆ get_qie_rf_id()

virtual int SQEvent_v2::get_qie_rf_id ( ) const
inlinevirtual

Return the QIE RF ID.

Implements SQEvent.

Definition at line 64 of file SQEvent_v2.h.

◆ get_qie_rf_intensity()

virtual int SQEvent_v2::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 67 of file SQEvent_v2.h.

◆ get_qie_trigger_count()

virtual int SQEvent_v2::get_qie_trigger_count ( ) const
inlinevirtual

Return the QIE trigger counts.

Implements SQEvent.

Definition at line 58 of file SQEvent_v2.h.

◆ get_qie_turn_id()

virtual int SQEvent_v2::get_qie_turn_id ( ) const
inlinevirtual

Return the QIE turn ID.

Implements SQEvent.

Definition at line 61 of file SQEvent_v2.h.

◆ get_run_id()

virtual int SQEvent_v2::get_run_id ( ) const
inlinevirtual

Return the run ID.

Implements SQEvent.

Definition at line 31 of file SQEvent_v2.h.

◆ get_spill_id()

virtual int SQEvent_v2::get_spill_id ( ) const
inlinevirtual

Return the spill ID.

Implements SQEvent.

Definition at line 34 of file SQEvent_v2.h.

◆ get_trigger() [1/2]

virtual unsigned short SQEvent_v2::get_trigger ( ) const
inlinevirtual

Return the full trigger bits.

Implements SQEvent.

Definition at line 46 of file SQEvent_v2.h.

Referenced by identify().

+ Here is the caller graph for this function:

◆ get_trigger() [2/2]

virtual bool SQEvent_v2::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 43 of file SQEvent_v2.h.

◆ identify()

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

identify Function from PHObject

Parameters
osOutput Stream

Reimplemented from SQEvent.

Definition at line 39 of file SQEvent_v2.cxx.

References get_trigger(), SQEvent::MATRIX1, SQEvent::MATRIX5, SQEvent::NIM1, and SQEvent::NIM5.

+ Here is the call graph for this function:

◆ isValid()

virtual int SQEvent_v2::isValid ( ) const
inlinevirtual

isValid returns non zero if object contains vailid data

Reimplemented from PHObject.

Definition at line 28 of file SQEvent_v2.h.

◆ Reset()

void SQEvent_v2::Reset ( )
virtual

Clear Event.

Reimplemented from SQEvent.

Definition at line 25 of file SQEvent_v2.cxx.

Referenced by ~SQEvent_v2().

+ Here is the caller graph for this function:

◆ set_data_quality()

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

Implements SQEvent.

Definition at line 41 of file SQEvent_v2.h.

◆ set_event_id()

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

Implements SQEvent.

Definition at line 38 of file SQEvent_v2.h.

◆ set_qie_presum()

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

Implements SQEvent.

Definition at line 53 of file SQEvent_v2.h.

◆ set_qie_rf_id()

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

Implements SQEvent.

Definition at line 65 of file SQEvent_v2.h.

◆ set_qie_rf_intensity()

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

Implements SQEvent.

Definition at line 71 of file SQEvent_v2.h.

◆ set_qie_trigger_count()

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

Implements SQEvent.

Definition at line 59 of file SQEvent_v2.h.

◆ set_qie_turn_id()

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

Implements SQEvent.

Definition at line 62 of file SQEvent_v2.h.

◆ set_run_id()

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

Implements SQEvent.

Definition at line 32 of file SQEvent_v2.h.

◆ set_spill_id()

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

Implements SQEvent.

Definition at line 35 of file SQEvent_v2.h.

◆ set_trigger() [1/2]

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

Implements SQEvent.

Definition at line 44 of file SQEvent_v2.h.

◆ set_trigger() [2/2]

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

Implements SQEvent.

Definition at line 47 of file SQEvent_v2.h.


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