QwAnalysis
|
#include <MQwF1TDC.h>
Public Member Functions | |
MQwF1TDC () | |
~MQwF1TDC () | |
void | DecodeTDCWord (UInt_t &word, const UInt_t roc_id) |
Bool_t | IsValidDataword () const |
const Bool_t & | IsHeaderword () const |
const UInt_t & | GetTDCSlotNumber () const |
const UInt_t & | GetTDCChannelNumber () const |
const UInt_t & | GetTDCChipAddress () const |
const UInt_t & | GetTDCChannelAddress () const |
const UInt_t & | GetTDCData () const |
const UInt_t & | GetTDCMaxChannels () const |
UInt_t | GetTDCEventNumber () const |
UInt_t | GetTDCTriggerTime () const |
void | SetTDCMaxChannels (const UInt_t in) |
void | PrintTDCHeader (Bool_t flag) |
void | PrintTDCData (Bool_t flag) |
void | Print (Bool_t flag) |
UInt_t | GetTDCHeaderEventNumber () const |
UInt_t | GetTDCHeaderTriggerTime () const |
Bool_t | IsValidDataSlot () const |
Bool_t | IsHeaderXorSetup () const |
Bool_t | IsNotHeaderTrigFIFO () const |
Bool_t | IsOverFlowEntry () const |
Bool_t | IsHitFIFOOverFlow () const |
Bool_t | IsOutputFIFOOverFlow () const |
Bool_t | IsResolutionLock () const |
Bool_t | IsFakeData () const |
Private Member Functions | |
void | PrintHitFIFOStatus (const UInt_t roc_id) |
void | PrintOutputFIFOStatus (const UInt_t roc_id) |
void | PrintResolutionLockStatus (const UInt_t roc_id) |
Private Attributes | |
UInt_t | fF1ROCNumber |
UInt_t | fF1SlotNumber |
Bool_t | fF1HeaderFlag |
Bool_t | fF1HitFIFOFlag |
Bool_t | fF1OutputFIFOFlag |
Bool_t | fF1ResolutionLockFlag |
Bool_t | fF1FakeDataFlag |
UInt_t | fF1ChannelNumber |
UInt_t | fF1ChipAddress |
UInt_t | fF1ChannelAddress |
UInt_t | fF1Dataword |
Bool_t | fF1HeaderTrigFIFOFlag |
UInt_t | fF1HeaderEventNumber |
UInt_t | fF1HeaderTriggerTime |
Bool_t | fF1HeaderXorSetupFlag |
UInt_t | fF1MaxChannelsPerModule |
Bool_t | fF1OverFlowEntryFlag |
Bool_t | fF1ValidDataSlotFlag |
Static Private Attributes | |
static const UInt_t | kF1Mask_SlotNumber = 0xf8000000 |
static const UInt_t | kF1Mask_ResolutionLockFlag = 0x04000000 |
static const UInt_t | kF1Mask_OutputFIFOFlag = 0x02000000 |
static const UInt_t | kF1Mask_HitFIFOFlag = 0x01000000 |
static const UInt_t | kF1Mask_HeaderFlag = 0x00800000 |
static const UInt_t | kF1Mask_FakeDataFlag = 0x00400000 |
static const UInt_t | kF1Mask_ChannelNumber = 0x003f0000 |
static const UInt_t | kF1Mask_ChipAddress = 0x00380000 |
static const UInt_t | kF1Mask_ChannelAddress = 0x00070000 |
static const UInt_t | kF1Mask_Dataword = 0x0000ffff |
static const UInt_t | kF1Mask_HeaderTrigFIFOFlag = 0x00400000 |
static const UInt_t | kF1Mask_HeaderEventNumber = 0x003f0000 |
static const UInt_t | kF1Mask_HeaderTriggerTime = 0x0000ff80 |
static const UInt_t | kF1Mask_HeaderXorSetupFlag = 0x00000040 |
static const UInt_t | kF1Mask_HeaderChannelNumber = 0x0000003f |
static const UInt_t | kF1Mask_HeaderChipAddress = 0x00000038 |
static const UInt_t | kF1Mask_HeaderChannelAddress = 0x00000007 |
Friends | |
std::ostream & | operator<< (std::ostream &os, const MQwF1TDC &f1tdc) |
Definition at line 22 of file MQwF1TDC.h.
MQwF1TDC::MQwF1TDC | ( | ) |
Definition at line 40 of file MQwF1TDC.cc.
References fF1ChannelNumber, fF1Dataword, fF1FakeDataFlag, fF1HeaderEventNumber, fF1HeaderFlag, fF1HeaderTrigFIFOFlag, fF1HeaderTriggerTime, fF1HeaderXorSetupFlag, fF1HitFIFOFlag, fF1MaxChannelsPerModule, fF1OutputFIFOFlag, fF1OverFlowEntryFlag, fF1ResolutionLockFlag, fF1ROCNumber, fF1SlotNumber, and fF1ValidDataSlotFlag.
MQwF1TDC::~MQwF1TDC | ( | ) |
Definition at line 81 of file MQwF1TDC.cc.
void MQwF1TDC::DecodeTDCWord | ( | UInt_t & | word, |
const UInt_t | roc_id | ||
) |
Definition at line 84 of file MQwF1TDC.cc.
References fF1ChannelAddress, fF1ChannelNumber, fF1ChipAddress, fF1Dataword, fF1FakeDataFlag, fF1HeaderEventNumber, fF1HeaderFlag, fF1HeaderTrigFIFOFlag, fF1HeaderTriggerTime, fF1HeaderXorSetupFlag, fF1HitFIFOFlag, fF1OutputFIFOFlag, fF1OverFlowEntryFlag, fF1ResolutionLockFlag, fF1ROCNumber, fF1SlotNumber, fF1ValidDataSlotFlag, kF1Mask_ChannelAddress, kF1Mask_ChannelNumber, kF1Mask_ChipAddress, kF1Mask_Dataword, kF1Mask_FakeDataFlag, kF1Mask_HeaderChannelAddress, kF1Mask_HeaderChannelNumber, kF1Mask_HeaderChipAddress, kF1Mask_HeaderEventNumber, kF1Mask_HeaderFlag, kF1Mask_HeaderTrigFIFOFlag, kF1Mask_HeaderTriggerTime, kF1Mask_HeaderXorSetupFlag, kF1Mask_HitFIFOFlag, kF1Mask_OutputFIFOFlag, kF1Mask_ResolutionLockFlag, and kF1Mask_SlotNumber.
Referenced by QwF1TDContainer::CheckDataIntegrity(), QwSciFiDetector::ProcessEvBuffer(), QwTriggerScintillator::ProcessEvBuffer(), QwDriftChamber::ProcessEvBuffer(), QwMainDetector::ProcessEvBuffer(), and QwScanner::ProcessEvBuffer().
|
inline |
Definition at line 47 of file MQwF1TDC.h.
References fF1ChannelAddress.
Referenced by QwF1TDContainer::CheckDataIntegrity().
|
inline |
Definition at line 45 of file MQwF1TDC.h.
References fF1ChannelNumber.
Referenced by QwF1TDContainer::CheckDataIntegrity(), PrintHitFIFOStatus(), PrintOutputFIFOStatus(), PrintResolutionLockStatus(), QwSciFiDetector::ProcessEvBuffer(), QwTriggerScintillator::ProcessEvBuffer(), QwDriftChamber::ProcessEvBuffer(), QwMainDetector::ProcessEvBuffer(), and QwScanner::ProcessEvBuffer().
|
inline |
Definition at line 46 of file MQwF1TDC.h.
References fF1ChipAddress.
Referenced by QwF1TDContainer::CheckDataIntegrity().
|
inline |
Definition at line 49 of file MQwF1TDC.h.
References fF1Dataword.
Referenced by QwSciFiDetector::ProcessEvBuffer(), QwTriggerScintillator::ProcessEvBuffer(), QwDriftChamber::ProcessEvBuffer(), QwMainDetector::ProcessEvBuffer(), and QwScanner::ProcessEvBuffer().
|
inline |
Definition at line 53 of file MQwF1TDC.h.
References GetTDCHeaderEventNumber().
Referenced by QwF1TDContainer::CheckDataIntegrity().
|
inline |
Definition at line 73 of file MQwF1TDC.h.
References fF1HeaderEventNumber.
Referenced by QwF1TDContainer::CheckDataIntegrity(), and GetTDCEventNumber().
|
inline |
Definition at line 74 of file MQwF1TDC.h.
References fF1HeaderTriggerTime.
Referenced by QwF1TDContainer::CheckDataIntegrity(), and GetTDCTriggerTime().
|
inline |
Definition at line 50 of file MQwF1TDC.h.
References fF1MaxChannelsPerModule.
Referenced by QwDriftChamber::QwDriftChamber(), QwMainDetector::QwMainDetector(), QwScanner::QwScanner(), QwSciFiDetector::QwSciFiDetector(), and QwTriggerScintillator::QwTriggerScintillator().
|
inline |
Definition at line 44 of file MQwF1TDC.h.
References fF1SlotNumber.
Referenced by QwF1TDContainer::CheckDataIntegrity(), PrintHitFIFOStatus(), PrintOutputFIFOStatus(), PrintResolutionLockStatus(), QwSciFiDetector::ProcessEvBuffer(), QwTriggerScintillator::ProcessEvBuffer(), QwDriftChamber::ProcessEvBuffer(), QwMainDetector::ProcessEvBuffer(), and QwScanner::ProcessEvBuffer().
|
inline |
Definition at line 54 of file MQwF1TDC.h.
References GetTDCHeaderTriggerTime().
Referenced by QwF1TDContainer::CheckDataIntegrity().
|
inline |
Definition at line 87 of file MQwF1TDC.h.
Referenced by QwF1TDContainer::CheckDataIntegrity().
|
inline |
Definition at line 42 of file MQwF1TDC.h.
References fF1HeaderFlag.
Referenced by QwF1TDContainer::CheckDataIntegrity().
|
inline |
Definition at line 79 of file MQwF1TDC.h.
References fF1HeaderXorSetupFlag.
Referenced by QwF1TDContainer::CheckDataIntegrity().
|
inline |
Definition at line 83 of file MQwF1TDC.h.
References fF1HitFIFOFlag.
Referenced by QwF1TDContainer::CheckDataIntegrity().
|
inline |
Definition at line 80 of file MQwF1TDC.h.
References fF1HeaderTrigFIFOFlag.
Referenced by QwF1TDContainer::CheckDataIntegrity().
|
inline |
Definition at line 84 of file MQwF1TDC.h.
References fF1OutputFIFOFlag.
Referenced by QwF1TDContainer::CheckDataIntegrity().
|
inline |
|
inline |
Definition at line 85 of file MQwF1TDC.h.
References fF1ResolutionLockFlag.
Referenced by QwF1TDContainer::CheckDataIntegrity().
|
inline |
Definition at line 77 of file MQwF1TDC.h.
References fF1ValidDataSlotFlag.
Referenced by QwF1TDContainer::CheckDataIntegrity().
Bool_t MQwF1TDC::IsValidDataword | ( | ) | const |
Definition at line 328 of file MQwF1TDC.cc.
References fF1FakeDataFlag, fF1HeaderFlag, fF1OverFlowEntryFlag, fF1ResolutionLockFlag, and fF1ValidDataSlotFlag.
Referenced by QwSciFiDetector::ProcessEvBuffer(), QwTriggerScintillator::ProcessEvBuffer(), QwDriftChamber::ProcessEvBuffer(), QwMainDetector::ProcessEvBuffer(), and QwScanner::ProcessEvBuffer().
void MQwF1TDC::Print | ( | Bool_t | flag | ) |
Definition at line 191 of file MQwF1TDC.cc.
|
private |
Definition at line 305 of file MQwF1TDC.cc.
References QwLog::endl(), fF1HitFIFOFlag, GetTDCChannelNumber(), GetTDCSlotNumber(), and QwWarning.
|
private |
Definition at line 317 of file MQwF1TDC.cc.
References QwLog::endl(), fF1OutputFIFOFlag, GetTDCChannelNumber(), GetTDCSlotNumber(), and QwWarning.
|
private |
Definition at line 293 of file MQwF1TDC.cc.
References QwLog::endl(), fF1ResolutionLockFlag, GetTDCChannelNumber(), GetTDCSlotNumber(), and QwWarning.
void MQwF1TDC::PrintTDCData | ( | Bool_t | flag | ) |
Definition at line 213 of file MQwF1TDC.cc.
void MQwF1TDC::PrintTDCHeader | ( | Bool_t | flag | ) |
Definition at line 202 of file MQwF1TDC.cc.
|
inline |
|
friend |
Definition at line 134 of file MQwF1TDC.cc.
|
private |
Definition at line 158 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), GetTDCChannelAddress(), and operator<<().
|
private |
Definition at line 156 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), GetTDCChannelNumber(), MQwF1TDC(), and operator<<().
|
private |
Definition at line 157 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), GetTDCChipAddress(), and operator<<().
|
private |
Definition at line 159 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), GetTDCData(), MQwF1TDC(), and operator<<().
|
private |
Definition at line 155 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), IsValidDataword(), MQwF1TDC(), and operator<<().
|
private |
Definition at line 164 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), GetTDCHeaderEventNumber(), MQwF1TDC(), and operator<<().
|
private |
Definition at line 148 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), IsHeaderword(), IsValidDataword(), MQwF1TDC(), and operator<<().
|
private |
Definition at line 163 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), IsNotHeaderTrigFIFO(), MQwF1TDC(), and operator<<().
|
private |
Definition at line 165 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), GetTDCHeaderTriggerTime(), MQwF1TDC(), and operator<<().
|
private |
Definition at line 166 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), IsHeaderXorSetup(), MQwF1TDC(), and operator<<().
|
private |
Definition at line 150 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), IsHitFIFOOverFlow(), MQwF1TDC(), operator<<(), and PrintHitFIFOStatus().
|
private |
Definition at line 169 of file MQwF1TDC.h.
Referenced by GetTDCMaxChannels(), MQwF1TDC(), and SetTDCMaxChannels().
|
private |
Definition at line 151 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), IsOutputFIFOOverFlow(), MQwF1TDC(), operator<<(), and PrintOutputFIFOStatus().
|
private |
Definition at line 170 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), IsOverFlowEntry(), IsValidDataword(), and MQwF1TDC().
|
private |
Definition at line 152 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), IsResolutionLock(), IsValidDataword(), MQwF1TDC(), operator<<(), and PrintResolutionLockStatus().
|
private |
Definition at line 145 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), MQwF1TDC(), and operator<<().
|
private |
Definition at line 146 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), GetTDCSlotNumber(), MQwF1TDC(), and operator<<().
|
private |
Definition at line 171 of file MQwF1TDC.h.
Referenced by DecodeTDCWord(), IsValidDataSlot(), IsValidDataword(), and MQwF1TDC().
|
staticprivate |
Definition at line 118 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 116 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 117 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 121 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 112 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 141 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 139 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 140 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 129 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 101 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 126 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 132 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 135 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 98 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 97 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 96 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 87 of file MQwF1TDC.h.
Referenced by DecodeTDCWord().