#include <TGet4HitUnpacked.h>
Public Member Functions | |
TGet4HitUnpacked (void) | |
TGet4HitUnpacked & | operator= (const TGet4HitUnpacked &) |
void | SetMessage (roc::Message &, UInt_t, UInt_t) |
void | ClearHit (void) |
Bool_t | Complete (void) const |
Double_t | GetTOT (void) const |
Int_t | GetRawTOT (void) const |
Double_t | Spacing (const TGet4HitUnpacked &) const |
Int_t | CyclesDiff (const TGet4HitUnpacked &) const |
Int_t | EpochsDiff (const TGet4HitUnpacked &) const |
UChar_t | GetGet4Index () const |
UChar_t | GetChannel () const |
UInt_t | GetFullChan () const |
UInt_t | GetEpochCycleLeading () const |
UInt_t | GetEpochLeading () const |
UInt_t | GetTsLeading () const |
UInt_t | GetEpochCycleTrailing () const |
UInt_t | GetEpochTrailing () const |
UInt_t | GetTsTrailing () const |
void | SetGet4Index (UChar_t) |
void | SetChannel (UChar_t) |
void | SetFullChan (UInt_t) |
void | SetEpochLeading (UInt_t, UInt_t) |
void | SetTsLeading (UInt_t) |
Bool_t | IsLeadingSet () const |
Bool_t | IsTrailingSet () const |
Int_t | EpochEdgesDiff () |
bool | operator< (const TGet4HitUnpacked &rhs) const |
TGet4HitUnpacked (void) | |
TGet4HitUnpacked & | operator= (const TGet4HitUnpacked &) |
void | SetMessage (roc::Message &, ULong64_t, UInt_t) |
void | ClearHit (void) |
Bool_t | Complete (void) const |
Double_t | GetTOT (void) const |
Long64_t | GetRawTOT (void) const |
Double_t | Spacing (const TGet4HitUnpacked &) const |
Int_t | CyclesDiff (const TGet4HitUnpacked &) const |
Int_t | EpochsDiff (const TGet4HitUnpacked &) const |
UChar_t | GetGet4Index () const |
UChar_t | GetChannel () const |
UInt_t | GetFullChan () const |
UInt_t | GetEpochCycleLeading () const |
ULong64_t | GetEpochLeading () const |
UInt_t | GetTsLeading () const |
UInt_t | GetEpochCycleTrailing () const |
ULong64_t | GetEpochTrailing () const |
UInt_t | GetTsTrailing () const |
ULong64_t | GetFullTime () const |
ULong64_t | GetFullTimeSeconds () const |
void | SetGet4Index (UChar_t) |
void | SetChannel (UChar_t) |
void | SetFullChan (UInt_t) |
void | SetEpochLeading (ULong64_t, UInt_t) |
void | SetTsLeading (UInt_t) |
Bool_t | IsLeadingSet () const |
Bool_t | IsTrailingSet () const |
Long64_t | EpochEdgesDiff () |
bool | operator< (const TGet4HitUnpacked &rhs) const |
Protected Attributes | |
UChar_t | uc_get4 |
UChar_t | uc_channel |
UInt_t | u_EpochCycleLeading |
UInt_t | u_EpochNoLeadingEdge |
UInt_t | u_TsLeadingEdge |
UInt_t | u_EpochCycleTrailing |
UInt_t | u_EpochNoTrailingEdge |
UInt_t | u_TsTrailingEdge |
Bool_t | m_bLeadingEdgeSet |
Bool_t | m_bTrailingEdgeSet |
ULong64_t | u_EpochNoLeadingEdge |
ULong64_t | u_EpochNoTrailingEdge |
Private Member Functions | |
ClassDef (TGet4HitUnpacked, 1) | |
ClassDef (TGet4HitUnpacked, 1) |
Definition at line 72 of file TGet4HitUnpacked.h.
TGet4HitUnpacked::TGet4HitUnpacked | ( | void | ) |
Definition at line 3 of file TGet4HitUnpacked.cxx.
References m_bLeadingEdgeSet, m_bTrailingEdgeSet, u_EpochCycleLeading, u_EpochCycleTrailing, u_EpochNoLeadingEdge, u_EpochNoTrailingEdge, u_TsLeadingEdge, u_TsTrailingEdge, uc_channel, and uc_get4.
TGet4HitUnpacked::TGet4HitUnpacked | ( | void | ) |
TGet4HitUnpacked::ClassDef | ( | TGet4HitUnpacked | , | |
1 | ||||
) | [private] |
TGet4HitUnpacked::ClassDef | ( | TGet4HitUnpacked | , | |
1 | ||||
) | [private] |
void TGet4HitUnpacked::ClearHit | ( | void | ) |
Definition at line 51 of file TGet4HitUnpacked.cxx.
References m_bLeadingEdgeSet, m_bTrailingEdgeSet, u_EpochCycleLeading, u_EpochCycleTrailing, u_EpochNoLeadingEdge, u_EpochNoTrailingEdge, u_TsLeadingEdge, u_TsTrailingEdge, uc_channel, and uc_get4.
Referenced by TRPCProc::BuildHits(), TRPCProc::TimeOrderBlock(), and TRPCProc::TRPCProc().
void TGet4HitUnpacked::ClearHit | ( | void | ) |
Bool_t TGet4HitUnpacked::Complete | ( | void | ) | const |
Bool_t TGet4HitUnpacked::Complete | ( | void | ) | const |
Definition at line 165 of file TGet4HitUnpacked.cxx.
References m_bLeadingEdgeSet, and m_bTrailingEdgeSet.
Referenced by EpochEdgesDiff(), GetRawTOT(), GetTOT(), Spacing(), and TRPCProc::TimeOrderBlock().
Int_t TGet4HitUnpacked::CyclesDiff | ( | const TGet4HitUnpacked & | hitFollowing | ) | const |
Definition at line 267 of file TGet4HitUnpacked.cxx.
References u_EpochCycleLeading.
Int_t TGet4HitUnpacked::CyclesDiff | ( | const TGet4HitUnpacked & | ) | const |
Long64_t TGet4HitUnpacked::EpochEdgesDiff | ( | ) |
Definition at line 353 of file TGet4HitUnpacked.cxx.
References Complete(), CYCLE_IN_EPOCHS, u_EpochCycleLeading, u_EpochCycleTrailing, u_EpochNoLeadingEdge, and u_EpochNoTrailingEdge.
Long64_t TGet4HitUnpacked::EpochEdgesDiff | ( | ) |
Int_t TGet4HitUnpacked::EpochsDiff | ( | const TGet4HitUnpacked & | ) | const |
Int_t TGet4HitUnpacked::EpochsDiff | ( | const TGet4HitUnpacked & | hitFollowing | ) | const |
Definition at line 271 of file TGet4HitUnpacked.cxx.
References u_EpochNoLeadingEdge.
UChar_t TGet4HitUnpacked::GetChannel | ( | ) | const |
UChar_t TGet4HitUnpacked::GetChannel | ( | ) | const |
Definition at line 280 of file TGet4HitUnpacked.cxx.
References uc_channel.
Referenced by operator=(), and TRPCProc::TimeOrderBlock().
UInt_t TGet4HitUnpacked::GetEpochCycleLeading | ( | ) | const |
UInt_t TGet4HitUnpacked::GetEpochCycleLeading | ( | ) | const |
Definition at line 288 of file TGet4HitUnpacked.cxx.
References u_EpochCycleLeading.
Referenced by operator<(), operator=(), and TRPCProc::TimeOrderBlock().
UInt_t TGet4HitUnpacked::GetEpochCycleTrailing | ( | ) | const |
Definition at line 300 of file TGet4HitUnpacked.cxx.
References u_EpochCycleTrailing.
Referenced by operator=().
UInt_t TGet4HitUnpacked::GetEpochCycleTrailing | ( | ) | const |
ULong64_t TGet4HitUnpacked::GetEpochLeading | ( | ) | const |
ULong64_t TGet4HitUnpacked::GetEpochLeading | ( | ) | const |
Definition at line 292 of file TGet4HitUnpacked.cxx.
References u_EpochNoLeadingEdge.
Referenced by TRootConverterProc::FillHitsFromRoc(), operator<(), operator=(), and TRPCProc::TimeOrderBlock().
ULong64_t TGet4HitUnpacked::GetEpochTrailing | ( | ) | const |
Definition at line 304 of file TGet4HitUnpacked.cxx.
References u_EpochNoTrailingEdge.
Referenced by operator=().
ULong64_t TGet4HitUnpacked::GetEpochTrailing | ( | ) | const |
UInt_t TGet4HitUnpacked::GetFullChan | ( | ) | const |
UInt_t TGet4HitUnpacked::GetFullChan | ( | ) | const |
Definition at line 284 of file TGet4HitUnpacked.cxx.
References uc_channel, and uc_get4.
Referenced by TRootConverterProc::FillHitsFromRoc(), and TRPCProc::TimeOrderBlock().
ULong64_t TGet4HitUnpacked::GetFullTime | ( | ) | const |
Definition at line 317 of file TGet4HitUnpacked.cxx.
ULong64_t TGet4HitUnpacked::GetFullTimeSeconds | ( | ) | const |
Definition at line 321 of file TGet4HitUnpacked.cxx.
UChar_t TGet4HitUnpacked::GetGet4Index | ( | ) | const |
UChar_t TGet4HitUnpacked::GetGet4Index | ( | ) | const |
Definition at line 276 of file TGet4HitUnpacked.cxx.
References uc_get4.
Referenced by operator=(), and TRPCProc::TimeOrderBlock().
Long64_t TGet4HitUnpacked::GetRawTOT | ( | void | ) | const |
Long64_t TGet4HitUnpacked::GetRawTOT | ( | void | ) | const |
Definition at line 205 of file TGet4HitUnpacked.cxx.
References Complete(), CYCLE_IN_EPOCHS, EPOCH_IN_BINS, u_EpochCycleLeading, u_EpochCycleTrailing, u_EpochNoLeadingEdge, u_EpochNoTrailingEdge, u_TsLeadingEdge, and u_TsTrailingEdge.
Referenced by TRootConverterProc::FillHitsFromRoc(), and TRPCProc::TimeOrderBlock().
Double_t TGet4HitUnpacked::GetTOT | ( | void | ) | const |
Double_t TGet4HitUnpacked::GetTOT | ( | void | ) | const |
Definition at line 172 of file TGet4HitUnpacked.cxx.
References BIN_SIZE_IN_NS, Complete(), CYCLE_IN_EPOCHS, EPOCH_IN_NS, u_EpochCycleLeading, u_EpochCycleTrailing, u_EpochNoLeadingEdge, u_EpochNoTrailingEdge, u_TsLeadingEdge, and u_TsTrailingEdge.
Referenced by SetMessage().
UInt_t TGet4HitUnpacked::GetTsLeading | ( | ) | const |
Definition at line 296 of file TGet4HitUnpacked.cxx.
References u_TsLeadingEdge.
Referenced by TRootConverterProc::FillHitsFromRoc(), operator=(), and TRPCProc::TimeOrderBlock().
UInt_t TGet4HitUnpacked::GetTsLeading | ( | ) | const |
UInt_t TGet4HitUnpacked::GetTsTrailing | ( | ) | const |
Definition at line 308 of file TGet4HitUnpacked.cxx.
References u_TsTrailingEdge.
Referenced by operator=().
UInt_t TGet4HitUnpacked::GetTsTrailing | ( | ) | const |
Bool_t TGet4HitUnpacked::IsLeadingSet | ( | ) | const |
Bool_t TGet4HitUnpacked::IsLeadingSet | ( | ) | const |
Definition at line 312 of file TGet4HitUnpacked.cxx.
References m_bLeadingEdgeSet.
Referenced by operator=().
Bool_t TGet4HitUnpacked::IsTrailingSet | ( | ) | const |
Definition at line 316 of file TGet4HitUnpacked.cxx.
References m_bTrailingEdgeSet.
Bool_t TGet4HitUnpacked::IsTrailingSet | ( | ) | const |
bool TGet4HitUnpacked::operator< | ( | const TGet4HitUnpacked & | rhs | ) | const |
Definition at line 373 of file TGet4HitUnpacked.cxx.
References GetEpochCycleLeading(), GetEpochLeading(), and Spacing().
bool TGet4HitUnpacked::operator< | ( | const TGet4HitUnpacked & | rhs | ) | const |
TGet4HitUnpacked & TGet4HitUnpacked::operator= | ( | const TGet4HitUnpacked & | hitOriginal | ) |
Definition at line 23 of file TGet4HitUnpacked.cxx.
References GetChannel(), GetEpochCycleLeading(), GetEpochCycleTrailing(), GetEpochLeading(), GetEpochTrailing(), GetGet4Index(), GetTsLeading(), GetTsTrailing(), IsLeadingSet(), m_bLeadingEdgeSet, m_bTrailingEdgeSet, u_EpochCycleLeading, u_EpochCycleTrailing, u_EpochNoLeadingEdge, u_EpochNoTrailingEdge, u_TsLeadingEdge, u_TsTrailingEdge, uc_channel, and uc_get4.
TGet4HitUnpacked& TGet4HitUnpacked::operator= | ( | const TGet4HitUnpacked & | ) |
void TGet4HitUnpacked::SetChannel | ( | UChar_t | channelIn | ) |
Definition at line 327 of file TGet4HitUnpacked.cxx.
References uc_channel.
void TGet4HitUnpacked::SetChannel | ( | UChar_t | ) |
void TGet4HitUnpacked::SetEpochLeading | ( | ULong64_t | epochLeadingEdgeIn, | |
UInt_t | epochCycleIn | |||
) |
Definition at line 353 of file TGet4HitUnpacked.cxx.
References m_bLeadingEdgeSet, and m_bTrailingEdgeSet.
void TGet4HitUnpacked::SetEpochLeading | ( | UInt_t | epochLeadingEdgeIn, | |
UInt_t | epochCycleIn | |||
) |
Definition at line 339 of file TGet4HitUnpacked.cxx.
References m_bLeadingEdgeSet, m_bTrailingEdgeSet, u_EpochCycleLeading, and u_EpochNoLeadingEdge.
Referenced by TRPCProc::BuildHits().
void TGet4HitUnpacked::SetFullChan | ( | UInt_t | ) |
void TGet4HitUnpacked::SetFullChan | ( | UInt_t | fullChanIn | ) |
Definition at line 332 of file TGet4HitUnpacked.cxx.
References uc_channel, and uc_get4.
Referenced by TRPCProc::BuildHits().
void TGet4HitUnpacked::SetGet4Index | ( | UChar_t | ) |
void TGet4HitUnpacked::SetGet4Index | ( | UChar_t | get4_indexIn | ) |
Definition at line 322 of file TGet4HitUnpacked.cxx.
References uc_get4.
void TGet4HitUnpacked::SetMessage | ( | roc::Message & | msgNewEdge, | |
UInt_t | uEpoch, | |||
UInt_t | epochCycleRaw | |||
) |
Definition at line 75 of file TGet4HitUnpacked.cxx.
References roc::Message::getGet4ChNum(), roc::Message::getGet4Edge(), roc::Message::getGet4Number(), roc::Message::getGet4Ts(), roc::Message::getMessageType(), GetTOT(), m_bLeadingEdgeSet, m_bTrailingEdgeSet, TIME_GATE, u_EpochCycleLeading, u_EpochCycleTrailing, u_EpochNoLeadingEdge, u_EpochNoTrailingEdge, u_TsLeadingEdge, u_TsTrailingEdge, uc_channel, and uc_get4.
void TGet4HitUnpacked::SetMessage | ( | roc::Message & | msgNewEdge, | |
ULong64_t | uEpoch, | |||
UInt_t | epochCycleRaw | |||
) |
Definition at line 75 of file TGet4HitUnpacked.cxx.
References roc::Message::getGet4ChNum(), roc::Message::getGet4Edge(), roc::Message::getGet4Number(), roc::Message::getGet4Ts(), roc::Message::getMessageType(), GetTOT(), m_bLeadingEdgeSet, m_bTrailingEdgeSet, TIME_GATE, u_EpochCycleLeading, u_EpochCycleTrailing, u_EpochNoLeadingEdge, u_EpochNoTrailingEdge, u_TsLeadingEdge, u_TsTrailingEdge, uc_channel, and uc_get4.
void TGet4HitUnpacked::SetTsLeading | ( | UInt_t | tsLeadingIn | ) |
Definition at line 347 of file TGet4HitUnpacked.cxx.
References u_TsLeadingEdge.
Referenced by TRPCProc::BuildHits().
void TGet4HitUnpacked::SetTsLeading | ( | UInt_t | ) |
Double_t TGet4HitUnpacked::Spacing | ( | const TGet4HitUnpacked & | hitFollowing | ) | const |
Definition at line 239 of file TGet4HitUnpacked.cxx.
References BIN_SIZE_IN_NS, Complete(), CYCLE_IN_EPOCHS, EPOCH_IN_NS, u_EpochCycleLeading, u_EpochNoLeadingEdge, and u_TsLeadingEdge.
Referenced by operator<(), and TRPCProc::TimeOrderBlock().
Double_t TGet4HitUnpacked::Spacing | ( | const TGet4HitUnpacked & | ) | const |
Bool_t TGet4HitUnpacked::m_bLeadingEdgeSet [protected] |
Definition at line 87 of file TGet4HitUnpacked.h.
Referenced by ClearHit(), Complete(), IsLeadingSet(), operator=(), SetEpochLeading(), SetMessage(), and TGet4HitUnpacked().
Bool_t TGet4HitUnpacked::m_bTrailingEdgeSet [protected] |
Definition at line 88 of file TGet4HitUnpacked.h.
Referenced by ClearHit(), Complete(), IsTrailingSet(), operator=(), SetEpochLeading(), SetMessage(), and TGet4HitUnpacked().
UInt_t TGet4HitUnpacked::u_EpochCycleLeading [protected] |
Definition at line 80 of file TGet4HitUnpacked.h.
Referenced by ClearHit(), CyclesDiff(), EpochEdgesDiff(), GetEpochCycleLeading(), GetRawTOT(), GetTOT(), operator=(), SetEpochLeading(), SetMessage(), Spacing(), and TGet4HitUnpacked().
UInt_t TGet4HitUnpacked::u_EpochCycleTrailing [protected] |
Definition at line 83 of file TGet4HitUnpacked.h.
Referenced by ClearHit(), EpochEdgesDiff(), GetEpochCycleTrailing(), GetRawTOT(), GetTOT(), operator=(), SetMessage(), and TGet4HitUnpacked().
UInt_t TGet4HitUnpacked::u_EpochNoLeadingEdge [protected] |
Definition at line 81 of file TGet4HitUnpacked.h.
Referenced by ClearHit(), EpochEdgesDiff(), EpochsDiff(), GetEpochLeading(), GetRawTOT(), GetTOT(), operator=(), SetEpochLeading(), SetMessage(), Spacing(), and TGet4HitUnpacked().
ULong64_t TGet4HitUnpacked::u_EpochNoLeadingEdge [protected] |
Definition at line 81 of file TGet4HitUnpacked.h.
UInt_t TGet4HitUnpacked::u_EpochNoTrailingEdge [protected] |
Definition at line 84 of file TGet4HitUnpacked.h.
Referenced by ClearHit(), EpochEdgesDiff(), GetEpochTrailing(), GetRawTOT(), GetTOT(), operator=(), SetMessage(), and TGet4HitUnpacked().
ULong64_t TGet4HitUnpacked::u_EpochNoTrailingEdge [protected] |
Definition at line 84 of file TGet4HitUnpacked.h.
UInt_t TGet4HitUnpacked::u_TsLeadingEdge [protected] |
Definition at line 82 of file TGet4HitUnpacked.h.
Referenced by ClearHit(), GetRawTOT(), GetTOT(), GetTsLeading(), operator=(), SetMessage(), SetTsLeading(), Spacing(), and TGet4HitUnpacked().
UInt_t TGet4HitUnpacked::u_TsTrailingEdge [protected] |
Definition at line 85 of file TGet4HitUnpacked.h.
Referenced by ClearHit(), GetRawTOT(), GetTOT(), GetTsTrailing(), operator=(), SetMessage(), and TGet4HitUnpacked().
UChar_t TGet4HitUnpacked::uc_channel [protected] |
Definition at line 78 of file TGet4HitUnpacked.h.
Referenced by ClearHit(), GetChannel(), GetFullChan(), operator=(), SetChannel(), SetFullChan(), SetMessage(), and TGet4HitUnpacked().
UChar_t TGet4HitUnpacked::uc_get4 [protected] |
Definition at line 77 of file TGet4HitUnpacked.h.
Referenced by ClearHit(), GetFullChan(), GetGet4Index(), operator=(), SetFullChan(), SetGet4Index(), SetMessage(), and TGet4HitUnpacked().