AliRoot Core
v5-06-30 (35d6c57)
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
AliMUONBlockHeader.h
Go to the documentation of this file.
1
#ifndef ALIMUONBLOCKHEADER_H
2
#define ALIMUONBLOCKHEADER_H
3
/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4
* See cxx source for full Copyright notice */
5
6
/*$Id$*/
7
12
// Author Christian Finck
13
14
#include <TObject.h>
15
#include <TClonesArray.h>
16
17
class
AliMUONDspHeader
;
18
19
class
AliMUONBlockHeader
:
public
TObject {
20
21
public
:
22
AliMUONBlockHeader
();
23
AliMUONBlockHeader
(TRootIOCtor* dummy);
24
AliMUONBlockHeader
(
const
AliMUONBlockHeader
&event);
25
AliMUONBlockHeader
&
operator=
(
const
AliMUONBlockHeader
&event);
26
27
virtual
~AliMUONBlockHeader
();
28
29
//
30
// Block header
31
//
33
Int_t
GetDataKey
()
const
{
return
fDataKey
;}
35
Int_t
GetTotalLength
()
const
{
return
fTotalLength
;}
37
Int_t
GetLength
()
const
{
return
fLength
;}
39
Int_t
GetDspId
()
const
{
return
fDspId
;}
41
Int_t
GetL0Trigger
()
const
{
return
fL0Trigger
;}
43
Int_t
GetMiniEventId
()
const
{
return
fMiniEventId
;}
45
Int_t
GetEventId1
()
const
{
return
fEventId1
;}
47
Int_t
GetEventId2
()
const
{
return
fEventId2
;}
48
50
Int_t
GetHeaderLength
()
const
{
return
fgkHeaderLength
;}
52
UInt_t
GetDefaultDataKey
()
const
{
return
fgkDefaultDataKey
;}
54
UInt_t
GetDdlDataKey
()
const
{
return
fgkDdlDataKey
;}
55
57
void
SetDataKey
(Int_t d) {
fDataKey
= d;}
59
void
SetTotalLength
(Int_t l) {
fTotalLength
= l;}
61
void
SetLength
(Int_t l) {
fLength
= l;}
63
void
SetDspId
(Int_t d) {
fDspId
= d;}
65
void
SetL0Trigger
(Int_t l) {
fL0Trigger
= l;}
67
void
SetMiniEventId
(Int_t e) {
fMiniEventId
= e;}
69
void
SetEventId1
(Int_t e) {
fEventId1
= e;}
71
void
SetEventId2
(Int_t e) {
fEventId2
= e;}
72
73
75
Int_t*
GetHeader
() {
return
&
fDataKey
;}
76
77
void
AddDspHeader
(
const
AliMUONDspHeader
& dspHeader);
78
80
TClonesArray*
GetDspHeaderArray
()
const
{
return
fDspHeaderArray
;}
81
83
Int_t
GetDspHeaderEntries
()
const
{
return
fDspHeaderArray
->GetEntriesFast();}
84
86
AliMUONDspHeader
*
GetDspHeaderEntry
(Int_t i)
const
{
87
return
(
AliMUONDspHeader
*)
fDspHeaderArray
->At(i);}
88
89
// clear
90
void
Clear
(Option_t* opt);
91
92
// print out
93
void
Print
(Option_t*
/*opt*/
)
const
;
94
95
private
:
96
97
// block header
98
Int_t
fDataKey
;
99
Int_t
fTotalLength
;
100
Int_t
fLength
;
101
Int_t
fDspId
;
102
Int_t
fL0Trigger
;
103
Int_t
fMiniEventId
;
104
Int_t
fEventId1
;
105
Int_t
fEventId2
;
106
107
108
static
const
Int_t
fgkHeaderLength
;
109
static
const
UInt_t
fgkDefaultDataKey
;
110
static
const
UInt_t
fgkDdlDataKey
;
111
112
TClonesArray*
fDspHeaderArray
;
113
114
ClassDef(
AliMUONBlockHeader
,3)
// MUON block header for Tracker event
115
};
116
#endif
AliMUONBlockHeader::GetDspHeaderEntries
Int_t GetDspHeaderEntries() const
get entries
Definition:
AliMUONBlockHeader.h:83
AliMUONBlockHeader::GetDspId
Int_t GetDspId() const
Return Dsp id.
Definition:
AliMUONBlockHeader.h:39
AliMUONBlockHeader::GetDdlDataKey
UInt_t GetDdlDataKey() const
Return data key end word for CRT header.
Definition:
AliMUONBlockHeader.h:54
AliMUONBlockHeader::fDataKey
Int_t fDataKey
Data key word for CRT header.
Definition:
AliMUONBlockHeader.h:98
AliMUONBlockHeader::GetEventId2
Int_t GetEventId2() const
Return Event Id in orbit number.
Definition:
AliMUONBlockHeader.h:47
AliMUONBlockHeader::SetEventId2
void SetEventId2(Int_t e)
Set Event Id in orbit number.
Definition:
AliMUONBlockHeader.h:71
AliMUONBlockHeader::AliMUONBlockHeader
AliMUONBlockHeader()
Definition:
AliMUONBlockHeader.cxx:64
AliMUONDspHeader
MUON DSP header for tracker event.
Definition:
AliMUONDspHeader.h:19
AliMUONBlockHeader::GetDataKey
Int_t GetDataKey() const
Return data key word for CRT header.
Definition:
AliMUONBlockHeader.h:33
AliMUONBlockHeader::fgkDdlDataKey
static const UInt_t fgkDdlDataKey
data key end word for CRT header
Definition:
AliMUONBlockHeader.h:110
AliMUONBlockHeader::fEventId2
Int_t fEventId2
Event Id in orbit number.
Definition:
AliMUONBlockHeader.h:105
AliMUONBlockHeader::GetLength
Int_t GetLength() const
Return length of raw data.
Definition:
AliMUONBlockHeader.h:37
AliMUONBlockHeader::fL0Trigger
Int_t fL0Trigger
L0 trigger word.
Definition:
AliMUONBlockHeader.h:102
AliMUONBlockHeader::GetMiniEventId
Int_t GetMiniEventId() const
Return Bunch Crossing for mini-event id (see TDR chapter 8)
Definition:
AliMUONBlockHeader.h:43
AliMUONBlockHeader::GetHeader
Int_t * GetHeader()
Return header.
Definition:
AliMUONBlockHeader.h:75
AliMUONBlockHeader::fDspHeaderArray
TClonesArray * fDspHeaderArray
array of block header
Definition:
AliMUONBlockHeader.h:112
AliMUONBlockHeader::GetDspHeaderEntry
AliMUONDspHeader * GetDspHeaderEntry(Int_t i) const
get entry
Definition:
AliMUONBlockHeader.h:86
AliMUONBlockHeader::Print
void Print(Option_t *) const
Definition:
AliMUONBlockHeader.cxx:167
AliMUONBlockHeader::SetDspId
void SetDspId(Int_t d)
Set Dsp id.
Definition:
AliMUONBlockHeader.h:63
AliMUONBlockHeader::fTotalLength
Int_t fTotalLength
total length of block structure (w/o padding word)
Definition:
AliMUONBlockHeader.h:99
AliMUONBlockHeader::fLength
Int_t fLength
length of raw data
Definition:
AliMUONBlockHeader.h:100
AliMUONBlockHeader::fgkDefaultDataKey
static const UInt_t fgkDefaultDataKey
default data key word for CRT header
Definition:
AliMUONBlockHeader.h:109
AliMUONBlockHeader::fEventId1
Int_t fEventId1
Event Id in bunch crossing.
Definition:
AliMUONBlockHeader.h:104
AliMUONBlockHeader::GetHeaderLength
Int_t GetHeaderLength() const
Return header length in word.
Definition:
AliMUONBlockHeader.h:50
AliMUONBlockHeader::SetMiniEventId
void SetMiniEventId(Int_t e)
Set Bunch Crossing for mini-event id (see TDR chapter 8)
Definition:
AliMUONBlockHeader.h:67
AliMUONBlockHeader::GetL0Trigger
Int_t GetL0Trigger() const
Return L0 trigger word.
Definition:
AliMUONBlockHeader.h:41
AliMUONBlockHeader::GetTotalLength
Int_t GetTotalLength() const
Return total length of block structure (w/o padding word)
Definition:
AliMUONBlockHeader.h:35
AliMUONBlockHeader::~AliMUONBlockHeader
virtual ~AliMUONBlockHeader()
Definition:
AliMUONBlockHeader.cxx:84
AliMUONBlockHeader::fgkHeaderLength
static const Int_t fgkHeaderLength
header length in word
Definition:
AliMUONBlockHeader.h:108
AliMUONBlockHeader::AddDspHeader
void AddDspHeader(const AliMUONDspHeader &dspHeader)
Definition:
AliMUONBlockHeader.cxx:146
AliMUONBlockHeader::SetTotalLength
void SetTotalLength(Int_t l)
Set total length of block structure (w/o padding word)
Definition:
AliMUONBlockHeader.h:59
AliMUONBlockHeader::SetDataKey
void SetDataKey(Int_t d)
Set data key word for CRT header.
Definition:
AliMUONBlockHeader.h:57
AliMUONBlockHeader
MUON block (Crocus CRT) header for tracker event.
Definition:
AliMUONBlockHeader.h:19
AliMUONBlockHeader::operator=
AliMUONBlockHeader & operator=(const AliMUONBlockHeader &event)
Definition:
AliMUONBlockHeader.cxx:119
AliMUONBlockHeader::fDspId
Int_t fDspId
Dsp id.
Definition:
AliMUONBlockHeader.h:101
AliMUONBlockHeader::SetEventId1
void SetEventId1(Int_t e)
Set Event Id in bunch crossing.
Definition:
AliMUONBlockHeader.h:69
AliMUONBlockHeader::fMiniEventId
Int_t fMiniEventId
Bunch Crossing for mini-event id (see TDR chapter 8)
Definition:
AliMUONBlockHeader.h:103
AliMUONBlockHeader::GetDefaultDataKey
UInt_t GetDefaultDataKey() const
Return default data key word for CRT header.
Definition:
AliMUONBlockHeader.h:52
AliMUONBlockHeader::SetL0Trigger
void SetL0Trigger(Int_t l)
Set L0 trigger word.
Definition:
AliMUONBlockHeader.h:65
AliMUONBlockHeader::GetDspHeaderArray
TClonesArray * GetDspHeaderArray() const
get TClonesArray
Definition:
AliMUONBlockHeader.h:80
AliMUONBlockHeader::SetLength
void SetLength(Int_t l)
Set length of raw data.
Definition:
AliMUONBlockHeader.h:61
AliMUONBlockHeader::Clear
void Clear(Option_t *opt)
Definition:
AliMUONBlockHeader.cxx:157
AliMUONBlockHeader::GetEventId1
Int_t GetEventId1() const
Return Event Id in bunch crossing.
Definition:
AliMUONBlockHeader.h:45
MUON
MUONraw
AliMUONBlockHeader.h
Generated on Wed Jul 1 2015 16:14:08 for AliRoot Core by
1.8.6