![]() |
AliRoot Core
a565103 (a565103)
|
Class for reading MUON raw digits. More...
#include <AliMUONRawStreamTrigger.h>
Public Types | |
enum | rawStreamTriggerError { kDarcEoWErr = 6, kGlobalEoWErr = 7, kRegEoWErr = 8, kLocalEoWErr = 9 } |
error numbers More... | |
![]() | |
enum | rawStreamTriggerError { kDarcEoWErr = 6, kGlobalEoWErr = 7, kRegEoWErr = 8, kLocalEoWErr = 9 } |
error numbers More... | |
Public Member Functions | |
AliMUONRawStreamTrigger () | |
AliMUONRawStreamTrigger (TRootIOCtor *dummy) | |
AliMUONRawStreamTrigger (AliRawReader *rawReader) | |
virtual | ~AliMUONRawStreamTrigger () |
void | First () |
Initialize iterator. More... | |
AliMUONDDLTrigger * | CurrentDDL () const |
Returns current DDL object during iteration. More... | |
AliMUONDarcHeader * | CurrentDarcHeader () const |
Returns current DarcHeader object during iteration. More... | |
AliMUONRegHeader * | CurrentRegHeader () const |
Returns current RegHeader object during iteration. More... | |
AliMUONLocalStruct * | CurrentLocalStruct () const |
Returns current LocalStruct object during iteration. More... | |
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) |
Advance one step in the iteration. Returns false if finished. More... | |
virtual Bool_t | NextDDL () |
DDL iterator. More... | |
Int_t | GetMaxDDL () const |
Return maximum number of DDLs. More... | |
Int_t | GetMaxReg () const |
Return maximum number of regional cards in DATE file. More... | |
Int_t | GetMaxLoc () const |
Return maximum number of local cards in DATE file. More... | |
void | SetMaxLoc (Int_t loc) |
Should set the maximum number of local cards expected in the DDL stream. More... | |
AliMUONDDLTrigger * | GetDDLTrigger () const |
Return pointer for DDL structure. More... | |
Int_t | GetDDL () const |
Return number of DDL. More... | |
AliMUONPayloadTrigger * | GetPayLoad () const |
Return pointer for payload. More... | |
Bool_t | IsDone () const |
Whether the iteration is finished or not. More... | |
void | AddErrorMessage () |
add error message into error logger More... | |
void | DisableWarnings () |
Disable Warnings. More... | |
![]() | |
AliMUONVRawStreamTrigger () | |
AliMUONVRawStreamTrigger (AliRawReader *rawReader) | |
virtual | ~AliMUONVRawStreamTrigger () |
![]() | |
AliMUONRawStream () | |
AliMUONRawStream (AliRawReader *rawReader) | |
virtual | ~AliMUONRawStream () |
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 | |
AliMUONRawStreamTrigger (const AliMUONRawStreamTrigger &stream) | |
Not implemented. More... | |
AliMUONRawStreamTrigger & | operator= (const AliMUONRawStreamTrigger &stream) |
Not implemented. More... | |
Bool_t | GetNextDDL () |
Bool_t | GetNextRegHeader () |
Bool_t | GetNextLocalStruct () |
Private Attributes | |
AliMUONPayloadTrigger * | fPayload |
pointer to payload decoder More... | |
AliMUONDDLTrigger * | fCurrentDDL |
! for iterator: current ddl ptr More... | |
Int_t | fCurrentDDLIndex |
! for iterator: current ddl index More... | |
AliMUONDarcHeader * | fCurrentDarcHeader |
! for iterator: current darc ptr More... | |
AliMUONRegHeader * | fCurrentRegHeader |
! for iterator: current reg ptr More... | |
Int_t | fCurrentRegHeaderIndex |
! for iterator: current reg index More... | |
AliMUONLocalStruct * | fCurrentLocalStruct |
! for iterator: current local ptr More... | |
Int_t | fCurrentLocalStructIndex |
! for iterator: current local index More... | |
Bool_t | fLocalStructRead |
! flag for read out local structure More... | |
Int_t | fDDL |
! number of DDL More... | |
Bool_t | fNextDDL |
flag for next DDL to be read More... | |
Static Private Attributes | |
static const Int_t | fgkMaxDDL = 2 |
maximum number of DDLs More... | |
Class for reading MUON raw digits.
This class provides access to MUON digits in raw data.
It loops over all MUON digits in the raw data given by the AliRawReader. The Next method goes to the next local response. If there are no local response left it returns kFALSE. It can loop also over DDL and store the decoded rawdata in TClonesArrays in payload class.
Version implement for Trigger
Definition at line 25 of file AliMUONRawStreamTrigger.h.
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 85 of file AliMUONRawStreamTrigger.h.
AliMUONRawStreamTrigger::AliMUONRawStreamTrigger | ( | ) |
create an object to read MUON raw digits Default ctor for monitoring purposes
Definition at line 77 of file AliMUONRawStreamTrigger.cxx.
AliMUONRawStreamTrigger::AliMUONRawStreamTrigger | ( | TRootIOCtor * | dummy | ) |
create an object to read MUON raw digits Default ctor with no mem allocation for I/O
Definition at line 56 of file AliMUONRawStreamTrigger.cxx.
AliMUONRawStreamTrigger::AliMUONRawStreamTrigger | ( | AliRawReader * | rawReader | ) |
ctor with AliRawReader as argument for reconstruction purpose
Definition at line 100 of file AliMUONRawStreamTrigger.cxx.
|
virtual |
clean up
Definition at line 122 of file AliMUONRawStreamTrigger.cxx.
|
private |
Not implemented.
|
virtual |
add error message into error logger
add message into logger of AliRawReader per event
Implements AliMUONRawStream.
Definition at line 435 of file AliMUONRawStreamTrigger.cxx.
Referenced by GetNextDDL(), and NextDDL().
|
inline |
Returns current DarcHeader object during iteration.
Definition at line 39 of file AliMUONRawStreamTrigger.h.
|
inline |
Returns current DDL object during iteration.
Definition at line 36 of file AliMUONRawStreamTrigger.h.
|
inline |
Returns current LocalStruct object during iteration.
Definition at line 45 of file AliMUONRawStreamTrigger.h.
|
inline |
Returns current RegHeader object during iteration.
Definition at line 42 of file AliMUONRawStreamTrigger.h.
|
inlinevirtual |
Disable Warnings.
Implements AliMUONVRawStreamTrigger.
Definition at line 82 of file AliMUONRawStreamTrigger.h.
|
virtual |
Initialize iterator.
Initialize the iteration process.
Reimplemented from AliMUONRawStream.
Definition at line 181 of file AliMUONRawStreamTrigger.cxx.
Referenced by MUONRawStreamTriggerSimple(), and TimeUsingOldDecoder().
|
inlinevirtual |
Return number of DDL.
Implements AliMUONVRawStreamTrigger.
Definition at line 70 of file AliMUONRawStreamTrigger.h.
Referenced by MUONRawStreamTrigger().
|
inlinevirtual |
Return pointer for DDL structure.
Implements AliMUONVRawStreamTrigger.
Definition at line 67 of file AliMUONRawStreamTrigger.h.
Referenced by MUONRawStreamTrigger().
|
inlinevirtual |
Return maximum number of DDLs.
Implements AliMUONVRawStreamTrigger.
Definition at line 57 of file AliMUONRawStreamTrigger.h.
|
inlinevirtual |
Return maximum number of local cards in DATE file.
Implements AliMUONVRawStreamTrigger.
Definition at line 61 of file AliMUONRawStreamTrigger.h.
|
inlinevirtual |
Return maximum number of regional cards in DATE file.
Implements AliMUONVRawStreamTrigger.
Definition at line 59 of file AliMUONRawStreamTrigger.h.
|
private |
Returns the next DDL present
Definition at line 202 of file AliMUONRawStreamTrigger.cxx.
Referenced by First(), and GetNextRegHeader().
|
private |
Find the next non-empty local structure
Definition at line 322 of file AliMUONRawStreamTrigger.cxx.
|
private |
Returns the next Reg Header present
Definition at line 284 of file AliMUONRawStreamTrigger.cxx.
Referenced by First(), and GetNextLocalStruct().
|
inline |
Return pointer for payload.
Definition at line 73 of file AliMUONRawStreamTrigger.h.
|
virtual |
Whether the iteration is finished or not.
Whether the iteration is finished or not
Reimplemented from AliMUONRawStream.
Definition at line 174 of file AliMUONRawStreamTrigger.cxx.
Referenced by Next().
|
virtual |
Advance one step in the iteration. Returns false if finished.
read the next raw digit (local structure) returns kFALSE if there is no digit left Should call First() before this method to start the iteration.
Implements AliMUONVRawStreamTrigger.
Definition at line 131 of file AliMUONRawStreamTrigger.cxx.
Referenced by MUONRawStreamTriggerSimple(), and TimeUsingOldDecoder().
|
virtual |
DDL iterator.
reading tracker DDL store local info into Array store only non-empty structures
Implements AliMUONRawStream.
Definition at line 359 of file AliMUONRawStreamTrigger.cxx.
Referenced by MUONRawStreamTrigger().
|
private |
Not implemented.
|
virtual |
Should set the maximum number of local cards expected in the DDL stream.
set local card number
Implements AliMUONVRawStreamTrigger.
Definition at line 428 of file AliMUONRawStreamTrigger.cxx.
|
private |
! for iterator: current darc ptr
Definition at line 108 of file AliMUONRawStreamTrigger.h.
Referenced by CurrentDarcHeader(), First(), GetNextDDL(), and GetNextRegHeader().
|
private |
! for iterator: current ddl ptr
Definition at line 106 of file AliMUONRawStreamTrigger.h.
Referenced by CurrentDDL(), First(), GetNextDDL(), and GetNextRegHeader().
|
private |
! for iterator: current ddl index
Definition at line 107 of file AliMUONRawStreamTrigger.h.
Referenced by First(), and GetNextDDL().
|
private |
! for iterator: current local ptr
Definition at line 111 of file AliMUONRawStreamTrigger.h.
Referenced by CurrentLocalStruct(), First(), GetNextLocalStruct(), IsDone(), and Next().
|
private |
! for iterator: current local index
Definition at line 112 of file AliMUONRawStreamTrigger.h.
Referenced by GetNextLocalStruct(), and GetNextRegHeader().
|
private |
! for iterator: current reg ptr
Definition at line 109 of file AliMUONRawStreamTrigger.h.
Referenced by CurrentRegHeader(), First(), GetNextLocalStruct(), and GetNextRegHeader().
|
private |
! for iterator: current reg index
Definition at line 110 of file AliMUONRawStreamTrigger.h.
Referenced by GetNextDDL(), and GetNextRegHeader().
|
private |
! number of DDL
Definition at line 114 of file AliMUONRawStreamTrigger.h.
|
staticprivate |
maximum number of DDLs
Definition at line 119 of file AliMUONRawStreamTrigger.h.
Referenced by GetMaxDDL(), GetNextDDL(), and NextDDL().
|
private |
! flag for read out local structure
Definition at line 113 of file AliMUONRawStreamTrigger.h.
Referenced by GetNextLocalStruct(), and Next().
|
private |
flag for next DDL to be read
Definition at line 117 of file AliMUONRawStreamTrigger.h.
|
private |
pointer to payload decoder
Definition at line 105 of file AliMUONRawStreamTrigger.h.
Referenced by AddErrorMessage(), DisableWarnings(), GetDDLTrigger(), GetMaxLoc(), GetMaxReg(), GetNextDDL(), GetPayLoad(), NextDDL(), SetMaxLoc(), and ~AliMUONRawStreamTrigger().