Class Reference for E1039 Core & Analysis Software
|
An SQ interface class to hold one event header. More...
#include </dev/shm/kenichi/update-github-e1039-doc/e1039-core/interface_main/SQEvent.h>
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) |
![]() | |
PHObject () | |
ctor More... | |
virtual | ~PHObject () |
dtor More... | |
virtual PHObject * | clone () 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) | |
enum SQEvent::TriggerMask |
|
protected |
|
inlinevirtual |
[Obsolete] Use SQHardEvent
instead.
Reimplemented in SQEvent_v1.
|
inlinevirtual |
[Obsolete] Use SQHardEvent
instead.
Reimplemented in SQEvent_v1.
|
pure virtual |
Return the data-quality bits.
Implemented in SQEvent_v2, and SQEvent_v1.
|
pure virtual |
Return the event ID, which is unique per run.
Implemented in SQEvent_v2, and SQEvent_v1.
Referenced by UtilSQHit::FindHitsFast(), UtilSQHit::FindTriggerHitsFast(), AnaChamHit::process_event(), AnaHardEvent::process_event(), AnaSimRunInfo::process_event(), AnaSimDimuon::process_event(), SubsysRecoBG::process_event(), AnaEmbeddedData::process_event(), DoEmbedding::process_event(), AnaPileup::process_event(), AnaDimuon::process_event(), AnaDimuonLikeSign::process_event(), AnaDimuonV2::process_event(), SimpleTree::process_event(), EvtFilter::process_event(), UtilSRawEvent::SetEvent(), Fun4AllVectEventOutputManager::Write(), and Fun4AllRUSOutputManager::Write().
|
inlinevirtual |
[Obsolete] Use SQHardEvent
instead.
Reimplemented in SQEvent_v1.
|
inlinevirtual |
[Obsolete] Use SQHardEvent
instead.
Reimplemented in SQEvent_v1.
|
inlinevirtual |
[Obsolete] Use SQHardEvent
instead.
Reimplemented in SQEvent_v1.
|
inlinevirtual |
[Obsolete] Use SQHardEvent
instead.
Reimplemented in SQEvent_v1.
|
inlinevirtual |
[Obsolete] Use SQHardEvent
instead.
Reimplemented in SQEvent_v1.
|
inlinevirtual |
[Obsolete] Use SQHardEvent
instead.
Reimplemented in SQEvent_v1.
|
pure virtual |
Return the i-th QIE presum, where i=0...3.
Implemented in SQEvent_v2, and SQEvent_v1.
|
pure virtual |
Return the QIE RF ID.
Implemented in SQEvent_v2, and SQEvent_v1.
Referenced by DoEmbedding::process_event(), Fun4AllVectEventOutputManager::Write(), and Fun4AllRUSOutputManager::Write().
|
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().
|
pure virtual |
Return the QIE trigger counts.
Implemented in SQEvent_v2, and SQEvent_v1.
|
pure virtual |
Return the QIE turn ID.
Implemented in SQEvent_v2, and SQEvent_v1.
Referenced by DoEmbedding::process_event(), Fun4AllVectEventOutputManager::Write(), and Fun4AllRUSOutputManager::Write().
|
inlinevirtual |
[Obsolete] Use SQHardEvent
instead.
Reimplemented in SQEvent_v1.
|
pure virtual |
Return the run ID.
Implemented in SQEvent_v2, and SQEvent_v1.
Referenced by UtilSQHit::FindHitsFast(), UtilSQHit::FindTriggerHitsFast(), AnaChamHit::process_event(), AnaSimRunInfo::process_event(), SubsysRecoBG::process_event(), DoEmbedding::process_event(), AnaDimuon::process_event(), AnaDimuonLikeSign::process_event(), AnaDimuonV2::process_event(), UtilSRawEvent::SetEvent(), Fun4AllVectEventOutputManager::Write(), Fun4AllSpillDstOutputManager::Write(), Fun4AllSpillSRawEventOutputManager::Write(), and Fun4AllRUSOutputManager::Write().
|
pure virtual |
Return the spill ID.
Implemented in SQEvent_v2, and SQEvent_v1.
Referenced by AnaChamHit::process_event(), AnaHardEvent::process_event(), MakeMyTree::process_event(), AnaEmbeddedData::process_event(), DoEmbedding::process_event(), FilterE906Nim3::process_event(), AnaDimuon::process_event(), AnaDimuonLikeSign::process_event(), AnaDimuonV2::process_event(), DbUpSpill::process_event(), E906SpillSelector::process_event(), UtilSRawEvent::SetEvent(), Fun4AllSRawEventOutputManagerV2::Write(), Fun4AllVectEventOutputManager::Write(), Fun4AllSpillDstOutputManager::Write(), Fun4AllSpillSRawEventOutputManager::Write(), Fun4AllSRawEventOutputManager::Write(), and Fun4AllRUSOutputManager::Write().
|
pure virtual |
Return the full trigger bits.
Implemented in SQEvent_v2, and SQEvent_v1.
|
pure virtual |
Return the trigger bit (fired or not) of the selected trigger channel.
Implemented in SQEvent_v2, and SQEvent_v1.
Referenced by AnaChamHit::process_event(), AnaHodoHit::process_event(), AnaSimDst::process_event(), SRMakeRTCurve::process_event(), AnaSimDimuon::process_event(), SubsysRecoBG::process_event(), AnaEmbeddedData::process_event(), FilterE906Nim3::process_event(), AnaPileup::process_event(), AnaDimuon::process_event(), AnaDimuonLikeSign::process_event(), AnaDimuonV2::process_event(), SimpleTree::process_event(), EvtFilter::process_event(), FilterByTrigger::process_event(), UtilSRawEvent::SetEvent(), Fun4AllVectEventOutputManager::Write(), Fun4AllTriggerDstOutputManager::Write(), and Fun4AllRUSOutputManager::Write().
|
inlinevirtual |
[Obsolete] Use SQHardEvent
instead.
Reimplemented in SQEvent_v1.
|
inlinevirtual |
identify Function from PHObject
os | Output Stream |
Reimplemented from PHObject.
Reimplemented in SQEvent_v2, and SQEvent_v1.
Definition at line 38 of file SQEvent.h.
Referenced by EvtFilter::process_event().
|
inlinevirtual |
|
inlinevirtual |
Reimplemented in SQEvent_v1.
|
inlinevirtual |
Reimplemented in SQEvent_v1.
|
pure virtual |
Implemented in SQEvent_v2, and SQEvent_v1.
Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), Fun4AllHitMatrixInputManager::run(), Fun4AllTrackQAv1InputManager::run(), Fun4AllEVIOInputManager::run(), Fun4AllVectEventInputManager::VectToE1039(), and Fun4AllRUSInputManager::VectToE1039().
|
pure virtual |
Implemented in SQEvent_v2, and SQEvent_v1.
Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), TruthNodeMaker::process_event(), PHG4SimpleEventGenerator::process_event(), Fun4AllHitMatrixInputManager::run(), Fun4AllTrackQAv1InputManager::run(), Fun4AllEVIOInputManager::run(), Fun4AllVectEventInputManager::VectToE1039(), and Fun4AllRUSInputManager::VectToE1039().
|
inlinevirtual |
Reimplemented in SQEvent_v1.
|
inlinevirtual |
Reimplemented in SQEvent_v1.
|
inlinevirtual |
Reimplemented in SQEvent_v1.
|
inlinevirtual |
Reimplemented in SQEvent_v1.
|
inlinevirtual |
Reimplemented in SQEvent_v1.
|
inlinevirtual |
Reimplemented in SQEvent_v1.
|
pure virtual |
Implemented in SQEvent_v2, and SQEvent_v1.
Referenced by Fun4AllEVIOInputManager::run().
|
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().
|
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().
|
pure virtual |
Implemented in SQEvent_v2, and SQEvent_v1.
Referenced by Fun4AllEVIOInputManager::run().
|
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().
|
inlinevirtual |
Reimplemented in SQEvent_v1.
|
pure virtual |
Implemented in SQEvent_v2, and SQEvent_v1.
Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), TruthNodeMaker::process_event(), PHG4SimpleEventGenerator::process_event(), Fun4AllHitMatrixInputManager::run(), Fun4AllTrackQAv1InputManager::run(), Fun4AllEVIOInputManager::run(), Fun4AllVectEventInputManager::VectToE1039(), and Fun4AllRUSInputManager::VectToE1039().
|
pure virtual |
Implemented in SQEvent_v2, and SQEvent_v1.
Referenced by Fun4AllSRawEventInputManager::E906ToE1039(), TruthNodeMaker::process_event(), PHG4SimpleEventGenerator::process_event(), Fun4AllHitMatrixInputManager::run(), Fun4AllTrackQAv1InputManager::run(), Fun4AllEVIOInputManager::run(), Fun4AllVectEventInputManager::VectToE1039(), and Fun4AllRUSInputManager::VectToE1039().
|
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().
|
pure virtual |
Implemented in SQEvent_v2, and SQEvent_v1.
|
inlinevirtual |
Reimplemented in SQEvent_v1.