AliRoot Core  3dc7879 (3dc7879)
AliMUONRawWriter Class Reference

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

#include <AliMUONRawWriter.h>

Inheritance diagram for AliMUONRawWriter:

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...
 
AliMUONRawWriteroperator= (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

AliMUONBlockHeaderfBlockHeader
 ! DDL block header class pointers More...
 
AliMUONDspHeaderfDspHeader
 ! DDL Dsp header class pointers More...
 
AliMUONDarcHeaderfDarcHeader
 ! DDL darc header class pointers More...
 
AliMUONRegHeaderfRegHeader
 ! DDL regional header class pointers More...
 
AliMUONLocalStructfLocalStruct
 ! DDL local structure class pointers More...
 
AliMpDDLStorefDDLStore
 ! DDL store pointer More...
 
Bool_t fScalerEvent
 flag to generates scaler event More...
 
AliRawDataHeaderSimfHeader
 header of DDL More...
 
Int_t fBufferSize
 ! size of internal data buffer More...
 
Int_t * fBuffer
 ! internal data buffer More...
 

Detailed Description

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.

Author
Ch. Finck, Feb. 07.

Definition at line 31 of file AliMUONRawWriter.h.

Constructor & Destructor Documentation

AliMUONRawWriter::AliMUONRawWriter ( )

Standard Constructor

Definition at line 96 of file AliMUONRawWriter.cxx.

Referenced by SetHeader().

AliMUONRawWriter::~AliMUONRawWriter ( void  )
virtual

Destructor

Definition at line 127 of file AliMUONRawWriter.cxx.

AliMUONRawWriter::AliMUONRawWriter ( const AliMUONRawWriter rhs)
private

Not implemented copy constructor.

Member Function Documentation

void AliMUONRawWriter::Digits2BusPatchMap ( const AliMUONVDigitStore digitStore,
AliMpExMap busPatchMap 
)
private

Create bus patch structures corresponding to digits in the store

Definition at line 226 of file AliMUONRawWriter.cxx.

Referenced by Digits2Raw(), and SetHeader().

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().

Int_t AliMUONRawWriter::GetBusPatch ( const AliMUONVDigit digit) const
private

Determine the BusPatch this digit belongs to.

Definition at line 446 of file AliMUONRawWriter.cxx.

Referenced by Digits2BusPatchMap(), and SetHeader().

void AliMUONRawWriter::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 
)
staticprivate

pack local trigger word

Definition at line 142 of file AliMUONRawWriter.cxx.

Referenced by SetHeader(), and WriteTriggerDDL().

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

Not implemented assignment operator.

Referenced by SetHeader().

void AliMUONRawWriter::SetHeader ( AliRawDataHeaderSim header)
inline
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().

void AliMUONRawWriter::WriteTrackerDDL ( AliMpExMap busPatchMap,
Int_t  iDDL 
)
private

Write DDL file for one tracker DDL

Definition at line 316 of file AliMUONRawWriter.cxx.

Referenced by Digits2Raw(), and SetHeader().

Int_t AliMUONRawWriter::WriteTriggerDDL ( const AliMUONVTriggerStore triggerStore,
AliFstream file[2] 
)
private

Write trigger DDL

Definition at line 454 of file AliMUONRawWriter.cxx.

Referenced by Digits2Raw(), and SetHeader().

Member Data Documentation

AliMUONBlockHeader* AliMUONRawWriter::fBlockHeader
private

! DDL block header class pointers

Definition at line 66 of file AliMUONRawWriter.h.

Referenced by WriteTrackerDDL(), and ~AliMUONRawWriter().

Int_t* AliMUONRawWriter::fBuffer
private

! internal data buffer

Definition at line 79 of file AliMUONRawWriter.h.

Referenced by WriteTrackerDDL(), and ~AliMUONRawWriter().

Int_t AliMUONRawWriter::fBufferSize
private

! size of internal data buffer

Definition at line 78 of file AliMUONRawWriter.h.

Referenced by WriteTrackerDDL().

AliMUONDarcHeader* AliMUONRawWriter::fDarcHeader
private

! DDL darc header class pointers

Definition at line 68 of file AliMUONRawWriter.h.

Referenced by SetScalersNumbers(), WriteTriggerDDL(), and ~AliMUONRawWriter().

AliMpDDLStore* AliMUONRawWriter::fDDLStore
private

! DDL store pointer

Definition at line 72 of file AliMUONRawWriter.h.

Referenced by Digits2Raw(), GetBusPatch(), and WriteTrackerDDL().

AliMUONDspHeader* AliMUONRawWriter::fDspHeader
private

! DDL Dsp header class pointers

Definition at line 67 of file AliMUONRawWriter.h.

Referenced by WriteTrackerDDL(), and ~AliMUONRawWriter().

AliRawDataHeaderSim* AliMUONRawWriter::fHeader
private

header of DDL

Definition at line 76 of file AliMUONRawWriter.h.

Referenced by SetHeader(), WriteTrackerDDL(), and WriteTriggerDDL().

AliMUONLocalStruct* AliMUONRawWriter::fLocalStruct
private

! DDL local structure class pointers

Definition at line 70 of file AliMUONRawWriter.h.

Referenced by SetScalersNumbers(), WriteTriggerDDL(), and ~AliMUONRawWriter().

AliMUONRegHeader* AliMUONRawWriter::fRegHeader
private

! DDL regional header class pointers

Definition at line 69 of file AliMUONRawWriter.h.

Referenced by SetScalersNumbers(), WriteTriggerDDL(), and ~AliMUONRawWriter().

Bool_t AliMUONRawWriter::fScalerEvent
private

flag to generates scaler event

Definition at line 74 of file AliMUONRawWriter.h.

Referenced by SetScalersNumbers(), and WriteTriggerDDL().


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