AliRoot Core  edcc906 (edcc906)
AliMUONDigitMaker Class Reference

Reading Raw data class for trigger and tracker chambers. More...

#include <AliMUONDigitMaker.h>

Inheritance diagram for AliMUONDigitMaker:

Public Types

enum  ErrorCode { kOK =0, kTrackerBAD =1<<1, kTriggerBAD =1<<2 }
 Code to indicate readout errors. More...
 

Public Member Functions

 AliMUONDigitMaker (Bool_t enableErrorLogger, Bool_t a, Bool_t b)
 
 AliMUONDigitMaker (Bool_t enableErrorLogger=kTRUE)
 
virtual ~AliMUONDigitMaker (void)
 
Int_t Raw2Digits (AliRawReader *rawReader, AliMUONVDigitStore *digitContainer=0, AliMUONVTriggerStore *triggerStore=0)
 
Int_t ReadTrackerDDL (AliRawReader *rawReader)
 
Int_t ReadTriggerDDL (AliRawReader *rawReader)
 
Int_t TriggerDigits (Int_t nBoard, const TArrayS *xyPattern, AliMUONVDigitStore &digitStore, Bool_t warn=kTRUE) const
 
Bool_t TriggerToDigitsStore (const AliMUONVTriggerStore &triggerStore, AliMUONVDigitStore &digitStore) const
 
void SetScalerEvent ()
 Set flag to generates scaler event. More...
 
void SetMakeTriggerDigits (Bool_t flag=kFALSE)
 Set flag whether or not we should generate digits for the trigger. More...
 
void SetMakeTrackerDigits (Bool_t flag=kTRUE)
 Set flag whether or not we should generate digits for the tracker. More...
 
AliMUONRawStreamTrackerHPGetRawStreamTracker () const
 Return the raw stream object which decodes DDL raw data from tracking stations. More...
 
AliMUONRawStreamTriggerHPGetRawStreamTrigger () const
 Return the raw stream object which decodes DDL raw data from the trigger system. More...
 
void Print (Option_t *opt="") const
 
void SetTryRecover (Bool_t flag)
 

Private Member Functions

 AliMUONDigitMaker (const AliMUONDigitMaker &rhs)
 Not implemented. More...
 
AliMUONDigitMakeroperator= (const AliMUONDigitMaker &rhs)
 Not implemented. More...
 

Private Attributes

Bool_t fScalerEvent
 ! flag to generates scaler event More...
 
Bool_t fMakeTriggerDigits
 ! whether or not we should generate digits for the trigger More...
 
Bool_t fMakeTrackerDigits
 ! whether or not we should generate digits for the tracker More...
 
AliMUONRawStreamTrackerHPfRawStreamTracker
 ! pointer of raw stream for tracker More...
 
AliMUONRawStreamTriggerHPfRawStreamTrigger
 ! pointer of raw stream for trigger More...
 
AliMUONVDigitStorefDigitStore
 ! not owner More...
 
AliMUONVTriggerStorefTriggerStore
 ! not owner More...
 
AliMUONLoggerfLogger
 ! to log messages More...
 

Detailed Description

Reading Raw data class for trigger and tracker chambers.

MUON Digit maker from rawdata.

Raw2Digits: Using real mapping for tracker Indranil Das (Adapted for runloader: Ch. Finck) july 05

Implemented non-constant buspatch numbers for tracking with correct DDL id. (Ch. Finck, dec 05)

Add reader for scaler trigger events Use memcpy instead of assignment elt by elt (Ch. Finck, Jan 06)

Using new interface with AliMUONRawStreamTracker(Trigger) (New interface of AliMUONRawReader class) (further details could be found in Alice-note) (Ch. Finck, March 06)

Add (S)Digit maker tracker (for free) and for trigger. Create trigger inverse mapping.

Author
Ch. Finck, oct 06

Definition at line 29 of file AliMUONDigitMaker.h.

Member Enumeration Documentation

Code to indicate readout errors.

Enumerator
kOK 

everything is OK

kTrackerBAD 

tracker part had readout errors

kTriggerBAD 

trigger part had readout errors

Definition at line 39 of file AliMUONDigitMaker.h.

Constructor & Destructor Documentation

AliMUONDigitMaker::AliMUONDigitMaker ( Bool_t  enableErrorLogger,
Bool_t  a,
Bool_t  b 
)

ctor

Definition at line 82 of file AliMUONDigitMaker.cxx.

Referenced by GetRawStreamTrigger().

AliMUONDigitMaker::AliMUONDigitMaker ( Bool_t  enableErrorLogger = kTRUE)

ctor

Definition at line 119 of file AliMUONDigitMaker.cxx.

AliMUONDigitMaker::~AliMUONDigitMaker ( void  )
virtual

clean up and time processing measure

Definition at line 155 of file AliMUONDigitMaker.cxx.

AliMUONDigitMaker::AliMUONDigitMaker ( const AliMUONDigitMaker rhs)
private

Not implemented.

Member Function Documentation

AliMUONRawStreamTrackerHP* AliMUONDigitMaker::GetRawStreamTracker ( ) const
inline

Return the raw stream object which decodes DDL raw data from tracking stations.

Definition at line 70 of file AliMUONDigitMaker.h.

AliMUONRawStreamTriggerHP* AliMUONDigitMaker::GetRawStreamTrigger ( ) const
inline

Return the raw stream object which decodes DDL raw data from the trigger system.

Definition at line 73 of file AliMUONDigitMaker.h.

AliMUONDigitMaker& AliMUONDigitMaker::operator= ( const AliMUONDigitMaker rhs)
private

Not implemented.

Referenced by GetRawStreamTrigger().

void AliMUONDigitMaker::Print ( Option_t *  opt = "") const

Printout

Definition at line 167 of file AliMUONDigitMaker.cxx.

Referenced by GetRawStreamTrigger().

Int_t AliMUONDigitMaker::Raw2Digits ( AliRawReader *  rawReader,
AliMUONVDigitStore digitContainer = 0,
AliMUONVTriggerStore triggerStore = 0 
)
Int_t AliMUONDigitMaker::ReadTrackerDDL ( AliRawReader *  rawReader)

Reading tracker DDL filling the fDigitStore container, which must not be null

Definition at line 230 of file AliMUONDigitMaker.cxx.

Referenced by Raw2Digits().

Int_t AliMUONDigitMaker::ReadTriggerDDL ( AliRawReader *  rawReader)

reading tracker DDL like ReadTriggerDDL but with fast decoder interface. filling the fTriggerStore container, which must not be null

Definition at line 314 of file AliMUONDigitMaker.cxx.

Referenced by Raw2Digits().

void AliMUONDigitMaker::SetMakeTrackerDigits ( Bool_t  flag = kTRUE)
inline

Set flag whether or not we should generate digits for the tracker.

Definition at line 67 of file AliMUONDigitMaker.h.

Referenced by AliMUONDigitMaker().

void AliMUONDigitMaker::SetMakeTriggerDigits ( Bool_t  flag = kFALSE)
inline
void AliMUONDigitMaker::SetScalerEvent ( )
inline

Set flag to generates scaler event.

Definition at line 61 of file AliMUONDigitMaker.h.

void AliMUONDigitMaker::SetTryRecover ( Bool_t  flag)

Instruct the decoder to try to recover corrupted raw data. Only use for specific cases for which you know it will work...

Definition at line 514 of file AliMUONDigitMaker.cxx.

Referenced by GetRawStreamTrigger(), and AliMUONTrackerQADataMakerRec::InitDigits().

Int_t AliMUONDigitMaker::TriggerDigits ( Int_t  nBoard,
const TArrayS *  xyPattern,
AliMUONVDigitStore digitStore,
Bool_t  warn = kTRUE 
) const

make digits for trigger from pattern, and add them to digitStore

Definition at line 401 of file AliMUONDigitMaker.cxx.

Referenced by AliMUONTriggerUtilities::Init(), AliMUONTriggerQADataMakerRec::MakeRaws(), ReadTriggerDDL(), TestRecPoints(), and TriggerToDigitsStore().

Bool_t AliMUONDigitMaker::TriggerToDigitsStore ( const AliMUONVTriggerStore triggerStore,
AliMUONVDigitStore digitStore 
) const

make (S)Digit for trigger

Definition at line 486 of file AliMUONDigitMaker.cxx.

Referenced by AliMUONTriggerUtilities::Init().

Member Data Documentation

AliMUONVDigitStore* AliMUONDigitMaker::fDigitStore
private

! not owner

Definition at line 94 of file AliMUONDigitMaker.h.

Referenced by Print(), Raw2Digits(), ReadTrackerDDL(), and ReadTriggerDDL().

AliMUONLogger* AliMUONDigitMaker::fLogger
private

! to log messages

Definition at line 97 of file AliMUONDigitMaker.h.

Referenced by Print(), Raw2Digits(), ReadTrackerDDL(), ReadTriggerDDL(), TriggerDigits(), and ~AliMUONDigitMaker().

Bool_t AliMUONDigitMaker::fMakeTrackerDigits
private

! whether or not we should generate digits for the tracker

Definition at line 89 of file AliMUONDigitMaker.h.

Referenced by Raw2Digits(), and SetMakeTrackerDigits().

Bool_t AliMUONDigitMaker::fMakeTriggerDigits
private

! whether or not we should generate digits for the trigger

Definition at line 88 of file AliMUONDigitMaker.h.

Referenced by Print(), Raw2Digits(), ReadTriggerDDL(), and SetMakeTriggerDigits().

AliMUONRawStreamTrackerHP* AliMUONDigitMaker::fRawStreamTracker
private

! pointer of raw stream for tracker

Definition at line 91 of file AliMUONDigitMaker.h.

Referenced by AliMUONDigitMaker(), GetRawStreamTracker(), Print(), ReadTrackerDDL(), SetTryRecover(), and ~AliMUONDigitMaker().

AliMUONRawStreamTriggerHP* AliMUONDigitMaker::fRawStreamTrigger
private

! pointer of raw stream for trigger

Definition at line 92 of file AliMUONDigitMaker.h.

Referenced by AliMUONDigitMaker(), GetRawStreamTrigger(), ReadTriggerDDL(), and ~AliMUONDigitMaker().

Bool_t AliMUONDigitMaker::fScalerEvent
private

! flag to generates scaler event

Definition at line 87 of file AliMUONDigitMaker.h.

Referenced by Print(), and SetScalerEvent().

AliMUONVTriggerStore* AliMUONDigitMaker::fTriggerStore
private

! not owner

Definition at line 95 of file AliMUONDigitMaker.h.

Referenced by Print(), Raw2Digits(), and ReadTriggerDDL().


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