![]() |
AliRoot Core
3abf5b4 (3abf5b4)
|
Raw data class for trigger and tracker chambers. More...
#include <AliMUONRawWriter.h>
Public Member Functions | |
AliMUONRawWriter () | |
virtual | ~AliMUONRawWriter () |
Int_t | Digits2Raw (const AliMUONVDigitStore *digitStore, const AliMUONVTriggerStore *triggerStore) |
void | SetScalersNumbers () |
void | SetHeader (AliRawDataHeaderSim &header) |
Set the header of DDL. More... | |
Private Member Functions | |
void | Digits2BusPatchMap (const AliMUONVDigitStore &digitStore, AliMpExMap &busPatchMap) |
void | WriteTrackerDDL (AliMpExMap &busPatchMap, Int_t iDDL) |
Int_t | WriteTriggerDDL (const AliMUONVTriggerStore &triggerStore, AliFstream *file[2]) |
Int_t | GetBusPatch (const AliMUONVDigit &digit) const |
AliMUONRawWriter (const AliMUONRawWriter &rhs) | |
Not implemented copy constructor. More... | |
AliMUONRawWriter & | operator= (const AliMUONRawWriter &rhs) |
Not implemented assignment operator. More... | |
Static Private Member Functions | |
static void | LocalWordPacking (UInt_t &word, UInt_t locId, UInt_t locDec, UInt_t trigY, UInt_t posY, UInt_t posX, UInt_t sdevX, UInt_t devX) |
Private Attributes | |
AliMUONBlockHeader * | fBlockHeader |
! DDL block header class pointers More... | |
AliMUONDspHeader * | fDspHeader |
! DDL Dsp header class pointers More... | |
AliMUONDarcHeader * | fDarcHeader |
! DDL darc header class pointers More... | |
AliMUONRegHeader * | fRegHeader |
! DDL regional header class pointers More... | |
AliMUONLocalStruct * | fLocalStruct |
! DDL local structure class pointers More... | |
AliMpDDLStore * | fDDLStore |
! DDL store pointer More... | |
Bool_t | fScalerEvent |
flag to generates scaler event More... | |
AliRawDataHeaderSim * | fHeader |
header of DDL More... | |
Int_t | fBufferSize |
! size of internal data buffer More... | |
Int_t * | fBuffer |
! internal data buffer More... | |
Raw data class for trigger and tracker chambers.
MUON Raw Data generaton in ALICE-MUON Raw data structure could be found in Alice-note.
Implemented non-constant buspatch numbers for tracking with correct DDL id (first guess) (Ch. Finck, dec 2005)
Digits2Raw: Generates raw data for MUON tracker and finally for trigger Using real mapping (inverse) for tracker For trigger there is no mapping (mapping could be found in AliMUONTriggerCircuit) Ch. Finck, July 04 Use memcpy instead of assignment elt by elt Introducing variable DSP numbers, real manu numbers per buspatch for st12 Implemented scaler event for Trigger Ch. Finck, Jan. 06 Using bus itr in DDL instead of simple incrementation treat correctly the DDL & buspatch for station 3. Using informations from AliMUONTriggerCrateStore for empty slots and non-notified cards in trigger crates. Ch. Finck, August 06. Using AliMpDDLStore::GetBusPatchId.
Definition at line 31 of file AliMUONRawWriter.h.
AliMUONRawWriter::AliMUONRawWriter | ( | ) |
Standard Constructor
Definition at line 96 of file AliMUONRawWriter.cxx.
|
virtual |
Destructor
Definition at line 127 of file AliMUONRawWriter.cxx.
|
private |
Not implemented copy constructor.
|
private |
Create bus patch structures corresponding to digits in the store
Definition at line 226 of file AliMUONRawWriter.cxx.
Referenced by Digits2Raw().
Int_t AliMUONRawWriter::Digits2Raw | ( | const AliMUONVDigitStore * | digitStore, |
const AliMUONVTriggerStore * | triggerStore | ||
) |
convert digits of the current event to raw data
Definition at line 159 of file AliMUONRawWriter.cxx.
Referenced by AliMUONPedestalEventGenerator::Digits2Raw(), AliMUON::Digits2Raw(), and AliMUONTriggerGUI::WriteTriggerRawData().
|
private |
Determine the BusPatch this digit belongs to.
Definition at line 446 of file AliMUONRawWriter.cxx.
Referenced by Digits2BusPatchMap().
|
staticprivate |
pack local trigger word
Definition at line 142 of file AliMUONRawWriter.cxx.
Referenced by WriteTriggerDDL().
|
private |
Not implemented assignment operator.
|
inline |
Set the header of DDL.
Definition at line 43 of file AliMUONRawWriter.h.
Referenced by AliMUONPedestalEventGenerator::Digits2Raw(), AliMUON::Digits2Raw(), and AliMUONTriggerGUI::WriteTriggerRawData().
void AliMUONRawWriter::SetScalersNumbers | ( | ) |
set numbers for scaler events for trigger headers since this is provided by the experiment put dummy numbers to check the monitoring
Definition at line 728 of file AliMUONRawWriter.cxx.
Referenced by AliMUON::Digits2Raw().
|
private |
Write DDL file for one tracker DDL
Definition at line 316 of file AliMUONRawWriter.cxx.
Referenced by Digits2Raw().
|
private |
|
private |
! DDL block header class pointers
Definition at line 66 of file AliMUONRawWriter.h.
Referenced by WriteTrackerDDL(), and ~AliMUONRawWriter().
|
private |
! internal data buffer
Definition at line 79 of file AliMUONRawWriter.h.
Referenced by WriteTrackerDDL(), and ~AliMUONRawWriter().
|
private |
! size of internal data buffer
Definition at line 78 of file AliMUONRawWriter.h.
Referenced by WriteTrackerDDL().
|
private |
! DDL darc header class pointers
Definition at line 68 of file AliMUONRawWriter.h.
Referenced by SetScalersNumbers(), WriteTriggerDDL(), and ~AliMUONRawWriter().
|
private |
! DDL store pointer
Definition at line 72 of file AliMUONRawWriter.h.
Referenced by Digits2Raw(), GetBusPatch(), and WriteTrackerDDL().
|
private |
! DDL Dsp header class pointers
Definition at line 67 of file AliMUONRawWriter.h.
Referenced by WriteTrackerDDL(), and ~AliMUONRawWriter().
|
private |
header of DDL
Definition at line 76 of file AliMUONRawWriter.h.
Referenced by SetHeader(), WriteTrackerDDL(), and WriteTriggerDDL().
|
private |
! DDL local structure class pointers
Definition at line 70 of file AliMUONRawWriter.h.
Referenced by SetScalersNumbers(), WriteTriggerDDL(), and ~AliMUONRawWriter().
|
private |
! DDL regional header class pointers
Definition at line 69 of file AliMUONRawWriter.h.
Referenced by SetScalersNumbers(), WriteTriggerDDL(), and ~AliMUONRawWriter().
|
private |
flag to generates scaler event
Definition at line 74 of file AliMUONRawWriter.h.
Referenced by SetScalersNumbers(), and WriteTriggerDDL().