QwAnalysis
|
#include <MQwV775TDC.h>
Public Member Functions | |
MQwV775TDC () | |
~MQwV775TDC () | |
void | DecodeTDCWord (UInt_t &word, const UInt_t roc_id=0) |
Bool_t | IsValidDataword () |
Bool_t | IsHeaderword () |
UInt_t | GetTDCSlotNumber () |
UInt_t | GetTDCChannelNumber () |
UInt_t | GetTDCData () |
UInt_t | GetTDCMaxChannels () |
UInt_t | GetTDCEventNumber () |
UInt_t | GetTDCTriggerTime () |
void | SetReferenceParameters (Double_t mindiff, Double_t maxdiff, Double_t offset, Double_t shift) |
Double_t | SubtractReference (Double_t rawtime, Double_t reftime) |
Bool_t | CheckDataIntegrity (const UInt_t roc_id, UInt_t *buffer, UInt_t num_words) |
void | PrintTDCHeader (Bool_t flag) |
void | PrintTDCData (Bool_t flag) |
Private Attributes | |
Bool_t | fV775ValidFlag |
Bool_t | fV775HeaderFlag |
UInt_t | fV775SlotNumber |
UInt_t | fV775ChannelNumber |
UInt_t | fV775Dataword |
UInt_t | fV775MaxChannelsPerModule |
UInt_t | fV775EventNumber |
Static Private Attributes | |
static const UInt_t | kV775Mask_SlotNumber = 0xf8000000 |
static const UInt_t | kV775Mask_WordType = 0x07000000 |
static const UInt_t | kV775Mask_CrateNumber = 0x00ff0000 |
static const UInt_t | kV775Mask_HitChannels = 0x00003f00 |
static const UInt_t | kV775Mask_EventCounter = 0x00ffffff |
static const UInt_t | kV775Mask_ChannelNumber = 0x001f0000 |
static const UInt_t | kV775Mask_DataValidBit = 0x00004000 |
static const UInt_t | kV775Mask_UnderthresholdBit = 0x00002000 |
static const UInt_t | kV775Mask_OverflowBit = 0x00001000 |
static const UInt_t | kV775Mask_Dataword = 0x00000fff |
static const UInt_t | kV775WordType_NotValid = 6 |
static const UInt_t | kV775WordType_Header = 2 |
static const UInt_t | kV775WordType_Tail = 4 |
static const UInt_t | kV775WordType_Datum = 0 |
Definition at line 19 of file MQwV775TDC.h.
MQwV775TDC::MQwV775TDC | ( | ) |
Definition at line 36 of file MQwV775TDC.cc.
References fV775ChannelNumber, fV775Dataword, fV775EventNumber, fV775HeaderFlag, fV775MaxChannelsPerModule, fV775SlotNumber, and fV775ValidFlag.
MQwV775TDC::~MQwV775TDC | ( | ) |
Definition at line 48 of file MQwV775TDC.cc.
Bool_t MQwV775TDC::CheckDataIntegrity | ( | const UInt_t | roc_id, |
UInt_t * | buffer, | ||
UInt_t | num_words | ||
) |
Definition at line 107 of file MQwV775TDC.cc.
void MQwV775TDC::DecodeTDCWord | ( | UInt_t & | word, |
const UInt_t | roc_id = 0 |
||
) |
Definition at line 53 of file MQwV775TDC.cc.
References fV775ChannelNumber, fV775Dataword, fV775EventNumber, fV775SlotNumber, fV775ValidFlag, kV775Mask_ChannelNumber, kV775Mask_Dataword, kV775Mask_SlotNumber, kV775Mask_WordType, and kV775WordType_Datum.
Referenced by QwRaster::ProcessEvBuffer(), QwTriggerScintillator::ProcessEvBuffer(), QwComptonPhotonDetector::ProcessEvBuffer(), QwMainDetector::ProcessEvBuffer(), and QwScanner::ProcessEvBuffer().
|
inline |
Definition at line 43 of file MQwV775TDC.h.
References fV775ChannelNumber.
Referenced by QwRaster::ProcessEvBuffer(), QwTriggerScintillator::ProcessEvBuffer(), QwComptonPhotonDetector::ProcessEvBuffer(), QwMainDetector::ProcessEvBuffer(), and QwScanner::ProcessEvBuffer().
|
inline |
Definition at line 44 of file MQwV775TDC.h.
References fV775Dataword.
Referenced by QwRaster::ProcessEvBuffer(), QwTriggerScintillator::ProcessEvBuffer(), QwComptonPhotonDetector::ProcessEvBuffer(), QwMainDetector::ProcessEvBuffer(), and QwScanner::ProcessEvBuffer().
|
inline |
|
inline |
|
inline |
Definition at line 42 of file MQwV775TDC.h.
References fV775SlotNumber.
Referenced by QwRaster::ProcessEvBuffer(), QwTriggerScintillator::ProcessEvBuffer(), QwMainDetector::ProcessEvBuffer(), and QwScanner::ProcessEvBuffer().
UInt_t MQwV775TDC::GetTDCTriggerTime | ( | ) |
Definition at line 94 of file MQwV775TDC.cc.
|
inline |
|
inline |
Definition at line 39 of file MQwV775TDC.h.
References fV775ValidFlag.
Referenced by QwRaster::ProcessEvBuffer(), QwTriggerScintillator::ProcessEvBuffer(), QwComptonPhotonDetector::ProcessEvBuffer(), QwMainDetector::ProcessEvBuffer(), and QwScanner::ProcessEvBuffer().
void MQwV775TDC::PrintTDCData | ( | Bool_t | flag | ) |
Definition at line 121 of file MQwV775TDC.cc.
References fV775ChannelNumber, fV775Dataword, and fV775SlotNumber.
void MQwV775TDC::PrintTDCHeader | ( | Bool_t | flag | ) |
Definition at line 115 of file MQwV775TDC.cc.
|
inline |
Definition at line 50 of file MQwV775TDC.h.
Double_t MQwV775TDC::SubtractReference | ( | Double_t | rawtime, |
Double_t | reftime | ||
) |
Definition at line 86 of file MQwV775TDC.cc.
|
private |
Definition at line 85 of file MQwV775TDC.h.
Referenced by DecodeTDCWord(), GetTDCChannelNumber(), MQwV775TDC(), and PrintTDCData().
|
private |
Definition at line 86 of file MQwV775TDC.h.
Referenced by DecodeTDCWord(), GetTDCData(), MQwV775TDC(), and PrintTDCData().
|
private |
Definition at line 88 of file MQwV775TDC.h.
Referenced by DecodeTDCWord(), GetTDCEventNumber(), and MQwV775TDC().
|
private |
Definition at line 82 of file MQwV775TDC.h.
Referenced by IsHeaderword(), and MQwV775TDC().
|
private |
Definition at line 87 of file MQwV775TDC.h.
Referenced by GetTDCMaxChannels(), and MQwV775TDC().
|
private |
Definition at line 84 of file MQwV775TDC.h.
Referenced by DecodeTDCWord(), GetTDCSlotNumber(), MQwV775TDC(), and PrintTDCData().
|
private |
Definition at line 81 of file MQwV775TDC.h.
Referenced by DecodeTDCWord(), IsValidDataword(), and MQwV775TDC().
|
staticprivate |
Definition at line 70 of file MQwV775TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 65 of file MQwV775TDC.h.
|
staticprivate |
Definition at line 71 of file MQwV775TDC.h.
|
staticprivate |
Definition at line 74 of file MQwV775TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 68 of file MQwV775TDC.h.
|
staticprivate |
Definition at line 66 of file MQwV775TDC.h.
|
staticprivate |
Definition at line 73 of file MQwV775TDC.h.
|
staticprivate |
Definition at line 62 of file MQwV775TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 72 of file MQwV775TDC.h.
|
staticprivate |
Definition at line 63 of file MQwV775TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 79 of file MQwV775TDC.h.
Referenced by DecodeTDCWord().
|
staticprivate |
Definition at line 77 of file MQwV775TDC.h.
|
staticprivate |
Definition at line 76 of file MQwV775TDC.h.
|
staticprivate |
Definition at line 78 of file MQwV775TDC.h.