#include "AliMUONBlockHeader.h"
#include "AliMUONDspHeader.h"
-///
+/// \class AliMUONBlockHeader
/// Block structure for tracker raw data
/// each DDL contains two blocks,
/// each block contains at most 5 dsp structure.
/// Beside the total length and length of the below data
/// the header of the block contains the front end DSP id, trigger words and paddind word
///
+/// \author Christian Finck
/// \cond CLASSIMP
ClassImp(AliMUONBlockHeader)
fDspHeaderArray(new TClonesArray("AliMUONDspHeader", 5))
{
- //
- // ctor
- //
+ ///
+ /// ctor
+ ///
}
//___________________________________________
AliMUONBlockHeader::~AliMUONBlockHeader()
{
- //
- // dtor
- //
+ ///
+ /// dtor
+ ///
fDspHeaderArray->Delete();
delete fDspHeaderArray;
}
fEventId2(event.fEventId2),
fDspHeaderArray(new TClonesArray("AliMUONDspHeader", 5))
{
- //
- // copy ctor
- //
+ ///
+ /// copy ctor
+ ///
for (Int_t index = 0; index < (event.fDspHeaderArray)->GetEntriesFast(); index++) {
{new ((*fDspHeaderArray)[fDspHeaderArray->GetEntriesFast()])
AliMUONBlockHeader&
AliMUONBlockHeader::operator=(const AliMUONBlockHeader &event)
{
- //
- // assignment operator
- //
+ ///
+ /// assignment operator
+ ///
if (this == &event) return *this;
fTotalLength = event.fTotalLength;
//___________________________________________
void AliMUONBlockHeader::AddDspHeader(const AliMUONDspHeader& dspHeader)
{
- //
- // adding the dsp structure
- // into the TClonesArray
- //
+ ///
+ /// adding the dsp structure
+ /// into the TClonesArray
+ ///
TClonesArray &dspArray = *fDspHeaderArray;
new(dspArray[dspArray.GetEntriesFast()]) AliMUONDspHeader(dspHeader);
//___________________________________________
void AliMUONBlockHeader::Clear(Option_t* )
{
- // Clear TClones arrays
- // instead of deleting
- //
+ /// Clear TClones arrays
+ /// instead of deleting
+ ///
fDspHeaderArray->Clear("C");
}