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

Light weight interface class to the DARC and global header data. More...

#include <AliMUONRawStreamTriggerHP.h>

Public Member Functions

 AliHeader (UInt_t darcHeader=0, const AliMUONDarcScalarsStruct *darcScalars=NULL, const AliMUONGlobalHeaderStruct *globalHeader=NULL, const AliMUONGlobalScalarsStruct *globalScalars=NULL)
 Default constructor. More...
 
 AliHeader (const AliHeader &o)
 Implement shallow copying in the copy constructor. More...
 
AliHeaderoperator= (const AliHeader &object)
 Implement shallow copying in the assignment operator. More...
 
 ~AliHeader ()
 Default destructor. More...
 
UInt_t GetWord () const
 Return first word. More...
 
UInt_t GetGlobalInput (Int_t n) const
 Return global input. More...
 
UChar_t GetGlobalOutput () const
 Return global output. More...
 
UShort_t GetGlobalConfig () const
 Return global config. More...
 
UChar_t GetEventType () const
 Return event type. More...
 
Bool_t IsPhysicsEvent () const
 Returns true if this was a physics event. More...
 
UChar_t GetDarcType () const
 Return Darc type. More...
 
UChar_t GetSerialNb () const
 Return serial number. More...
 
UChar_t GetVersion () const
 Return version. More...
 
Bool_t GetVMETrig () const
 Return VME trig. More...
 
Bool_t GetGlobalFlag () const
 Return global flag. More...
 
Bool_t GetCTPTrig () const
 Return CPT trigger. More...
 
Bool_t GetDAQFlag () const
 Return DAQ flag. More...
 
UChar_t GetRegPattern () const
 Return reg pattern. More...
 
UInt_t GetDarcL0R () const
 Return DARC L0 received and used. More...
 
UInt_t GetDarcL1P () const
 Return DARC L1 physics. More...
 
UInt_t GetDarcL1S () const
 Return DARC L1 software. More...
 
UInt_t GetDarcL2A () const
 Return DARC L2 accept. More...
 
UInt_t GetDarcL2R () const
 Return DARC L2 reject. More...
 
UInt_t GetDarcClock () const
 Return DARC clock. More...
 
UInt_t GetDarcHold () const
 Return DARC hold (dead time) More...
 
UInt_t GetGlobalL0 () const
 Return global L0. More...
 
UInt_t GetGlobalClock () const
 Return global clock. More...
 
const UInt_t * GetGlobalScaler () const
 Return global scalars or NULL if none exist. More...
 
UInt_t GetGlobalHold () const
 Return global hold (dead time) More...
 
UInt_t GetGlobalSpare () const
 Return global spare. More...
 
Bool_t DarcIsDefaultType () const
 Return true if type for DARC is default. More...
 
Bool_t DarcIsVadohrType () const
 Return true if type for DARC is Vadorh. More...
 
UInt_t GetDarcHeader () const
 Return the DARC header's raw data. More...
 
const AliMUONDarcScalarsStructGetDarcScalars () const
 Return the DARC scalars raw data or NULL if none exist. More...
 
const AliMUONGlobalHeaderStructGetGlobalHeader () const
 Return the global header's raw data. More...
 
const AliMUONGlobalScalarsStructGetGlobalScalars () const
 Return the global scalars raw data or NULL if none exist. More...
 
void Print () const
 Print the contents of the headers to screen. More...
 

Private Attributes

UInt_t fDarcHeader
 Pointer to DARC header in DDL payload. More...
 
const AliMUONDarcScalarsStructfDarcScalars
 Pointer to DARC scalars in DDL payload. More...
 
const AliMUONGlobalHeaderStructfGlobalHeader
 Pointer to global header in DDL payload. More...
 
const AliMUONGlobalScalarsStructfGlobalScalars
 Pointer to global scalars in DDL payload. More...
 

Detailed Description

Light weight interface class to the DARC and global header data.

Definition at line 130 of file AliMUONRawStreamTriggerHP.h.

Constructor & Destructor Documentation

AliMUONRawStreamTriggerHP::AliHeader::AliHeader ( UInt_t  darcHeader = 0,
const AliMUONDarcScalarsStruct darcScalars = NULL,
const AliMUONGlobalHeaderStruct globalHeader = NULL,
const AliMUONGlobalScalarsStruct globalScalars = NULL 
)
inline

Default constructor.

Definition at line 134 of file AliMUONRawStreamTriggerHP.h.

AliMUONRawStreamTriggerHP::AliHeader::AliHeader ( const AliHeader o)
inline

Implement shallow copying in the copy constructor.

Definition at line 146 of file AliMUONRawStreamTriggerHP.h.

AliMUONRawStreamTriggerHP::AliHeader::~AliHeader ( )
inline

Default destructor.

Definition at line 160 of file AliMUONRawStreamTriggerHP.h.

Member Function Documentation

Bool_t AliMUONRawStreamTriggerHP::AliHeader::DarcIsDefaultType ( ) const
inline

Return true if type for DARC is default.

Definition at line 221 of file AliMUONRawStreamTriggerHP.h.

Bool_t AliMUONRawStreamTriggerHP::AliHeader::DarcIsVadohrType ( ) const
inline

Return true if type for DARC is Vadorh.

Definition at line 223 of file AliMUONRawStreamTriggerHP.h.

Bool_t AliMUONRawStreamTriggerHP::AliHeader::GetCTPTrig ( ) const
inline

Return CPT trigger.

Definition at line 186 of file AliMUONRawStreamTriggerHP.h.

Bool_t AliMUONRawStreamTriggerHP::AliHeader::GetDAQFlag ( ) const
inline

Return DAQ flag.

Definition at line 188 of file AliMUONRawStreamTriggerHP.h.

UInt_t AliMUONRawStreamTriggerHP::AliHeader::GetDarcClock ( ) const
inline

Return DARC clock.

Definition at line 204 of file AliMUONRawStreamTriggerHP.h.

UInt_t AliMUONRawStreamTriggerHP::AliHeader::GetDarcHeader ( ) const
inline
UInt_t AliMUONRawStreamTriggerHP::AliHeader::GetDarcHold ( ) const
inline

Return DARC hold (dead time)

Definition at line 206 of file AliMUONRawStreamTriggerHP.h.

UInt_t AliMUONRawStreamTriggerHP::AliHeader::GetDarcL0R ( ) const
inline

Return DARC L0 received and used.

Definition at line 194 of file AliMUONRawStreamTriggerHP.h.

UInt_t AliMUONRawStreamTriggerHP::AliHeader::GetDarcL1P ( ) const
inline

Return DARC L1 physics.

Definition at line 196 of file AliMUONRawStreamTriggerHP.h.

UInt_t AliMUONRawStreamTriggerHP::AliHeader::GetDarcL1S ( ) const
inline

Return DARC L1 software.

Definition at line 198 of file AliMUONRawStreamTriggerHP.h.

UInt_t AliMUONRawStreamTriggerHP::AliHeader::GetDarcL2A ( ) const
inline

Return DARC L2 accept.

Definition at line 200 of file AliMUONRawStreamTriggerHP.h.

UInt_t AliMUONRawStreamTriggerHP::AliHeader::GetDarcL2R ( ) const
inline

Return DARC L2 reject.

Definition at line 202 of file AliMUONRawStreamTriggerHP.h.

const AliMUONDarcScalarsStruct* AliMUONRawStreamTriggerHP::AliHeader::GetDarcScalars ( ) const
inline

Return the DARC scalars raw data or NULL if none exist.

Definition at line 229 of file AliMUONRawStreamTriggerHP.h.

Referenced by AliMUONRawStreamTriggerHP::GetDDLTrigger().

UChar_t AliMUONRawStreamTriggerHP::AliHeader::GetDarcType ( ) const
inline

Return Darc type.

Definition at line 176 of file AliMUONRawStreamTriggerHP.h.

Referenced by DarcIsDefaultType(), and DarcIsVadohrType().

UChar_t AliMUONRawStreamTriggerHP::AliHeader::GetEventType ( ) const
inline

Return event type.

Definition at line 172 of file AliMUONRawStreamTriggerHP.h.

Referenced by IsPhysicsEvent().

UInt_t AliMUONRawStreamTriggerHP::AliHeader::GetGlobalClock ( ) const
inline

Return global clock.

Definition at line 212 of file AliMUONRawStreamTriggerHP.h.

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

UShort_t AliMUONRawStreamTriggerHP::AliHeader::GetGlobalConfig ( ) const
inline

Return global config.

Definition at line 169 of file AliMUONRawStreamTriggerHP.h.

Bool_t AliMUONRawStreamTriggerHP::AliHeader::GetGlobalFlag ( ) const
inline

Return global flag.

Definition at line 184 of file AliMUONRawStreamTriggerHP.h.

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

const AliMUONGlobalHeaderStruct* AliMUONRawStreamTriggerHP::AliHeader::GetGlobalHeader ( ) const
inline

Return the global header's raw data.

Definition at line 232 of file AliMUONRawStreamTriggerHP.h.

Referenced by AliMUONRawStreamTriggerHP::GetDDLTrigger(), and AliMUONDigitMaker::ReadTriggerDDL().

UInt_t AliMUONRawStreamTriggerHP::AliHeader::GetGlobalHold ( ) const
inline

Return global hold (dead time)

Definition at line 216 of file AliMUONRawStreamTriggerHP.h.

UInt_t AliMUONRawStreamTriggerHP::AliHeader::GetGlobalInput ( Int_t  n) const
inline

Return global input.

Definition at line 165 of file AliMUONRawStreamTriggerHP.h.

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

UInt_t AliMUONRawStreamTriggerHP::AliHeader::GetGlobalL0 ( ) const
inline

Return global L0.

Definition at line 210 of file AliMUONRawStreamTriggerHP.h.

UChar_t AliMUONRawStreamTriggerHP::AliHeader::GetGlobalOutput ( ) const
inline

Return global output.

Definition at line 167 of file AliMUONRawStreamTriggerHP.h.

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

const AliMUONGlobalScalarsStruct* AliMUONRawStreamTriggerHP::AliHeader::GetGlobalScalars ( ) const
inline

Return the global scalars raw data or NULL if none exist.

Definition at line 235 of file AliMUONRawStreamTriggerHP.h.

Referenced by AliMUONRawStreamTriggerHP::GetDDLTrigger().

const UInt_t* AliMUONRawStreamTriggerHP::AliHeader::GetGlobalScaler ( ) const
inline

Return global scalars or NULL if none exist.

Definition at line 214 of file AliMUONRawStreamTriggerHP.h.

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

UInt_t AliMUONRawStreamTriggerHP::AliHeader::GetGlobalSpare ( ) const
inline

Return global spare.

Definition at line 218 of file AliMUONRawStreamTriggerHP.h.

UChar_t AliMUONRawStreamTriggerHP::AliHeader::GetRegPattern ( ) const
inline

Return reg pattern.

Definition at line 190 of file AliMUONRawStreamTriggerHP.h.

UChar_t AliMUONRawStreamTriggerHP::AliHeader::GetSerialNb ( ) const
inline

Return serial number.

Definition at line 178 of file AliMUONRawStreamTriggerHP.h.

UChar_t AliMUONRawStreamTriggerHP::AliHeader::GetVersion ( ) const
inline

Return version.

Definition at line 180 of file AliMUONRawStreamTriggerHP.h.

Bool_t AliMUONRawStreamTriggerHP::AliHeader::GetVMETrig ( ) const
inline

Return VME trig.

Definition at line 182 of file AliMUONRawStreamTriggerHP.h.

UInt_t AliMUONRawStreamTriggerHP::AliHeader::GetWord ( ) const
inline

Return first word.

Definition at line 163 of file AliMUONRawStreamTriggerHP.h.

Bool_t AliMUONRawStreamTriggerHP::AliHeader::IsPhysicsEvent ( ) const
inline

Returns true if this was a physics event.

Definition at line 174 of file AliMUONRawStreamTriggerHP.h.

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

Implement shallow copying in the assignment operator.

Definition at line 153 of file AliMUONRawStreamTriggerHP.h.

void AliMUONRawStreamTriggerHP::AliHeader::Print ( ) const

Print the contents of the headers to screen.

Print DARC header, global header and global scalars to screen.

Definition at line 424 of file AliMUONRawStreamTriggerHP.cxx.

Member Data Documentation

UInt_t AliMUONRawStreamTriggerHP::AliHeader::fDarcHeader
private

Pointer to DARC header in DDL payload.

Definition at line 242 of file AliMUONRawStreamTriggerHP.h.

Referenced by GetDarcHeader(), and Print().

const AliMUONDarcScalarsStruct* AliMUONRawStreamTriggerHP::AliHeader::fDarcScalars
private

Pointer to DARC scalars in DDL payload.

Definition at line 243 of file AliMUONRawStreamTriggerHP.h.

Referenced by GetDarcClock(), GetDarcHold(), GetDarcL0R(), GetDarcL1P(), GetDarcL1S(), GetDarcL2A(), GetDarcL2R(), GetDarcScalars(), and Print().

const AliMUONGlobalHeaderStruct* AliMUONRawStreamTriggerHP::AliHeader::fGlobalHeader
private

Pointer to global header in DDL payload.

Definition at line 244 of file AliMUONRawStreamTriggerHP.h.

Referenced by GetGlobalConfig(), GetGlobalHeader(), GetGlobalInput(), GetGlobalOutput(), and Print().

const AliMUONGlobalScalarsStruct* AliMUONRawStreamTriggerHP::AliHeader::fGlobalScalars
private

Pointer to global scalars in DDL payload.

Definition at line 245 of file AliMUONRawStreamTriggerHP.h.

Referenced by GetGlobalClock(), GetGlobalHold(), GetGlobalL0(), GetGlobalScalars(), GetGlobalScaler(), GetGlobalSpare(), and Print().


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