JAPAn
Just Another Parity Analyzer
Loading...
Searching...
No Matches
QwWord Class Reference

Word-level data manipulation and bit operations. More...

#include <QwWord.h>

Public Member Functions

Double_t GetValue () const
 
Double_t GetValue (size_t element) const
 
TString GetModType () const
 
void PrintID () const
 
void Print () const
 
void ClearEventData ()
 
TString GetWordName () const
 

Data Fields

Int_t fSubbankIndex {-1}
 
Int_t fWordInSubbank {-1}
 
TString fModuleType {""}
 
TString fWordName {""}
 
TString fWordType {""}
 
Int_t fValue {-1}
 

Detailed Description

Word-level data manipulation and bit operations.

Provides low-level word manipulation capabilities for decoding and processing raw data words from various detector modules. Handles bit extraction, word identification, and basic value access.

Definition at line 30 of file QwWord.h.

Member Function Documentation

◆ ClearEventData()

void QwWord::ClearEventData ( )
inline

Definition at line 57 of file QwWord.h.

57 {
58 fValue = -1;
59 }
Int_t fValue
Definition QwWord.h:38

References fValue.

◆ GetModType()

TString QwWord::GetModType ( ) const
inline

Definition at line 42 of file QwWord.h.

42{return fModuleType;};
TString fModuleType
Definition QwWord.h:35

References fModuleType.

◆ GetValue() [1/2]

Double_t QwWord::GetValue ( ) const
inline

Definition at line 40 of file QwWord.h.

40{return this->GetValue(0);};
Double_t GetValue() const
Definition QwWord.h:40

References GetValue().

Referenced by GetValue().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ GetValue() [2/2]

Double_t QwWord::GetValue ( size_t element) const
inline

Definition at line 41 of file QwWord.h.

41{ return fValue; };

References fValue.

◆ GetWordName()

TString QwWord::GetWordName ( ) const
inline

Definition at line 61 of file QwWord.h.

61{ return fWordName; };
TString fWordName
Definition QwWord.h:36

References fWordName.

◆ Print()

void QwWord::Print ( ) const
inline

Definition at line 53 of file QwWord.h.

53 {
54 QwOut << fWordName<<" :: " << fValue << QwLog::endl;
55 }
#define QwOut
Predefined log drain for explicit output.
Definition QwLog.h:34
static std::ostream & endl(std::ostream &)
End of the line.
Definition QwLog.cc:297

References QwLog::endl(), fValue, fWordName, and QwOut.

+ Here is the call graph for this function:

◆ PrintID()

void QwWord::PrintID ( ) const
inline

Definition at line 48 of file QwWord.h.

48 {
49 QwOut << fWordName << " :: " << fSubbankIndex << " ; "
50 << fModuleType << " ; " << fWordType << QwLog::endl;
51 }
Int_t fSubbankIndex
Definition QwWord.h:33
TString fWordType
Definition QwWord.h:37

References QwLog::endl(), fModuleType, fSubbankIndex, fWordName, fWordType, and QwOut.

+ Here is the call graph for this function:

Field Documentation

◆ fModuleType

TString QwWord::fModuleType {""}

◆ fSubbankIndex

Int_t QwWord::fSubbankIndex {-1}

◆ fValue

Int_t QwWord::fValue {-1}

Definition at line 38 of file QwWord.h.

38{-1};

Referenced by ClearEventData(), GetValue(), and Print().

◆ fWordInSubbank

Int_t QwWord::fWordInSubbank {-1}

◆ fWordName

TString QwWord::fWordName {""}

◆ fWordType

TString QwWord::fWordType {""}

Definition at line 37 of file QwWord.h.

37{""};

Referenced by QwHelicity::LoadChannelMap(), QwHelicityBase::LoadChannelMap(), and PrintID().


The documentation for this class was generated from the following file: