Description of trigger data for one Telescope. More...
#include "fevt/SLTData.h"
Public Member Functions | |
| int | GetRowMask (unsigned int col) const |
| int | GetSize () const |
| int | GetSLTDataWord (unsigned int col) const |
| int | GetSLTPattern (unsigned int col) const |
| bool | HasParityError (unsigned int col) const |
| bool | HasPixel (const unsigned int id) const |
| bool | HasPixel (unsigned int col, const unsigned int row) const |
| bool | HasSpare (unsigned int col) const |
| bool | HasTrigger (unsigned int col) const |
| void | SetColumn (unsigned int col, const int row, const int pattern, const bool pe, const bool trigger, const bool spare) |
| void | SetParityError (unsigned int col, const bool bit) |
| void | SetRowMask (unsigned int col, const int mask) |
| void | SetSLTDataWord (unsigned int col, const unsigned int sltDataWord) |
| void | SetSLTPattern (unsigned int col, const int pattern) |
| void | SetSpare (unsigned int col, const bool bit) |
| void | SetTrigger (unsigned int col, const bool bit) |
| SLTData (const std::vector< unsigned int > &sltDataWord) | |
| SLTData (const int size) | |
| SLTData () | |
Private Member Functions | |
| void | CheckBounds (unsigned int col) const |
Private Attributes | |
| unsigned int | fColSize |
| std::vector< bool > | fParityErrorBit |
| std::vector< int > | fRowMask |
| std::vector< int > | fSLTPattern |
| std::vector< bool > | fSpare |
| std::vector< bool > | fTrigger |
Friends | |
| class | fevt::TelescopTriggerData |
| class | utl::ShadowPtr< SLTData > |
Description of trigger data for one Telescope.
This class describes the data of the SLT and multiplicity
| SLTData::SLTData | ( | const std::vector< unsigned int > & | sltDataWord | ) |
Definition at line 13 of file SLTData.cc.
References fColSize, and SetSLTDataWord().
| SLTData::SLTData | ( | const int | size | ) |
Definition at line 27 of file SLTData.cc.
References fColSize, fParityErrorBit, fRowMask, fSLTPattern, fSpare, and fTrigger.
| SLTData::SLTData | ( | ) |
Definition at line 21 of file SLTData.cc.
|
private |
Definition at line 176 of file SLTData.cc.
References ERROR, and fColSize.
Referenced by GetRowMask(), GetSLTDataWord(), GetSLTPattern(), HasParityError(), HasPixel(), HasSpare(), HasTrigger(), SetColumn(), SetParityError(), SetRowMask(), SetSLTDataWord(), SetSLTPattern(), SetSpare(), and SetTrigger().
|
inline |
Definition at line 45 of file SLTData.h.
References CheckBounds(), and fRowMask.
|
inline |
| int SLTData::GetSLTDataWord | ( | unsigned int | col | ) | const |
Definition at line 54 of file SLTData.cc.
References CheckBounds(), fParityErrorBit, fRowMask, fSLTPattern, fSpare, and fTrigger.
|
inline |
Definition at line 44 of file SLTData.h.
References CheckBounds(), and fSLTPattern.
|
inline |
Definition at line 48 of file SLTData.h.
References CheckBounds(), and fParityErrorBit.
| bool SLTData::HasPixel | ( | const unsigned int | id | ) | const |
Definition at line 92 of file SLTData.cc.
| bool SLTData::HasPixel | ( | unsigned int | col, |
| const unsigned int | row | ||
| ) | const |
Definition at line 69 of file SLTData.cc.
References CheckBounds(), and fRowMask.
|
inline |
Definition at line 50 of file SLTData.h.
References CheckBounds(), and fSpare.
|
inline |
Definition at line 49 of file SLTData.h.
References CheckBounds(), and fTrigger.
| void SLTData::SetColumn | ( | unsigned int | col, |
| const int | row, | ||
| const int | pattern, | ||
| const bool | pe, | ||
| const bool | trigger, | ||
| const bool | spare | ||
| ) |
Definition at line 39 of file SLTData.cc.
References CheckBounds(), fParityErrorBit, fRowMask, fSLTPattern, fSpare, and fTrigger.
| void SLTData::SetParityError | ( | unsigned int | col, |
| const bool | bit | ||
| ) |
Definition at line 146 of file SLTData.cc.
References CheckBounds(), and fParityErrorBit.
Referenced by io::SLTData_ROOT::operator>>().
| void SLTData::SetRowMask | ( | unsigned int | col, |
| const int | mask | ||
| ) |
Definition at line 126 of file SLTData.cc.
References CheckBounds(), and fRowMask.
Referenced by io::SLTData_ROOT::operator>>(), and FdTriggerSimulatorOG::FdTriggerSimulator::T2Trigger().
| void SLTData::SetSLTDataWord | ( | unsigned int | col, |
| const unsigned int | sltDataWord | ||
| ) |
Definition at line 102 of file SLTData.cc.
References CheckBounds(), fParityErrorBit, fRowMask, fSLTPattern, fSpare, and fTrigger.
Referenced by FdCalibratorOG::FdCalibrator::FillTriggerData(), FdTriggerSimulatorOG::FdTriggerSimulator::MakeMirrorEvent(), io::SLTData_ROOT::operator>>(), and SLTData().
| void SLTData::SetSLTPattern | ( | unsigned int | col, |
| const int | pattern | ||
| ) |
Definition at line 116 of file SLTData.cc.
References CheckBounds(), and fSLTPattern.
| void SLTData::SetSpare | ( | unsigned int | col, |
| const bool | bit | ||
| ) |
Definition at line 166 of file SLTData.cc.
References CheckBounds(), and fSpare.
Referenced by io::SLTData_ROOT::operator>>().
| void SLTData::SetTrigger | ( | unsigned int | col, |
| const bool | bit | ||
| ) |
Definition at line 156 of file SLTData.cc.
References CheckBounds(), and fTrigger.
Referenced by io::SLTData_ROOT::operator>>().
|
friend |
|
mutableprivate |
Definition at line 76 of file SLTData.h.
Referenced by CheckBounds(), GetSize(), and SLTData().
|
private |
Definition at line 71 of file SLTData.h.
Referenced by GetSLTDataWord(), HasParityError(), SetColumn(), SetParityError(), SetSLTDataWord(), and SLTData().
|
private |
Definition at line 67 of file SLTData.h.
Referenced by GetRowMask(), GetSLTDataWord(), HasPixel(), SetColumn(), SetRowMask(), SetSLTDataWord(), and SLTData().
|
private |
Definition at line 69 of file SLTData.h.
Referenced by GetSLTDataWord(), GetSLTPattern(), SetColumn(), SetSLTDataWord(), SetSLTPattern(), and SLTData().
|
private |
Definition at line 73 of file SLTData.h.
Referenced by GetSLTDataWord(), HasSpare(), SetColumn(), SetSLTDataWord(), SetSpare(), and SLTData().
|
private |
Definition at line 72 of file SLTData.h.
Referenced by GetSLTDataWord(), HasTrigger(), SetColumn(), SetSLTDataWord(), SetTrigger(), and SLTData().