AliRoot Core  3abf5b4 (3abf5b4)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMUONRawStreamTriggerHP::AliLocalStruct Class Reference

Light weight interface class to the local trigger card data. More...

#include <AliMUONRawStreamTriggerHP.h>

Public Member Functions

 AliLocalStruct (const AliRegionalHeader *regionalHeader=NULL, const AliMUONLocalInfoStruct *localStruct=NULL, const AliMUONLocalScalarsStruct *scalars=NULL)
 Default constructor. More...
 
 AliLocalStruct (const AliLocalStruct &o)
 Implement shallow copying in the copy constructor. More...
 
AliLocalStructoperator= (const AliLocalStruct &object)
 Implement shallow copying in the assignment operator. More...
 
 ~AliLocalStruct ()
 Default destructor. More...
 
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...
 
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...
 
void GetXPattern (TArrayS &array) const
 return X pattern array More...
 
void GetYPattern (TArrayS &array) const
 return Y pattern array 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...
 
Bool_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...
 
UChar_t GetLpt () const
 Return LPT. More...
 
UChar_t GetHpt () const
 Return HPT. 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...
 
const AliMUONLocalInfoStructGetData () const
 Return raw data of the local trigger structure. More...
 
const AliMUONLocalScalarsStructGetScalars () const
 
const AliRegionalHeaderGetRegionalHeader () const
 Return the parent regional header. More...
 
const AliLocalStructNext () const
 Return the next local trigger structure. More...
 
void SetNext (const AliLocalStruct *next)
 Sets the next local trigger structure. More...
 
void SetCalculatedId (UChar_t id)
 Sets the calculated ID value to be returned by GetId if fgOverrideId is true. More...
 
void Print () const
 Print the contents of the local trigger structure and contents to screen. More...
 

Static Public Member Functions

static bool GetOverrideIdFlag ()
 Returns the override flag indicating if the GetId method should return the calculated Id value or not. More...
 
static void SetOverrideIdFlag (bool value)
 Sets the override flag to control what value the GetId method returns. More...
 

Private Attributes

const AliRegionalHeaderfRegional
 The regional structure this local trigger structure belongs to. More...
 
const AliLocalStructfNext
 Next local structure object in the regional structure. More...
 
const AliMUONLocalInfoStructfLocalStruct
 Pointer to the local trigger structure data in the DDL payload. More...
 
const AliMUONLocalScalarsStructfScalars
 Pointer to the local trigger scalars data in the DDL payload. More...
 
UChar_t fCalculatedId
 Calculated ID value returned by GetId() if fgOverrideId == true. More...
 

Static Private Attributes

static bool fgOverrideId = true
 ! Flag indicating if we should return a calculated number in the GetId method. More...
 

Detailed Description

Light weight interface class to the local trigger card data.

Definition at line 382 of file AliMUONRawStreamTriggerHP.h.

Constructor & Destructor Documentation

AliMUONRawStreamTriggerHP::AliLocalStruct::AliLocalStruct ( const AliRegionalHeader regionalHeader = NULL,
const AliMUONLocalInfoStruct localStruct = NULL,
const AliMUONLocalScalarsStruct scalars = NULL 
)
inline

Default constructor.

Definition at line 386 of file AliMUONRawStreamTriggerHP.h.

Referenced by AliMUONRawStreamTriggerHP::AliDecoderEventHandler::OnLocalStructV2().

AliMUONRawStreamTriggerHP::AliLocalStruct::AliLocalStruct ( const AliLocalStruct o)
inline

Implement shallow copying in the copy constructor.

Definition at line 398 of file AliMUONRawStreamTriggerHP.h.

AliMUONRawStreamTriggerHP::AliLocalStruct::~AliLocalStruct ( )
inline

Default destructor.

Definition at line 413 of file AliMUONRawStreamTriggerHP.h.

Member Function Documentation

UInt_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetClock ( ) const
inline

Return local clock.

Definition at line 483 of file AliMUONRawStreamTriggerHP.h.

UChar_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetComptXY ( ) const
inline

Return ComptXY.

Definition at line 493 of file AliMUONRawStreamTriggerHP.h.

Referenced by main(), and AliMUONTriggerQADataMakerRec::MakeRaws().

UInt_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetData ( Int_t  n) const
inline

Return local data.

Definition at line 416 of file AliMUONRawStreamTriggerHP.h.

Referenced by AliMUONRawStreamTriggerHP::GetDDLTrigger().

const AliMUONLocalInfoStruct* AliMUONRawStreamTriggerHP::AliLocalStruct::GetData ( ) const
inline

Return raw data of the local trigger structure.

Definition at line 528 of file AliMUONRawStreamTriggerHP.h.

UChar_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetDec ( ) const
inline
UInt_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetHold ( ) const
inline

Return local hold (dead time)

Definition at line 481 of file AliMUONRawStreamTriggerHP.h.

UChar_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetHpt ( ) const
inline

Return HPT.

Definition at line 475 of file AliMUONRawStreamTriggerHP.h.

Referenced by AliMUONLocalTrigger::SetLocalStruct().

UInt_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetL0 ( ) const
inline

Return local L0.

Definition at line 479 of file AliMUONRawStreamTriggerHP.h.

UChar_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetLpt ( ) const
inline

Return LPT.

Definition at line 473 of file AliMUONRawStreamTriggerHP.h.

Referenced by AliMUONLocalTrigger::SetLocalStruct().

static bool AliMUONRawStreamTriggerHP::AliLocalStruct::GetOverrideIdFlag ( )
inlinestatic

Returns the override flag indicating if the GetId method should return the calculated Id value or not.

Definition at line 550 of file AliMUONRawStreamTriggerHP.h.

Referenced by AliMUONRawStreamTriggerHP::GetDDLTrigger().

const AliRegionalHeader* AliMUONRawStreamTriggerHP::AliLocalStruct::GetRegionalHeader ( ) const
inline
const AliMUONLocalScalarsStruct* AliMUONRawStreamTriggerHP::AliLocalStruct::GetScalars ( ) const
inline

Return raw data of the local trigger scalars. Could be NULL if no scalars present.

Definition at line 532 of file AliMUONRawStreamTriggerHP.h.

Referenced by AliMUONRawStreamTriggerHP::GetDDLTrigger(), and main().

UShort_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetSwitch ( ) const
inline

Return switch.

Definition at line 486 of file AliMUONRawStreamTriggerHP.h.

Bool_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetSXDev ( ) const
inline
Bool_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetTriggerX ( ) const
inline
Bool_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetTriggerY ( ) const
inline
Bool_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetTrigY ( ) const
inline
UShort_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetX1 ( ) const
inline

Return X1.

Definition at line 425 of file AliMUONRawStreamTriggerHP.h.

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

UShort_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetX2 ( ) const
inline

Return X2.

Definition at line 423 of file AliMUONRawStreamTriggerHP.h.

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

UShort_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetX3 ( ) const
inline

Return X3.

Definition at line 429 of file AliMUONRawStreamTriggerHP.h.

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

UShort_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetX4 ( ) const
inline

Return X4.

Definition at line 427 of file AliMUONRawStreamTriggerHP.h.

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

void AliMUONRawStreamTriggerHP::AliLocalStruct::GetXPattern ( TArrayS &  array) const
inline
UShort_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetXY1 ( Int_t  n) const
inline

Return XY1.

Definition at line 500 of file AliMUONRawStreamTriggerHP.h.

Referenced by main(), and AliMUONTriggerQADataMakerRec::MakeRaws().

UShort_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetXY2 ( Int_t  n) const
inline

Return XY2.

Definition at line 507 of file AliMUONRawStreamTriggerHP.h.

Referenced by main(), and AliMUONTriggerQADataMakerRec::MakeRaws().

UShort_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetXY3 ( Int_t  n) const
inline

Return XY3.

Definition at line 514 of file AliMUONRawStreamTriggerHP.h.

Referenced by main(), and AliMUONTriggerQADataMakerRec::MakeRaws().

UShort_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetXY4 ( Int_t  n) const
inline

Return XY4.

Definition at line 521 of file AliMUONRawStreamTriggerHP.h.

Referenced by main(), and AliMUONTriggerQADataMakerRec::MakeRaws().

UShort_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetY1 ( ) const
inline

Return Y1.

Definition at line 434 of file AliMUONRawStreamTriggerHP.h.

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

UShort_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetY2 ( ) const
inline

Return Y2.

Definition at line 432 of file AliMUONRawStreamTriggerHP.h.

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

UShort_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetY3 ( ) const
inline

Return Y3.

Definition at line 438 of file AliMUONRawStreamTriggerHP.h.

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

UShort_t AliMUONRawStreamTriggerHP::AliLocalStruct::GetY4 ( ) const
inline

Return Y4.

Definition at line 436 of file AliMUONRawStreamTriggerHP.h.

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

void AliMUONRawStreamTriggerHP::AliLocalStruct::GetYPattern ( TArrayS &  array) const
inline
const AliLocalStruct* AliMUONRawStreamTriggerHP::AliLocalStruct::Next ( ) const
inline

Return the next local trigger structure.

Definition at line 538 of file AliMUONRawStreamTriggerHP.h.

Referenced by AliMUONRawStreamTriggerHP::GetDDLTrigger(), MUONRawStreamTriggerHPExpert3(), and MUONRawStreamTriggerHPSimple2().

AliLocalStruct& AliMUONRawStreamTriggerHP::AliLocalStruct::operator= ( const AliLocalStruct object)
inline

Implement shallow copying in the assignment operator.

Definition at line 406 of file AliMUONRawStreamTriggerHP.h.

void AliMUONRawStreamTriggerHP::AliLocalStruct::Print ( ) const

Print the contents of the local trigger structure and contents to screen.

Print local trigger structure and scalars to screen.

Definition at line 517 of file AliMUONRawStreamTriggerHP.cxx.

void AliMUONRawStreamTriggerHP::AliLocalStruct::SetCalculatedId ( UChar_t  id)
inline

Sets the calculated ID value to be returned by GetId if fgOverrideId is true.

Definition at line 544 of file AliMUONRawStreamTriggerHP.h.

void AliMUONRawStreamTriggerHP::AliLocalStruct::SetNext ( const AliLocalStruct next)
inline

Sets the next local trigger structure.

Definition at line 541 of file AliMUONRawStreamTriggerHP.h.

static void AliMUONRawStreamTriggerHP::AliLocalStruct::SetOverrideIdFlag ( bool  value)
inlinestatic

Sets the override flag to control what value the GetId method returns.

Definition at line 553 of file AliMUONRawStreamTriggerHP.h.

Member Data Documentation

UChar_t AliMUONRawStreamTriggerHP::AliLocalStruct::fCalculatedId
private

Calculated ID value returned by GetId() if fgOverrideId == true.

Definition at line 561 of file AliMUONRawStreamTriggerHP.h.

Referenced by GetId(), and SetCalculatedId().

bool AliMUONRawStreamTriggerHP::AliLocalStruct::fgOverrideId = true
staticprivate

! Flag indicating if we should return a calculated number in the GetId method.

Definition at line 562 of file AliMUONRawStreamTriggerHP.h.

Referenced by GetId(), GetOverrideIdFlag(), and SetOverrideIdFlag().

const AliMUONLocalInfoStruct* AliMUONRawStreamTriggerHP::AliLocalStruct::fLocalStruct
private

Pointer to the local trigger structure data in the DDL payload.

Definition at line 559 of file AliMUONRawStreamTriggerHP.h.

Referenced by GetData(), GetDec(), GetHpt(), GetId(), GetLpt(), GetSXDev(), GetTriggerX(), GetTriggerY(), GetTrigY(), GetX1(), GetX2(), GetX3(), GetX4(), GetXDev(), GetXPos(), GetY1(), GetY2(), GetY3(), GetY4(), and GetYPos().

const AliLocalStruct* AliMUONRawStreamTriggerHP::AliLocalStruct::fNext
private

Next local structure object in the regional structure.

Definition at line 558 of file AliMUONRawStreamTriggerHP.h.

Referenced by Next(), and SetNext().

const AliRegionalHeader* AliMUONRawStreamTriggerHP::AliLocalStruct::fRegional
private

The regional structure this local trigger structure belongs to.

Definition at line 557 of file AliMUONRawStreamTriggerHP.h.

Referenced by GetRegionalHeader().

const AliMUONLocalScalarsStruct* AliMUONRawStreamTriggerHP::AliLocalStruct::fScalars
private

Pointer to the local trigger scalars data in the DDL payload.

Definition at line 560 of file AliMUONRawStreamTriggerHP.h.

Referenced by GetClock(), GetComptXY(), GetHold(), GetL0(), GetScalars(), GetSwitch(), GetXY1(), GetXY2(), GetXY3(), and GetXY4().


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