AliRoot Core  a565103 (a565103)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONLocalStruct Class Reference

Rawdata local card structure for trigger. More...

#include <AliMUONLocalStruct.h>

Inheritance diagram for AliMUONLocalStruct:

Public Member Functions

 AliMUONLocalStruct ()
 
 AliMUONLocalStruct (const AliMUONLocalStruct &event)
 
AliMUONLocalStructoperator= (const AliMUONLocalStruct &event)
 
virtual ~AliMUONLocalStruct ()
 
UInt_t GetData (Int_t n) const
 Return local data. More...
 
UShort_t GetX2 () const
 Return X2. More...
 
UShort_t GetX1 () const
 Return X1. More...
 
UShort_t GetX4 () const
 Return X4. More...
 
UShort_t GetX3 () const
 Return X3. More...
 
void GetXPattern (TArrayS &array) const
 return X pattern array More...
 
void GetYPattern (TArrayS &array) const
 return Y pattern array More...
 
UShort_t GetY2 () const
 Return Y2. More...
 
UShort_t GetY1 () const
 Return Y1. More...
 
UShort_t GetY4 () const
 Return Y4. More...
 
UShort_t GetY3 () const
 Return Y3. More...
 
UChar_t GetId () const
 Return Id. More...
 
UChar_t GetDec () const
 Return Dec. More...
 
Bool_t GetTrigY () const
 Return TrigY. More...
 
Bool_t GetTriggerY () const
 Return TriggerY. More...
 
UChar_t GetYPos () const
 Return Upos. More...
 
UChar_t GetSXDev () const
 Get Sign of X deviation. More...
 
UChar_t GetXDev () const
 Get X deviation. More...
 
Bool_t GetTriggerX () const
 Return TriggerX. More...
 
UChar_t GetXPos () const
 Return Xpos. More...
 
Int_t GetLpt () const
 Return LPT. More...
 
Int_t GetHpt () const
 Return HPT. More...
 
void SetData (UInt_t d, Int_t n)
 Set local data. More...
 
UInt_t * GetData ()
 Return data. More...
 
UInt_t GetL0 () const
 Return local L0. More...
 
UInt_t GetHold () const
 Return local hold (dead time) More...
 
UInt_t GetClock () const
 Return local clock. More...
 
UShort_t GetSwitch () const
 Return switch. More...
 
UChar_t GetComptXY () const
 Return ComptXY. More...
 
UShort_t GetXY1 (Int_t n) const
 Return XY1. More...
 
UShort_t GetXY2 (Int_t n) const
 Return XY2. More...
 
UShort_t GetXY3 (Int_t n) const
 Return XY3. More...
 
UShort_t GetXY4 (Int_t n) const
 Return XY4. More...
 
UInt_t * GetScalers ()
 Return scalers. More...
 
Int_t GetScalerLength () const
 Return scaler length in word. More...
 
Int_t GetLength () const
 Return local info length in word. More...
 
UInt_t GetEndOfLocal () const
 Return end of local info word. More...
 
UInt_t GetDisableWord () const
 Return Word for "empty" slots. More...
 
void SetScalersNumbers ()
 

Private Attributes

UInt_t fData [5]
 local data More...
 
UInt_t fL0
 local L0 More...
 
UInt_t fHold
 local hold (dead time) More...
 
UInt_t fClk
 local clock More...
 
UInt_t fLPtNTrig
 local low Pt no trigger More...
 
UInt_t fHPtNTrig
 local high Pt no trigger More...
 
UInt_t fLPtRTrig
 local low Pt right trigger More...
 
UInt_t fHPtRTrig
 local high Pt right trigger More...
 
UInt_t fLPtLTrig
 local low Pt left trigger More...
 
UInt_t fHPtLTrig
 local high Pt left trigger More...
 
UInt_t fLPtSTrig
 local low Pt straight trigger More...
 
UInt_t fHPtSTrig
 local high Pt straight trigger More...
 
UInt_t fScaler [8 *4]
 local data More...
 
UInt_t fEOS
 contains switches conf. & flag for reading X (0) or Y (1) in fScaler More...
 
UInt_t fReset
 reset signal More...
 

Static Private Attributes

static const Int_t fgkLength = 5
 local info length in word More...
 
static const Int_t fgkScalerLength = 45
 scaler length in word More...
 
static const UInt_t fgkEndOfLocal = 0xCAFEFADE
 end of local info word More...
 
static const UInt_t fgkDisableWord = 0x10CADEAD
 Word for "empty" slots. More...
 

Detailed Description

Rawdata local card structure for trigger.

Local structure for trigger raw data. The structure includes the information about the x,y position of the 4 detection planes, the trigger word (address, local decision, y trigger, y position, x deviation, x position)

Author
Christian Finck

Definition at line 19 of file AliMUONLocalStruct.h.

Constructor & Destructor Documentation

AliMUONLocalStruct::AliMUONLocalStruct ( )

ctor

Definition at line 40 of file AliMUONLocalStruct.cxx.

AliMUONLocalStruct::AliMUONLocalStruct ( const AliMUONLocalStruct event)

copy ctor

Definition at line 69 of file AliMUONLocalStruct.cxx.

AliMUONLocalStruct::~AliMUONLocalStruct ( )
virtual

Destructor

Definition at line 98 of file AliMUONLocalStruct.cxx.

Member Function Documentation

UInt_t AliMUONLocalStruct::GetClock ( ) const
inline

Return local clock.

Definition at line 93 of file AliMUONLocalStruct.h.

UChar_t AliMUONLocalStruct::GetComptXY ( ) const
inline

Return ComptXY.

Definition at line 97 of file AliMUONLocalStruct.h.

UInt_t AliMUONLocalStruct::GetData ( Int_t  n) const
inline

Return local data.

Definition at line 31 of file AliMUONLocalStruct.h.

Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawStreamTriggerHP::GetDDLTrigger().

UInt_t* AliMUONLocalStruct::GetData ( )
inline

Return data.

Definition at line 85 of file AliMUONLocalStruct.h.

UChar_t AliMUONLocalStruct::GetDec ( ) const
inline

Return Dec.

Definition at line 58 of file AliMUONLocalStruct.h.

Referenced by GetHpt(), GetLpt(), and AliMUONRawStreamTrigger::Next().

UInt_t AliMUONLocalStruct::GetDisableWord ( ) const
inline

Return Word for "empty" slots.

Definition at line 130 of file AliMUONLocalStruct.h.

Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawWriter::WriteTriggerDDL().

UInt_t AliMUONLocalStruct::GetEndOfLocal ( ) const
inline

Return end of local info word.

Definition at line 128 of file AliMUONLocalStruct.h.

Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawWriter::WriteTriggerDDL().

UInt_t AliMUONLocalStruct::GetHold ( ) const
inline

Return local hold (dead time)

Definition at line 91 of file AliMUONLocalStruct.h.

Int_t AliMUONLocalStruct::GetHpt ( ) const
inline

Return HPT.

Definition at line 79 of file AliMUONLocalStruct.h.

Referenced by AliMUONLocalTrigger::SetLocalStruct().

UChar_t AliMUONLocalStruct::GetId ( ) const
inline

Return Id.

Definition at line 56 of file AliMUONLocalStruct.h.

Referenced by main(), MUONRawStreamTrigger(), and AliMUONRawStreamTrigger::Next().

UInt_t AliMUONLocalStruct::GetL0 ( ) const
inline

Return local L0.

Definition at line 89 of file AliMUONLocalStruct.h.

Int_t AliMUONLocalStruct::GetLength ( ) const
inline

Return local info length in word.

Definition at line 126 of file AliMUONLocalStruct.h.

Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawWriter::WriteTriggerDDL().

Int_t AliMUONLocalStruct::GetLpt ( ) const
inline

Return LPT.

Definition at line 77 of file AliMUONLocalStruct.h.

Referenced by AliMUONLocalTrigger::SetLocalStruct().

Int_t AliMUONLocalStruct::GetScalerLength ( ) const
inline

Return scaler length in word.

Definition at line 124 of file AliMUONLocalStruct.h.

Referenced by AliMUONPayloadTrigger::Decode(), and AliMUONRawWriter::WriteTriggerDDL().

UInt_t* AliMUONLocalStruct::GetScalers ( )
inline
UShort_t AliMUONLocalStruct::GetSwitch ( ) const
inline

Return switch.

Definition at line 95 of file AliMUONLocalStruct.h.

UChar_t AliMUONLocalStruct::GetSXDev ( ) const
inline

Get Sign of X deviation.

Definition at line 66 of file AliMUONLocalStruct.h.

Referenced by GetTriggerX(), AliMUONRawStreamTrigger::Next(), and AliMUONLocalTrigger::SetLocalStruct().

Bool_t AliMUONLocalStruct::GetTriggerX ( ) const
inline

Return TriggerX.

Definition at line 70 of file AliMUONLocalStruct.h.

Referenced by MUONRawStreamTrigger(), and AliMUONRawStreamTrigger::Next().

Bool_t AliMUONLocalStruct::GetTriggerY ( ) const
inline

Return TriggerY.

Definition at line 62 of file AliMUONLocalStruct.h.

Referenced by MUONRawStreamTrigger(), and AliMUONRawStreamTrigger::Next().

Bool_t AliMUONLocalStruct::GetTrigY ( ) const
inline

Return TrigY.

Definition at line 60 of file AliMUONLocalStruct.h.

Referenced by GetTriggerY(), AliMUONRawStreamTrigger::Next(), and AliMUONLocalTrigger::SetLocalStruct().

UShort_t AliMUONLocalStruct::GetX1 ( ) const
inline

Return X1.

Definition at line 36 of file AliMUONLocalStruct.h.

Referenced by GetXPattern(), and AliMUONLocalTrigger::SetLocalStruct().

UShort_t AliMUONLocalStruct::GetX2 ( ) const
inline

Return X2.

Definition at line 34 of file AliMUONLocalStruct.h.

Referenced by GetXPattern(), and AliMUONLocalTrigger::SetLocalStruct().

UShort_t AliMUONLocalStruct::GetX3 ( ) const
inline

Return X3.

Definition at line 40 of file AliMUONLocalStruct.h.

Referenced by GetXPattern(), and AliMUONLocalTrigger::SetLocalStruct().

UShort_t AliMUONLocalStruct::GetX4 ( ) const
inline

Return X4.

Definition at line 38 of file AliMUONLocalStruct.h.

Referenced by GetXPattern(), and AliMUONLocalTrigger::SetLocalStruct().

UChar_t AliMUONLocalStruct::GetXDev ( ) const
inline
void AliMUONLocalStruct::GetXPattern ( TArrayS &  array) const

return X pattern array

return array of X pattern

Definition at line 137 of file AliMUONLocalStruct.cxx.

Referenced by main(), and AliMUONRawStreamTrigger::Next().

UChar_t AliMUONLocalStruct::GetXPos ( ) const
inline
UShort_t AliMUONLocalStruct::GetXY1 ( Int_t  n) const
inline

Return XY1.

Definition at line 100 of file AliMUONLocalStruct.h.

UShort_t AliMUONLocalStruct::GetXY2 ( Int_t  n) const
inline

Return XY2.

Definition at line 105 of file AliMUONLocalStruct.h.

UShort_t AliMUONLocalStruct::GetXY3 ( Int_t  n) const
inline

Return XY3.

Definition at line 110 of file AliMUONLocalStruct.h.

UShort_t AliMUONLocalStruct::GetXY4 ( Int_t  n) const
inline

Return XY4.

Definition at line 115 of file AliMUONLocalStruct.h.

UShort_t AliMUONLocalStruct::GetY1 ( ) const
inline

Return Y1.

Definition at line 49 of file AliMUONLocalStruct.h.

Referenced by GetYPattern(), and AliMUONLocalTrigger::SetLocalStruct().

UShort_t AliMUONLocalStruct::GetY2 ( ) const
inline

Return Y2.

Definition at line 47 of file AliMUONLocalStruct.h.

Referenced by GetYPattern(), and AliMUONLocalTrigger::SetLocalStruct().

UShort_t AliMUONLocalStruct::GetY3 ( ) const
inline

Return Y3.

Definition at line 53 of file AliMUONLocalStruct.h.

Referenced by GetYPattern(), and AliMUONLocalTrigger::SetLocalStruct().

UShort_t AliMUONLocalStruct::GetY4 ( ) const
inline

Return Y4.

Definition at line 51 of file AliMUONLocalStruct.h.

Referenced by GetYPattern(), and AliMUONLocalTrigger::SetLocalStruct().

void AliMUONLocalStruct::GetYPattern ( TArrayS &  array) const

return Y pattern array

return array of Y pattern

Definition at line 145 of file AliMUONLocalStruct.cxx.

Referenced by main(), and AliMUONRawStreamTrigger::Next().

UChar_t AliMUONLocalStruct::GetYPos ( ) const
inline
AliMUONLocalStruct & AliMUONLocalStruct::operator= ( const AliMUONLocalStruct event)

assignment operator

Definition at line 105 of file AliMUONLocalStruct.cxx.

void AliMUONLocalStruct::SetData ( UInt_t  d,
Int_t  n 
)
inline

Set local data.

Definition at line 82 of file AliMUONLocalStruct.h.

void AliMUONLocalStruct::SetScalersNumbers ( )

set numbers for scaler events for local structure crasy numbers for scaler words, while no beam is coming

Definition at line 153 of file AliMUONLocalStruct.cxx.

Referenced by AliMUONRawWriter::SetScalersNumbers().

Member Data Documentation

UInt_t AliMUONLocalStruct::fClk
private

local clock

Definition at line 143 of file AliMUONLocalStruct.h.

Referenced by GetClock(), operator=(), and SetScalersNumbers().

UInt_t AliMUONLocalStruct::fData[5]
private
UInt_t AliMUONLocalStruct::fEOS
private

contains switches conf. & flag for reading X (0) or Y (1) in fScaler

Definition at line 158 of file AliMUONLocalStruct.h.

Referenced by GetComptXY(), GetSwitch(), operator=(), and SetScalersNumbers().

const UInt_t AliMUONLocalStruct::fgkDisableWord = 0x10CADEAD
staticprivate

Word for "empty" slots.

Definition at line 164 of file AliMUONLocalStruct.h.

Referenced by GetDisableWord().

const UInt_t AliMUONLocalStruct::fgkEndOfLocal = 0xCAFEFADE
staticprivate

end of local info word

Definition at line 163 of file AliMUONLocalStruct.h.

Referenced by GetEndOfLocal().

const Int_t AliMUONLocalStruct::fgkLength = 5
staticprivate

local info length in word

Definition at line 161 of file AliMUONLocalStruct.h.

Referenced by GetLength().

const Int_t AliMUONLocalStruct::fgkScalerLength = 45
staticprivate

scaler length in word

Definition at line 162 of file AliMUONLocalStruct.h.

Referenced by GetScalerLength().

UInt_t AliMUONLocalStruct::fHold
private

local hold (dead time)

Definition at line 142 of file AliMUONLocalStruct.h.

Referenced by GetHold(), operator=(), and SetScalersNumbers().

UInt_t AliMUONLocalStruct::fHPtLTrig
private

local high Pt left trigger

Definition at line 152 of file AliMUONLocalStruct.h.

Referenced by operator=(), and SetScalersNumbers().

UInt_t AliMUONLocalStruct::fHPtNTrig
private

local high Pt no trigger

Definition at line 146 of file AliMUONLocalStruct.h.

Referenced by operator=(), and SetScalersNumbers().

UInt_t AliMUONLocalStruct::fHPtRTrig
private

local high Pt right trigger

Definition at line 149 of file AliMUONLocalStruct.h.

Referenced by operator=(), and SetScalersNumbers().

UInt_t AliMUONLocalStruct::fHPtSTrig
private

local high Pt straight trigger

Definition at line 155 of file AliMUONLocalStruct.h.

Referenced by operator=(), and SetScalersNumbers().

UInt_t AliMUONLocalStruct::fL0
private

local L0

Definition at line 141 of file AliMUONLocalStruct.h.

Referenced by GetL0(), GetScalers(), operator=(), and SetScalersNumbers().

UInt_t AliMUONLocalStruct::fLPtLTrig
private

local low Pt left trigger

Definition at line 151 of file AliMUONLocalStruct.h.

Referenced by operator=(), and SetScalersNumbers().

UInt_t AliMUONLocalStruct::fLPtNTrig
private

local low Pt no trigger

Definition at line 145 of file AliMUONLocalStruct.h.

Referenced by operator=(), and SetScalersNumbers().

UInt_t AliMUONLocalStruct::fLPtRTrig
private

local low Pt right trigger

Definition at line 148 of file AliMUONLocalStruct.h.

Referenced by operator=(), and SetScalersNumbers().

UInt_t AliMUONLocalStruct::fLPtSTrig
private

local low Pt straight trigger

Definition at line 154 of file AliMUONLocalStruct.h.

Referenced by operator=(), and SetScalersNumbers().

UInt_t AliMUONLocalStruct::fReset
private

reset signal

Definition at line 159 of file AliMUONLocalStruct.h.

Referenced by operator=(), and SetScalersNumbers().

UInt_t AliMUONLocalStruct::fScaler[8 *4]
private

local data

Definition at line 157 of file AliMUONLocalStruct.h.

Referenced by AliMUONLocalStruct(), GetXY1(), GetXY2(), GetXY3(), GetXY4(), operator=(), and SetScalersNumbers().


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