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

Base class for reading MUON raw trigger data. More...

#include <AliMUONVRawStreamTrigger.h>

Inheritance diagram for AliMUONVRawStreamTrigger:

Public Types

enum  rawStreamTriggerError { kDarcEoWErr = 6, kGlobalEoWErr = 7, kRegEoWErr = 8, kLocalEoWErr = 9 }
 error numbers More...
 

Public Member Functions

 AliMUONVRawStreamTrigger ()
 
 AliMUONVRawStreamTrigger (AliRawReader *rawReader)
 
virtual ~AliMUONVRawStreamTrigger ()
 
virtual Bool_t Next (UChar_t &id, UChar_t &dec, Bool_t &trigY, UChar_t &yPos, UChar_t &sXDev, UChar_t &xDev, UChar_t &xPos, Bool_t &triggerY, Bool_t &triggerX, TArrayS &xPattern, TArrayS &yPattern)=0
 Advance one step in the iteration. Returns false if finished. More...
 
virtual AliMUONDDLTriggerGetDDLTrigger () const =0
 Return pointer to DDL payload object. More...
 
virtual Int_t GetMaxDDL () const =0
 Return maximum number of DDLs. More...
 
virtual Int_t GetMaxReg () const =0
 Return maximum number of regional cards in DATE file. More...
 
virtual Int_t GetMaxLoc () const =0
 Return maximum number of local cards in DATE file. More...
 
virtual void SetMaxLoc (Int_t loc)=0
 Should set the maximum number of local cards expected in the DDL stream. More...
 
virtual Int_t GetDDL () const =0
 Return number of DDL. More...
 
virtual void DisableWarnings ()=0
 Disable Warnings. More...
 
- Public Member Functions inherited from AliMUONRawStream
 AliMUONRawStream ()
 
 AliMUONRawStream (AliRawReader *rawReader)
 
virtual ~AliMUONRawStream ()
 
virtual void First ()
 Initialize iterator. More...
 
virtual Bool_t NextDDL ()=0
 DDL iterator. More...
 
virtual Bool_t IsDone () const
 Whether the iteration is finished or not. More...
 
virtual void AddErrorMessage ()=0
 add error message into error logger More...
 
virtual void SetReader (AliRawReader *rawReader)
 Set object for reading the raw data. More...
 
virtual AliRawReader * GetReader ()
 Get object for reading the raw data. More...
 
virtual void EnabbleErrorLogger ()
 Enable error info logger. More...
 
virtual Bool_t IsErrorLogger () const
 Check if error info logger enable. More...
 
virtual void Swap (UInt_t *buffer, Int_t size) const
 swap method for Power PC More...
 

Private Member Functions

 AliMUONVRawStreamTrigger (const AliMUONVRawStreamTrigger &stream)
 Not implemented. More...
 
AliMUONVRawStreamTriggeroperator= (const AliMUONVRawStreamTrigger &stream)
 Not implemented. More...
 

Detailed Description

Base class for reading MUON raw trigger data.

This base class defines what interface all MUON trigger raw data decoders must implement. Thus all trigger decoders inherit from this class. This class is an abstract class.

Author
Artur Szostak artur.nosp@m.sz@i.nosp@m.afric.nosp@m.a.co.nosp@m.m

Definition at line 24 of file AliMUONVRawStreamTrigger.h.

Member Enumeration Documentation

error numbers

Enumerator
kDarcEoWErr 

end of Darc word error

kGlobalEoWErr 

end of Global word error

kRegEoWErr 

end of Regional word error

kLocalEoWErr 

end of local word error

Definition at line 57 of file AliMUONVRawStreamTrigger.h.

Constructor & Destructor Documentation

AliMUONVRawStreamTrigger::AliMUONVRawStreamTrigger ( )

Create a base object to read MUON raw triggers Default constructor for monitoring purposes.

Definition at line 36 of file AliMUONVRawStreamTrigger.cxx.

AliMUONVRawStreamTrigger::AliMUONVRawStreamTrigger ( AliRawReader *  rawReader)

Constructor with AliRawReader as argument for reconstruction purpose.

Definition at line 46 of file AliMUONVRawStreamTrigger.cxx.

AliMUONVRawStreamTrigger::~AliMUONVRawStreamTrigger ( )
virtual

Default destructor

Definition at line 56 of file AliMUONVRawStreamTrigger.cxx.

AliMUONVRawStreamTrigger::AliMUONVRawStreamTrigger ( const AliMUONVRawStreamTrigger stream)
private

Not implemented.

Member Function Documentation

virtual void AliMUONVRawStreamTrigger::DisableWarnings ( )
pure virtual

Disable Warnings.

Implemented in AliMUONRawStreamTrigger, and AliMUONRawStreamTriggerHP.

Referenced by main().

virtual Int_t AliMUONVRawStreamTrigger::GetDDL ( ) const
pure virtual

Return number of DDL.

Implemented in AliMUONRawStreamTriggerHP, and AliMUONRawStreamTrigger.

Referenced by main().

virtual AliMUONDDLTrigger* AliMUONVRawStreamTrigger::GetDDLTrigger ( ) const
pure virtual

Return pointer to DDL payload object.

Implemented in AliMUONRawStreamTrigger, and AliMUONRawStreamTriggerHP.

Referenced by main().

virtual Int_t AliMUONVRawStreamTrigger::GetMaxDDL ( ) const
pure virtual

Return maximum number of DDLs.

Implemented in AliMUONRawStreamTriggerHP, and AliMUONRawStreamTrigger.

virtual Int_t AliMUONVRawStreamTrigger::GetMaxLoc ( ) const
pure virtual

Return maximum number of local cards in DATE file.

Implemented in AliMUONRawStreamTriggerHP, and AliMUONRawStreamTrigger.

virtual Int_t AliMUONVRawStreamTrigger::GetMaxReg ( ) const
pure virtual

Return maximum number of regional cards in DATE file.

Implemented in AliMUONRawStreamTriggerHP, and AliMUONRawStreamTrigger.

virtual Bool_t AliMUONVRawStreamTrigger::Next ( UChar_t &  id,
UChar_t &  dec,
Bool_t &  trigY,
UChar_t &  yPos,
UChar_t &  sXDev,
UChar_t &  xDev,
UChar_t &  xPos,
Bool_t &  triggerY,
Bool_t &  triggerX,
TArrayS &  xPattern,
TArrayS &  yPattern 
)
pure virtual

Advance one step in the iteration. Returns false if finished.

Implemented in AliMUONRawStreamTrigger, and AliMUONRawStreamTriggerHP.

Referenced by Loop().

AliMUONVRawStreamTrigger& AliMUONVRawStreamTrigger::operator= ( const AliMUONVRawStreamTrigger stream)
private

Not implemented.

virtual void AliMUONVRawStreamTrigger::SetMaxLoc ( Int_t  loc)
pure virtual

Should set the maximum number of local cards expected in the DDL stream.

Implemented in AliMUONRawStreamTriggerHP, and AliMUONRawStreamTrigger.


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