![]() |
AliRoot Core
a565103 (a565103)
|
Reading Raw data class for trigger and tracker chambers. More...
#include <AliMUONDigitMaker.h>
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... | |
AliMUONRawStreamTrackerHP * | GetRawStreamTracker () const |
Return the raw stream object which decodes DDL raw data from tracking stations. More... | |
AliMUONRawStreamTriggerHP * | GetRawStreamTrigger () 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... | |
AliMUONDigitMaker & | operator= (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... | |
AliMUONRawStreamTrackerHP * | fRawStreamTracker |
! pointer of raw stream for tracker More... | |
AliMUONRawStreamTriggerHP * | fRawStreamTrigger |
! pointer of raw stream for trigger More... | |
AliMUONVDigitStore * | fDigitStore |
! not owner More... | |
AliMUONVTriggerStore * | fTriggerStore |
! not owner More... | |
AliMUONLogger * | fLogger |
! to log messages More... | |
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.
Definition at line 29 of file AliMUONDigitMaker.h.
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.
AliMUONDigitMaker::AliMUONDigitMaker | ( | Bool_t | enableErrorLogger, |
Bool_t | a, | ||
Bool_t | b | ||
) |
ctor
Definition at line 82 of file AliMUONDigitMaker.cxx.
AliMUONDigitMaker::AliMUONDigitMaker | ( | Bool_t | enableErrorLogger = kTRUE | ) |
ctor
Definition at line 119 of file AliMUONDigitMaker.cxx.
|
virtual |
clean up and time processing measure
Definition at line 155 of file AliMUONDigitMaker.cxx.
|
private |
Not implemented.
|
inline |
Return the raw stream object which decodes DDL raw data from tracking stations.
Definition at line 70 of file AliMUONDigitMaker.h.
|
inline |
Return the raw stream object which decodes DDL raw data from the trigger system.
Definition at line 73 of file AliMUONDigitMaker.h.
|
private |
Not implemented.
void AliMUONDigitMaker::Print | ( | Option_t * | opt = "" | ) | const |
Printout
Definition at line 167 of file AliMUONDigitMaker.cxx.
Int_t AliMUONDigitMaker::Raw2Digits | ( | AliRawReader * | rawReader, |
AliMUONVDigitStore * | digitContainer = 0 , |
||
AliMUONVTriggerStore * | triggerStore = 0 |
||
) |
Main method to creates digit for tracker and trigger
Definition at line 182 of file AliMUONDigitMaker.cxx.
Referenced by AliMUONTriggerGUI::DoNextEvent(), AliMUONTriggerGUI::DoPreviousEvent(), AliMUONTriggerGUI::DoRunRawApply(), AliMUONTriggerGUI::DoSkipToEvent(), MakeSDigits(), and AliMUON::Raw2SDigits().
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().
|
inline |
Set flag whether or not we should generate digits for the tracker.
Definition at line 67 of file AliMUONDigitMaker.h.
Referenced by AliMUONDigitMaker().
|
inline |
Set flag whether or not we should generate digits for the trigger.
Definition at line 64 of file AliMUONDigitMaker.h.
Referenced by AliMUONDigitMaker(), AliMUONTriggerGUI::DoNextEvent(), AliMUONTriggerGUI::DoPreviousEvent(), AliMUONTriggerGUI::DoRunRawApply(), AliMUONTriggerGUI::DoSkipToEvent(), MakeSDigits(), and AliMUON::Raw2SDigits().
|
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 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().
|
private |
! not owner
Definition at line 94 of file AliMUONDigitMaker.h.
Referenced by Print(), Raw2Digits(), ReadTrackerDDL(), and ReadTriggerDDL().
|
private |
! to log messages
Definition at line 97 of file AliMUONDigitMaker.h.
Referenced by Print(), Raw2Digits(), ReadTrackerDDL(), ReadTriggerDDL(), TriggerDigits(), and ~AliMUONDigitMaker().
|
private |
! whether or not we should generate digits for the tracker
Definition at line 89 of file AliMUONDigitMaker.h.
Referenced by Raw2Digits(), and SetMakeTrackerDigits().
|
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().
|
private |
! pointer of raw stream for tracker
Definition at line 91 of file AliMUONDigitMaker.h.
Referenced by AliMUONDigitMaker(), GetRawStreamTracker(), Print(), ReadTrackerDDL(), SetTryRecover(), and ~AliMUONDigitMaker().
|
private |
! pointer of raw stream for trigger
Definition at line 92 of file AliMUONDigitMaker.h.
Referenced by AliMUONDigitMaker(), GetRawStreamTrigger(), ReadTriggerDDL(), and ~AliMUONDigitMaker().
|
private |
! flag to generates scaler event
Definition at line 87 of file AliMUONDigitMaker.h.
Referenced by Print(), and SetScalerEvent().
|
private |
! not owner
Definition at line 95 of file AliMUONDigitMaker.h.
Referenced by Print(), Raw2Digits(), and ReadTriggerDDL().